/linux/drivers/power/supply/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 104 tristate "Active-semi ACT8945A charger driver" 108 Active-semi ActivePath ACT8945A charger. 120 called chagall-battery. 165 Li+ batteries. 170 tristate "DS2782/DS2786 standalone gas-gauge" 174 gas-gaug [all...] |
H A D | lego_ev3_battery.c | 47 val->intval = batt->technology; in lego_ev3_battery_get_property() 51 ret = iio_read_channel_processed(batt->iio_v, &val->intval); in lego_ev3_battery_get_property() 55 val->intval *= 2000; in lego_ev3_battery_get_property() 56 val->intval += 50000; in lego_ev3_battery_get_property() 59 ret = iio_read_channel_processed(batt->iio_i, &val2); in lego_ev3_battery_get_property() 65 val->intval += val2; in lego_ev3_battery_get_property() 68 val->intval = batt->v_ma in lego_ev3_battery_get_property() [all...] |
H A D | qcom_smbb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * This driver is for the multi-block Switch-Mode Battery Charger and Boost 6 * integrated, single-cell lithium-ion battery charger. 8 * Sub-component [all...] |
H A D | power_supply_sysfs.c | 1 // SPDX-License-Identifier: GPL-2.0-only 120 [POWER_SUPPLY_TECHNOLOGY_LION] = "Li-ion", 121 [POWER_SUPPLY_TECHNOLOGY_LIPO] = "Li-poly", 144 [POWER_SUPPLY_CHARGE_BEHAVIOUR_INHIBIT_CHARGE] = "inhibit-charg [all...] |
H A D | max17040_battery.c | 1 // SPDX-License-Identifier: GPL-2.0 4 // fuel-gauge systems for lithium-ion (Li+) batteries 160 return regmap_write(chip->regmap, MAX17040_CMD, chip->data.reset_val); in max17040_reset() 165 level = 32 - leve in max17040_set_low_soc_alert() [all...] |
H A D | stc3117_fuel_gauge.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * stc3117_fuel_gauge.c - STMicroelectronics STC3117 Fuel Gauge Driver 11 #include <linux/devm-helpers.h> 68 #define APP_MIN_CURRENT (-5) 81 /* Default ocv curve Li-ion battery */ 90 u16 testword; /* 0- [all...] |
H A D | ltc4162-l-charger.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * LTC4162-L 35V/3.2A Multi-Cell Lithium-Ion Step-Dow [all...] |
H A D | surface_battery.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Battery driver for 7th-generation Microsoft Surface devices via Surface 6 * Copyright (C) 2019-2021 Maximilian Luz <luzmaximilian@gmail.com> 22 /* -- SAM interface. --- [all...] |
/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | richtek,rt9471.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schema [all...] |
H A D | richtek,rt9467.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schema [all...] |
H A D | lego,ev3-battery.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/supply/lego,ev3-battery.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - David Lechner <david@lechnology.com> 11 - Sebastia [all...] |
H A D | maxim,max8971.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schema [all...] |
H A D | bq256xx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schema [all...] |
H A D | bq2415x.yaml | 1 # SPDX-License-Identifier: GPL-2.0 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: TI bq2415x Li-Ion Charge [all...] |
H A D | bq24735.yaml | 1 # SPDX-License-Identifier: GPL-2.0 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: TI BQ24735 Li-Ion Batter [all...] |
H A D | bq25890.yaml | 1 # SPDX-License-Identifier: GPL-2.0 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Bq25890, bq25892, bq25895 and bq25896 Li-Ion Charge [all...] |
H A D | bq24257.yaml | 1 # SPDX-License-Identifier: GPL-2.0 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Bq24250, bq24251 and bq24257 Li-Ion Charge [all...] |
/linux/tools/testing/selftests/power_supply/ |
H A D | test_power_supply_properties.sh | 2 # SPDX-License-Identifier: GPL-2.0 11 DIR="$(dirname "$(readlink -f "$0")")" 36 if [ $# -eq 0 ]; then 47 if [ ! -d "$SYSFS_SUPPLIES"/"$DEVNAME" ]; then 77 test_sysfs_prop_optional_list technology "Unknown","NiMH","Li-ion","Li [all...] |
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | ricoh,rn5t618.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Andreas Kemnade <andreas@kemnade.info> 14 integrates 3 to 5 step-down DCDC converters, 7 to 10 low-dropou [all...] |
H A D | mediatek,mt6370.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schema [all...] |
/linux/drivers/i2c/busses/ |
H A D | i2c-cht-wc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Copyright (C) 2011 - 2014 Intel Corporation. All rights reserved. 62 mutex_lock(&adap->adap_lock); in cht_wc_i2c_adap_thread_handler() 65 ret = regmap_read(adap->regmap, CHT_WC_EXTCHGRIRQ, ®); in cht_wc_i2c_adap_thread_handler() 67 dev_err(&adap->adapter.dev, "Error reading extchgrirq reg\n"); in cht_wc_i2c_adap_thread_handler() 68 mutex_unlock(&adap->adap_loc in cht_wc_i2c_adap_thread_handler() [all...] |
/linux/arch/arm/mach-sa1100/ |
H A D | assabet.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/arch/arm/mach-sa1100/assabet.c 7 * This file contains all Assabet-specific tweaks. 14 #include <linux/gpio/gpio-reg.h> 18 #include <linux/platform_data/sa11x0-serial.h> 34 #include <asm/mach-types.h> 37 #include <asm/pgtable-hwde [all...] |
/linux/Documentation/wmi/devices/ |
H A D | dell-wmi-ddv.rst | 1 .. SPDX-License-Identifier: GPL-2.0-or-later 4 Dell DDV WMI interface driver (dell-wmi-ddv) 10 Many Dell notebooks made after ~2020 support a WMI-based interface for 15 so it was called `DDV`. Currently the ``dell-wmi-dd [all...] |
/linux/include/linux/ |
H A D | power_supply.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 233 /* Run-time specific power supply configuration */ 389 * struct power_supply_maintenance_charge_table - setting for maintenace charging 422 * +---- [all...] |
/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-power | 5 Contact: linux-pm@vger.kernel.org 14 Contact: linux-pm@vger.kernel.org 23 Contact: linux-pm@vger.kernel.org 32 Contact: linux-pm@vger.kernel.org 43 Contact: linux-pm@vger.kernel.org 66 Contact: linux-pm@vger.kernel.org 81 Contact: linux-pm@vger.kernel.org 94 read-only reporting, unless the 'online' state of the supply 106 Contact: linux-pm@vger.kernel.org 124 Contact: linux-p [all...] |