Home
last modified time | relevance | path

Searched +full:ab8500 +full:- +full:chargalg (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/Documentation/devicetree/bindings/power/supply/
Dstericsson,ab8500-chargalg.yaml1 # SPDX-License-Identifier: GPL-2.0
4 ---
5 $id: http://devicetree.org/schemas/power/supply/stericsson,ab8500-chargalg.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: AB8500 Charging Algorithm
11 - Sebastian Reichel <sre@kernel.org>
14 - $ref: power-supply.yaml#
18 const: stericsson,ab8500-chargalg
20 monitored-battery:
29 - compatible
[all …]
/linux-6.12.1/drivers/power/supply/
Dab8500_chargalg.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) ST-Ericsson SA 2012
6 * Charging algorithm driver for AB8500
31 #include <linux/mfd/abx500/ab8500.h>
34 #include "ab8500-bm.h"
35 #include "ab8500-chargalg.h"
40 /* End-of-charge criteria counter */
169 * struct ab8500_charge_curr_maximization - Charger maximization parameters
197 * struct ab8500_chargalg - ab8500 Charging algorithm device information
200 * @eoc_cnt: counter used to determine end-of_charge
[all …]
Dab8500_charger.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) ST-Ericsson SA 2012
5 * Charger driver for AB8500
30 #include <linux/mfd/abx500/ab8500.h>
36 #include "ab8500-bm.h"
37 #include "ab8500-chargalg.h"
94 /* Lowest charger voltage is 3.39V -> 0x4E */
112 /* UsbLineStatus register - usb types */
148 /* VBUS input current limits supported in AB8500 in uA */
174 * struct ab8500_charger_interrupts - ab8500 interrupts
[all …]
/linux-6.12.1/arch/arm/boot/dts/st/
Dste-ab8505.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
6 #include <dt-bindings/clock/ste-ab8500.h>
10 iio-hwmon {
11 compatible = "iio-hwmon";
12 io-channels = <&gpadc 0x02>, /* Battery temperature */
24 interrupt-parent = <&intc>;
26 interrupt-controller;
27 #interrupt-cells = <2>;
28 #address-cells = <1>;
29 #size-cells = <0>;
[all …]
Dste-ab8500.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
6 #include <dt-bindings/clock/ste-ab8500.h>
10 iio-hwmon {
11 compatible = "iio-hwmon";
12 io-channels = <&gpadc 0x02>, /* Battery temperature */
25 ab8500 {
26 compatible = "stericsson,ab8500";
27 interrupt-parent = <&intc>;
29 interrupt-controller;
30 #interrupt-cells = <2>;
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/mfd/
Dstericsson,ab8500.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/mfd/stericsson,ab8500.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: ST-Ericsson Analog Baseband AB8500 and AB8505
10 - Linus Walleij <linus.walleij@linaro.org>
13 the AB8500 "Analog Baseband" is the mixed-signals integrated circuit
14 handling power management (regulators), analog-to-digital conversion
15 (ADC), battery charging, fuel gauging of the battery, battery-backed
16 RTC, PWM, USB PHY and some GPIO lines in the ST-Ericsson U8500 platforms
[all …]
/linux-6.12.1/drivers/mfd/
Dab8500-core.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) ST-Ericsson SA 2010
21 #include <linux/mfd/abx500/ab8500.h>
22 #include <linux/mfd/dbx500-prcmu.h>
129 * defined in linux/mfd/ab8500.h
134 /* AB8500 support */
146 0, 1, 2, 3, 4, -1, -1, -1, -1, 11, 18, 19, 20, 21, 12, 13, 24, 5, 22,
151 [AB8500_VERSION_AB8500] = "AB8500",
157 static int ab8500_prcmu_write(struct ab8500 *ab8500, u16 addr, u8 data) in ab8500_prcmu_write() argument
163 dev_err(ab8500->dev, "prcmu i2c error %d\n", ret); in ab8500_prcmu_write()
[all …]