/openbmc/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | stericsson,ab8500-charger.yaml | 1 # 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 …]
|
/openbmc/linux/drivers/power/supply/ |
H A 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" 39 /* Charger constants */ 94 /* Lowest charger voltage is 3.39V -> 0x4E */ 107 /*External charger control*/ 112 /* UsbLineStatus register - usb types */ [all …]
|
H A D | ab8500-bm.h | 1 /* 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 …]
|
H A D | ab8500_chargalg.c | 1 // 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 …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 51 which include a battery charger and a boost converter. 54 tristate "MAX8925 battery charger support" 57 Say Y here to enable support for the battery charger in the Maxim 61 tristate "WM831X backup battery charger support" 64 Say Y here to enable support for the backup battery charger 93 tristate "ADP5061 battery charger driver" 98 charger. 104 tristate "Active-semi ACT8945A charger driver" 108 Active-semi ActivePath ACT8945A charger. [all …]
|
H A 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 …]
|
H A D | ab8500_fg.c | 1 // 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 …]
|
H A D | ab8500_bmdata.c | 1 // 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 …]
|
/openbmc/linux/arch/arm/boot/dts/st/ |
H A 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 */ 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 …]
|
H A 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 */ 15 <&gpadc 0x0b>, /* Charger current */ 24 interrupt-parent = <&intc>; 26 interrupt-controller; 27 #interrupt-cells = <2>; 28 #address-cells = <1>; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A 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 …]
|
/openbmc/linux/drivers/mfd/ |
H A D | ab8500-sysctrl.c | 1 // 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 …]
|
H A 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 …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 45 tristate "Active-semi ACT8945A" 50 Support for the ACT8945A PMIC from Active-semi. This device 51 features three step-down DC/DC converters and four low-dropout 53 charger. 67 sun4i-gpadc-iio and the hwmon driver iio_hwmon. 70 called sun4i-gpadc. 101 tablets etc. It has 4 DC/DC step-down regulators, 3 DC/DC step-down 132 over at91-usart-serial driver and usart-spi-driver. Only one function 148 tristate "Atmel HLCDC (High-end LCD Controller)" [all …]
|
/openbmc/linux/drivers/iio/adc/ |
H A 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: 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 …]
|
H A D | Kconfig | 1 # 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) 33 Say yes here to build support for Analog Devices AD4130-8 SPI analog 44 Say yes here to build support for Analog Devices AD7091R-5 ADC. 47 tristate "Analog Devices AD7124 and similar sigma-delta ADCs driver" 51 Say yes here to build support for Analog Devices AD7124-4 and AD7124-8 126 tristate "Analog Devices AD7476 1-channel ADCs driver and other similar devices from AD and TI" 152 ad7605-4, ad7606, ad7606-6, ad7606-4 analog to digital converters (ADC). [all …]
|
/openbmc/linux/drivers/regulator/ |
H A D | Kconfig | 1 # 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 …]
|
/openbmc/linux/drivers/rtc/ |
H A D | Kconfig | 1 # 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 …]
|
/openbmc/linux/ |
H A D | MAINTAINERS | 5 --------------------------------------------------- 21 W: *Web-page* with status/info 23 B: URI for where to file *bugs*. A web-page with detailed bug 28 patches to the given subsystem. This is either an in-tree file, 29 or a URI. See Documentation/maintainer/maintainer-entry-profile.rst 46 N: [^a-z]tegra all files whose path contains tegra 64 ---------------- 83 3WARE SAS/SATA-RAID SCSI DRIVERS (3W-XXXX, 3W-9XXX, 3W-SAS) 85 L: linux-scsi@vger.kernel.org 88 F: drivers/scsi/3w-* [all …]
|
H A D | opengrok2.0.log | 1 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 D | opengrok1.0.log | 1 2024-12-28 20:07:11.902-0600 FINER t583 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/linux',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c' 2 2024-12-28 20:07:11.913-0600 FINEST t583 Statistics.logIt: Added: '/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c' (CAnalyzer) (took 116 ms) 3 2024-12-28 20:07:11.899-0600 FINER t593 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/linux',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/linux/tools/testing/selftests/powerpc/tm/tm-signa [all...] |
H A D | opengrok0.0.log | 1 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...] |