Home
last modified time | relevance | path

Searched +full:precharge +full:- +full:upper +full:- +full:limit +full:- +full:microvolt (Results 1 – 4 of 4) 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 …]
Drohm,bd99954.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
11 - Markus Laine <markus.laine@fi.rohmeurope.com>
12 - Mikko Mutanen <mikko.mutanen@fi.rohmeurope.com>
15 The ROHM BD99954 is a Battery Management LSI for 1-4 cell Lithium-Ion
16 secondary battery intended to be used in space-constraint equipment such
18 provides a Dual-source Battery Charger, two port BC1.2 detection and a
32 # a) Trickle-charge with constant current (8).
[all …]
/Linux-v5.10/drivers/power/supply/
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 …]
Dbq24190_charger.c1 // SPDX-License-Identifier: GPL-2.0-only
21 #include <linux/extcon-provider.h>
34 #define BQ24190_REG_POC 0x01 /* Power-On Configuration */
58 #define BQ24190_REG_PCTCC 0x03 /* Pre-charge/Termination Current Cntl */
182 * The tables below provide a 2-way mapping for the value that goes in
183 * the register field and the real-world value that it represents.
185 * number at that index in the array is the real-world value that it
225 * 'val'. The index range returned is 0 to 'tbl_size' - 1. Assumes that
237 return i - 1; in bq24190_find_idx()
246 ret = i2c_smbus_read_byte_data(bdi->client, reg); in bq24190_read()
[all …]