Home
last modified time | relevance | path

Searched +full:ocv +full:- +full:capacity +full:- +full:table +full:- +full:2 (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/
Dbattery.yaml1 # 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 …]
Dsc27xx-fg.txt4 - 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 …]
/kernel/linux/linux-5.10/drivers/power/supply/
Dsc27xx_fuel_gauge.c1 // SPDX-License-Identifier: GPL-2.0
10 #include <linux/nvmem-consumer.h>
56 #define SC27XX_FGU_CLBCNT_DELTA_INT BIT(2)
67 #define SC27XX_FGU_SAMPLE_HZ 2
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
[all …]
Dpower_supply_core.c1 // 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 …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/sprd/
Dsp9860g-1h10.dts6 * 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 …]