Searched +full:ab8500 +full:- +full:btemp (Results 1 – 9 of 9) sorted by relevance
/linux-6.12.1/drivers/power/supply/ |
D | ab8500_btemp.c | 1 // 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 …]
|
D | ab8500-bm.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 113 /* GPADC constants from AB8500 spec, UM0836 */ 157 /* BTEMP High thermal limits */ 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. 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
|
D | ab8500_charger.c | 1 // 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/Documentation/devicetree/bindings/power/supply/ |
D | stericsson,ab8500-btemp.yaml | 1 # SPDX-License-Identifier: GPL-2.0 4 --- 5 $id: http://devicetree.org/schemas/power/supply/stericsson,ab8500-btemp.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: AB8500 Battery Temperature Monitor 11 - Sebastian Reichel <sre@kernel.org> 14 - $ref: power-supply.yaml# 18 const: stericsson,ab8500-btemp 20 monitored-battery: 31 interrupt-names: [all …]
|
/linux-6.12.1/arch/arm/boot/dts/st/ |
D | ste-ab8505.dtsi | 1 // 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 …]
|
D | ste-ab8500.dtsi | 1 // 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/ |
D | stericsson,ab8500.yaml | 1 # 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/ |
D | ab8500-core.c | 1 // 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 …]
|
/linux-6.12.1/drivers/iio/adc/ |
D | ab8500-gpadc.c | 1 // 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: 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 */ 165 #define AB8500_ADC_CH_IBAT_MIN_V (-60) /* mV range measured by ADC for ibat */ [all …]
|