Home
last modified time | relevance | path

Searched +full:avg +full:- +full:input +full:- +full:current +full:- +full:regulation (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/Documentation/devicetree/bindings/power/supply/
Drichtek,rt9455.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Reichel <sre@kernel.org>
13 - $ref: power-supply.yaml#
25 richtek,output-charge-current:
27 description: output current from the charger to the battery, in uA.
29 richtek,end-of-charge-percentage:
32 percent of the output charge current. When the current in constant-voltage phase drops
33 below output_charge_current x end-of-charge-percentage, charge is terminated.
[all …]
/Linux-v6.6/drivers/power/supply/
Drt9455_charger.c1 // SPDX-License-Identifier: GPL-2.0-or-later
21 #define RT9455_DRIVER_NAME "rt9455-charger"
165 #define GET_MASK(fid) (BIT(rt9455_reg_fields[fid].msb + 1) - \
169 * Each array initialised below shows the possible real-world values for a
171 * ascending order. The index of each real-world value represents the value
180 * When the charger is in charge mode, REG02[7:2] represent battery regulation
263 for (i = 0; i < tbl_size - 1; i++) in rt9455_find_idx()
267 return (tbl_size - 1); in rt9455_find_idx()
277 ret = regmap_field_read(info->regmap_fields[field], &v); in rt9455_get_field_val()
281 v = (v >= tbl_size) ? (tbl_size - 1) : v; in rt9455_get_field_val()
[all …]