Home
last modified time | relevance | path

Searched +full:factory +full:- +full:internal +full:- +full:resistance +full:- +full:micro +full:- +full:ohms (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/power/supply/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/power/supply/
H A Dpower_supply_core.c1 // SPDX-License-Identifier: GPL-2.0-only
49 if (!supply->supplied_from && !supplier->supplied_to) in __power_supply_is_supplied_by()
53 if (supply->supplied_from) { in __power_supply_is_supplied_by()
54 if (!supplier->desc->name) in __power_supply_is_supplied_by()
56 for (i = 0; i < supply->num_supplies; i++) in __power_supply_is_supplied_by()
57 if (!strcmp(supplier->desc->name, supply->supplied_from[i])) in __power_supply_is_supplied_by()
60 if (!supply->desc->name) in __power_supply_is_supplied_by()
62 for (i = 0; i < supplier->num_supplicants; i++) in __power_supply_is_supplied_by()
63 if (!strcmp(supplier->supplied_to[i], supply->desc->name)) in __power_supply_is_supplied_by()
76 if (pst->desc->external_power_changed) in __power_supply_changed_work()
[all …]