Searched +full:ocv +full:- +full:capacity +full:- +full:table +full:- (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.10/Documentation/devicetree/bindings/power/supply/ |
D | battery.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 14 In smart batteries, these are typically stored in non-volatile memory 16 no appropriate non-volatile memory, or it is unprogrammed/incorrect. 27 Batteries must be referenced by chargers and/or fuel-gauges using a phandle. 28 The phandle's property should be named "monitored-battery". 32 const: simple-battery 34 over-voltage-threshold-microvolt: [all …]
|
D | sc27xx-fg.txt | 4 - compatible: Should be one of the following: 5 "sprd,sc2720-fgu", 6 "sprd,sc2721-fgu", 7 "sprd,sc2723-fgu", 8 "sprd,sc2730-fgu", 9 "sprd,sc2731-fgu". 10 - reg: The address offset of fuel gauge unit. 11 - battery-detect-gpios: GPIO for battery detection. 12 - io-channels: Specify the IIO ADC channels to get temperature and charge voltage. 13 - io-channel-names: Should be "bat-temp" or "charge-vol". [all …]
|
/Linux-v5.10/drivers/power/supply/ |
D | sc27xx_fuel_gauge.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <linux/nvmem-consumer.h> 82 * @total_cap: the total capacity of the battery in mAh 83 * @init_cap: the initial capacity of the battery in mAh 84 * @alarm_cap: the alarm capacity 89 * @table_len: the capacity table length 90 * @resist_table_len: the resistance table length 94 * @cap_table: capacity table with corresponding ocv 95 * @resist_table: resistance percent table with corresponding temperature 124 static int sc27xx_fgu_cap_to_clbcnt(struct sc27xx_fgu_data *data, int capacity); [all …]
|
D | power_supply_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 42 if (!supply->supplied_from && !supplier->supplied_to) in __power_supply_is_supplied_by() 46 if (supply->supplied_from) { in __power_supply_is_supplied_by() 47 if (!supplier->desc->name) in __power_supply_is_supplied_by() 49 for (i = 0; i < supply->num_supplies; i++) in __power_supply_is_supplied_by() 50 if (!strcmp(supplier->desc->name, supply->supplied_from[i])) in __power_supply_is_supplied_by() 53 if (!supply->desc->name) in __power_supply_is_supplied_by() 55 for (i = 0; i < supplier->num_supplicants; i++) in __power_supply_is_supplied_by() 56 if (!strcmp(supplier->supplied_to[i], supply->desc->name)) in __power_supply_is_supplied_by() 69 if (pst->desc->external_power_changed) in __power_supply_changed_work() [all …]
|
/Linux-v5.10/arch/arm64/boot/dts/sprd/ |
D | sp9860g-1h10.dts | 6 * SPDX-License-Identifier: (GPL-2.0+ OR MIT) 9 /dts-v1/; 17 compatible = "sprd,sp9860g-1h10", "sprd,sc9860"; 34 stdout-path = "serial1:115200n8"; 37 reserved-memory { 38 #address-cells = <2>; 39 #size-cells = <2>; 44 compatible = "simple-battery"; 45 charge-full-design-microamp-hours = <1900000>; 46 charge-term-current-microamp = <120000>; [all …]
|
/Linux-v5.10/include/linux/ |
D | power_supply.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 29 * For systems where the charger determines the maximum battery capacity 217 /* Run-time specific power supply configuration */ 334 int ocv; /* microVolts */ member 335 int capacity; /* percent */ member 350 * The default field value is -EINVAL. 355 int energy_full_design_uwh; /* microWatt-hours */ 356 int charge_full_design_uah; /* microAmp-hours */ 404 extern int power_supply_ocv2cap_simple(struct power_supply_battery_ocv_table *table, 405 int table_len, int ocv); [all …]
|