Home
last modified time | relevance | path

Searched +full:ab8500 +full:- +full:charger (Results 1 – 19 of 19) sorted by relevance

/Linux-v6.1/Documentation/devicetree/bindings/power/supply/
Dstericsson,ab8500-charger.yaml1 # SPDX-License-Identifier: GPL-2.0
4 ---
5 $id: http://devicetree.org/schemas/power/supply/stericsson,ab8500-charger.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: AB8500 Charger
11 - Sebastian Reichel <sre@kernel.org>
14 - $ref: power-supply.yaml#
18 const: stericsson,ab8500-charger
20 monitored-battery:
28 vddadc-supply:
[all …]
/Linux-v6.1/drivers/power/supply/
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"
39 /* Charger constants */
94 /* Lowest charger voltage is 3.39V -> 0x4E */
107 /*External charger control*/
112 /* UsbLineStatus register - usb types */
[all …]
Dab8500-bm.h1 /* SPDX-License-Identifier: GPL-2.0-only */
24 * Charger / status register offfsets
35 * Charger / control register offfsets
52 * Charger / main control register offsets
61 * Charger / USB control register offsets
113 /* GPADC constants from AB8500 spec, UM0836 */
182 * voltage on ab8500/ab8505/ab9540.
267 * struct ab8500_fg_parameters - Fuel gauge algorithm parameters, in seconds
317 * struct ab8500_charger_maximization - struct used by the board config.
319 * @maxi_chg_curr_ua: Maximum charger current allowed in microampere
[all …]
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
170 * @original_iset_ua: the non optimized/maximised charger current
172 * @condition_cnt: number of iterations needed before a new charger current
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
38 backup batteries, and optional builtin charger.
60 which include a battery charger and a boost converter.
63 tristate "MAX8925 battery charger support"
66 Say Y here to enable support for the battery charger in the Maxim
70 tristate "WM831X backup battery charger support"
73 Say Y here to enable support for the backup battery charger
102 tristate "ADP5061 battery charger driver"
107 charger.
113 tristate "Active-semi ACT8945A charger driver"
[all …]
Dab8500_btemp.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) ST-Ericsson SA 2012
5 * Battery temperature driver for AB8500
28 #include <linux/mfd/abx500/ab8500.h>
31 #include <linux/fixp-arith.h>
33 #include "ab8500-bm.h"
35 #define BTEMP_THERMAL_LOW_LIMIT -10
51 * struct ab8500_btemp_interrupts - ab8500 interrupts
77 * struct ab8500_btemp - ab8500 BTEMP device information
79 * @node: List of AB8500 BTEMPs, hence prepared for reentrance
[all …]
Dab8500_fg.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) ST-Ericsson AB 2012
5 * Main and Back-up battery management driver.
7 * Note: Backup battery management is required in case of Li-Ion battery and not
34 #include <linux/mfd/abx500/ab8500.h>
37 #include <linux/fixp-arith.h>
39 #include "ab8500-bm.h"
49 /* Currents higher than -500mA (dissipating) will make compensation unstable */
50 #define IGNORE_VBAT_HIGHCUR -500000
63 * struct ab8500_fg_interrupts - ab8500 fg interrupts
[all …]
Dab8500_bmdata.c1 // SPDX-License-Identifier: GPL-2.0
6 #include "ab8500-bm.h"
57 { .temp = -10, .resistance = 158 /* 445 mOhm */ },
58 { .temp = -20, .resistance = 198 /* 595 mOhm */ },
120 /* This is referenced directly in the charger code */
144 struct device *dev = &psy->dev; in ab8500_bm_of_probe()
147 ret = power_supply_get_battery_info(psy, &bm->bi); in ab8500_bm_of_probe()
152 bi = bm->bi; in ab8500_bm_of_probe()
155 if (bi->charge_full_design_uah < 0) in ab8500_bm_of_probe()
157 bi->charge_full_design_uah = 612000; in ab8500_bm_of_probe()
[all …]
/Linux-v6.1/arch/arm/boot/dts/
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 */
13 <&gpadc 0x03>, /* Main charger voltage */
16 <&gpadc 0x0a>, /* Main charger current */
17 <&gpadc 0x0b>, /* USB charger current */
25 ab8500 {
26 compatible = "stericsson,ab8500";
[all …]
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 */
15 <&gpadc 0x0b>, /* Charger current */
24 interrupt-parent = <&intc>;
26 interrupt-controller;
27 #interrupt-cells = <2>;
28 #address-cells = <1>;
[all …]
/Linux-v6.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-v6.1/drivers/mfd/
Dab8500-sysctrl.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * AB8500 system control driver
5 * Copyright (C) ST-Ericsson SA 2010
18 #include <linux/mfd/abx500/ab8500.h>
19 #include <linux/mfd/abx500/ab8500-sysctrl.h>
46 * If we have a charger connected and we're powering off, in ab8500_power_off()
47 * reboot into charge-only mode. in ab8500_power_off()
74 pr_info("Charger '%s' is connected with known battery", in ab8500_power_off()
76 pr_info(" - Rebooting.\n"); in ab8500_power_off()
104 return -EPROBE_DEFER; in ab8500_sysctrl_read()
[all …]
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>
130 * defined in linux/mfd/ab8500.h
135 /* AB8500 support */
147 0, 1, 2, 3, 4, -1, -1, -1, -1, 11, 18, 19, 20, 21, 12, 13, 24, 5, 22,
152 [AB8500_VERSION_AB8500] = "AB8500",
158 static int ab8500_prcmu_write(struct ab8500 *ab8500, u16 addr, u8 data) in ab8500_prcmu_write() argument
164 dev_err(ab8500->dev, "prcmu i2c error %d\n", ret); in ab8500_prcmu_write()
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
44 tristate "Active-semi ACT8945A"
49 Support for the ACT8945A PMIC from Active-semi. This device
50 features three step-down DC/DC converters and four low-dropout
52 charger.
66 sun4i-gpadc-iio and the hwmon driver iio_hwmon.
69 called sun4i-gpadc.
88 tablets etc. It has 4 DC/DC step-down regulators, 3 DC/DC step-down
119 over at91-usart-serial driver and usart-spi-driver. Only one function
135 tristate "Atmel HLCDC (High-end LCD Controller)"
[all …]
/Linux-v6.1/drivers/iio/adc/
Dab8500-gpadc.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) ST-Ericsson SA 2010
11 * AB8500 General Purpose ADC driver. The AB8500 uses reference voltages:
20 * from other parts of the ASIC such as main charger voltage, main and battery
41 #include <linux/mfd/abx500/ab8500.h>
54 /* 0 = use VTVOUT, 1 = use VRTC as pull-up supply for battery temp NTC */
63 * the bit layout is the same for SW and HW conversion set-up
94 /* FIXME: Doesn't seem to work with pure AB8500 */
145 /* GPADC constants from AB8500 spec, UM0836 */
163 #define AB8500_ADC_CH_IBAT_MIN (-6000) /* mA range measured by ADC for ibat */
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
10 bool "ST-Ericsson AB8500 GPADC driver"
14 AB8500 Analog Baseband, mixed signal integrated circuit GPADC
16 internal voltages, convert accessory and battery, AC (charger, mains)
29 Say yes here to build support for Analog Devices AD7091R-5 ADC.
32 tristate "Analog Devices AD7124 and similar sigma-delta ADCs driver"
36 Say yes here to build support for Analog Devices AD7124-4 and AD7124-8
111 tristate "Analog Devices AD7476 1-channel ADCs driver and other similar devices from AD and TI"
137 ad7605-4, ad7606, ad7606-6, ad7606-4 analog to digital converters (ADC).
148 ad7605-4, ad7606, ad7606-6, ad7606-4 analog to digital converters (ADC).
[all …]
/Linux-v6.1/drivers/regulator/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
38 managed regulators and simple non-configurable regulators.
65 They provide two I2C-controlled DC/DC step-down converters with
85 tristate "Active-semi act8865 voltage regulator"
90 This driver controls a active-semi act8865 voltage output
94 tristate "Active-semi ACT8945A voltage regulator"
97 This driver controls a active-semi ACT8945A voltage regulator
98 via I2C bus. The ACT8945A features three step-down DC/DC converters
99 and four low-dropout linear regulators, along with a ActivePath
100 battery charger.
[all …]
/Linux-v6.1/drivers/rtc/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
44 This clock should be battery-backed, so that it reads the correct
45 time when the system boots from a power-off state. Otherwise, your
141 once-per-second update interrupts, used for synchronization.
159 will be called rtc-test.
173 will be called rtc-88pm860x.
183 will be called rtc-88pm80x.
187 tristate "Abracon AB-RTCMC-32.768kHz-B5ZE-S3"
190 AB-RTCMC-32.768kHz-B5ZE-S3 I2C RTC chip.
193 will be called rtc-ab-b5ze-s3.
[all …]
/Linux-v6.1/
DMAINTAINERS9 -------------------------
30 ``diff -u`` to make the patch easy to merge. Be prepared to get your
40 See Documentation/process/coding-style.rst for guidance here.
46 See Documentation/process/submitting-patches.rst for details.
57 include a Signed-off-by: line. The current version of this
59 Documentation/process/submitting-patches.rst.
70 that the bug would present a short-term risk to other users if it
76 Documentation/admin-guide/security-bugs.rst for details.
81 ---------------------------------------------------
97 W: *Web-page* with status/info
[all …]