Home
last modified time | relevance | path

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

/Linux-v5.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 …]
/Linux-v5.10/drivers/power/supply/
Dsc27xx_fuel_gauge.c1 // SPDX-License-Identifier: GPL-2.0
10 #include <linux/nvmem-consumer.h>
18 #define SC27XX_MODULE_EN0 0xc08
19 #define SC27XX_CLK_EN0 0xc18
24 #define SC27XX_FGU_START 0x0
25 #define SC27XX_FGU_CONFIG 0x4
26 #define SC27XX_FGU_ADC_CONFIG 0x8
27 #define SC27XX_FGU_STATUS 0xc
28 #define SC27XX_FGU_INT_EN 0x10
29 #define SC27XX_FGU_INT_CLR 0x14
[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 …]
/Linux-v5.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";
29 reg = <0x0 0x80000000 0 0x60000000>,
30 <0x1 0x80000000 0 0x60000000>;
34 stdout-path = "serial1:115200n8";
37 reserved-memory {
38 #address-cells = <2>;
39 #size-cells = <2>;
44 compatible = "simple-battery";
[all …]
/Linux-v5.10/include/linux/
Dpower_supply.h1 /* SPDX-License-Identifier: GPL-2.0-only */
29 * For systems where the charger determines the maximum battery capacity
35 POWER_SUPPLY_STATUS_UNKNOWN = 0,
44 POWER_SUPPLY_CHARGE_TYPE_UNKNOWN = 0,
55 POWER_SUPPLY_HEALTH_UNKNOWN = 0,
72 POWER_SUPPLY_TECHNOLOGY_UNKNOWN = 0,
82 POWER_SUPPLY_CAPACITY_LEVEL_UNKNOWN = 0,
91 POWER_SUPPLY_SCOPE_UNKNOWN = 0,
98 POWER_SUPPLY_PROP_STATUS = 0,
177 POWER_SUPPLY_TYPE_UNKNOWN = 0,
[all …]