Searched +full:pm8916 +full:- +full:bms +full:- +full:vm (Results 1 – 5 of 5) sorted by relevance
/linux-6.14.4/Documentation/devicetree/bindings/power/supply/ |
D | qcom,pm8916-bms-vm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/supply/qcom,pm8916-bms-vm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm Voltage Mode BMS 10 - Nikita Travkin <[email protected]> 13 Voltage Mode BMS is a hardware block found in some Qualcomm PMICs 14 such as pm8916. This block performs battery voltage monitoring. 17 - $ref: power-supply.yaml# 21 const: qcom,pm8916-bms-vm [all …]
|
/linux-6.14.4/drivers/power/supply/ |
D | pm8916_bms_vm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 63 struct power_supply_battery_info *info = bat->info; in pm8916_bms_vm_battery_get_property() 70 if (supplied < 0 && supplied != -ENODEV) in pm8916_bms_vm_battery_get_property() 72 else if (supplied && supplied != -ENODEV) in pm8916_bms_vm_battery_get_property() 73 val->intval = POWER_SUPPLY_STATUS_CHARGING; in pm8916_bms_vm_battery_get_property() 75 val->intval = POWER_SUPPLY_STATUS_DISCHARGING; in pm8916_bms_vm_battery_get_property() 79 if (bat->vbat_now < info->voltage_min_design_uv) in pm8916_bms_vm_battery_get_property() 80 val->intval = POWER_SUPPLY_HEALTH_DEAD; in pm8916_bms_vm_battery_get_property() 81 else if (bat->vbat_now > info->voltage_max_design_uv) in pm8916_bms_vm_battery_get_property() 82 val->intval = POWER_SUPPLY_HEALTH_OVERVOLTAGE; in pm8916_bms_vm_battery_get_property() [all …]
|
D | Kconfig | 1 # 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. 208 tristate "Sharp SL-5500 (collie) battery" 212 SL-5500 (collie) models. 223 called ingenic-battery. 242 Say Y to include support for SBS battery driver for SBS-compliant 264 called sbs-manager. [all …]
|
/linux-6.14.4/arch/arm64/boot/dts/qcom/ |
D | pm8916.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/iio/qcom,spmi-vadc.h> 3 #include <dt-bindings/input/linux-event-codes.h> 4 #include <dt-bindings/interrupt-controller/irq.h> 5 #include <dt-bindings/spmi/spmi.h> 8 thermal-zones { 9 pm8916-thermal { 10 polling-delay-passive = <100>; 12 thermal-sensors = <&pm8916_temp>; 39 compatible = "qcom,pm8916", "qcom,spmi-pmic"; [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/mfd/ |
D | qcom,spmi-pmic.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/mfd/qcom,spmi-pmic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm SPMI PMICs multi-function device 13 16-bit SPMI peripheral address space into 256 smaller fixed-size regions, 256 bytes 14 each. A function can consume one or more of these fixed-size register regions. 24 - Stephen Boyd <[email protected]> 29 - pattern: '^pmic@.*$' 30 - pattern: '^pm(a|s)?[0-9]*@.*$' [all …]
|