Home
last modified time | relevance | path

Searched +full:ab8500 +full:- +full:fg (Results 1 – 13 of 13) sorted by relevance

/openbmc/linux/Documentation/devicetree/bindings/power/supply/
H A Dstericsson,ab8500-fg.yaml1 # SPDX-License-Identifier: GPL-2.0
4 ---
5 $id: http://devicetree.org/schemas/power/supply/stericsson,ab8500-fg.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: AB8500 Fuel Gauge
11 - Sebastian Reichel <sre@kernel.org>
14 - $ref: power-supply.yaml#
18 const: stericsson,ab8500-fg
20 monitored-battery:
28 line-impedance-micro-ohms:
[all …]
/openbmc/linux/drivers/power/supply/
H A 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 …]
H A 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
59 /* FG constants */
[all …]
H A Dab8500-bm.h1 /* SPDX-License-Identifier: GPL-2.0-only */
113 /* GPADC constants from AB8500 spec, UM0836 */
182 * voltage on ab8500/ab8505/ab9540.
267 * struct ab8500_fg_parameters - Fuel gauge algorithm parameters, in seconds
275 * @accu_charging: FG accumulation time while charging
276 * @accu_high_curr_ua: FG accumulation time in high current mode
317 * struct ab8500_charger_maximization - struct used by the board config.
331 * struct ab8500_bm_capacity_levels - ab8500 capacity level data
347 * struct ab8500_bm_charger_parameters - Charger specific parameters
361 * struct ab8500_bm_data - ab8500 battery management data
[all …]
H A 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 */ },
84 static const struct ab8500_fg_parameters fg = { variable
137 .fg_params = &fg,
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()
[all …]
H A 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 …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
104 tristate "Active-semi ACT8945A charger driver"
108 Active-semi ActivePath ACT8945A charger.
158 tristate "DS2782/DS2786 standalone gas-gauge"
162 gas-gauge.
199 tristate "Sharp SL-5500 (collie) battery"
203 SL-5500 (collie) models.
214 called ingenic-battery.
233 Say Y to include support for SBS battery driver for SBS-compliant
255 called sbs-manager.
[all …]
/openbmc/linux/arch/arm/boot/dts/st/
H A 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 …]
H A 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 …]
/openbmc/linux/Documentation/devicetree/bindings/mfd/
H A 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 …]
/openbmc/linux/drivers/mfd/
H A 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 …]
/openbmc/linux/
H A Dopengrok2.0.log1 2024-12-28 20:05:26.116-0600 FINEST t586 Statistics.logIt: Added: '/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/rtnetlink.sh' (ShAnalyzer) (took 79 ms)
2 2024-12-28 20:05:26.112-0600 FINER t592 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/qemu',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/qemu/chardev/spice.c'
3 2024-12-28 20:05:26.116-0600 FINEST t592 Statistics.logIt: Added: '/openbmc/qemu/chardev/spice.c' (CAnalyzer) (took 33 ms)
4 2024-1
[all...]
H A Dopengrok0.0.log1 2024-12-28 20:09:05.996-0600 FINEST t1171 PendingFileCompleter.doRename: Moved pending as file: '/opengrok/data/xref/openbmc/linux/drivers/staging/media/av7110/video-continue.rst.gz'
2 2024-12-28 20:09:05.942-0600 FINEST t1149 PendingFileCompleter.doRename: Moved pending as file: '/opengrok/data/xref/openbmc/u-boot/arch/sh/config.mk.gz'
3 2024-12-2
[all...]