Home
last modified time | relevance | path

Searched +full:ibatcomp +full:- +full:micro +full:- +full:ohms (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-6.6/Documentation/devicetree/bindings/power/supply/
Dbq25890.yaml1 # SPDX-License-Identifier: GPL-2.0
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Bq25890, bq25892, bq25895 and bq25896 Li-Ion Charger
11 - Sebastian Reichel <sre@kernel.org>
14 - $ref: power-supply.yaml#
19 - enum:
20 - ti,bq25890
21 - items:
22 - enum:
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/
Dbq25890.txt1 Binding for TI bq25890 Li-Ion Charger
7 - compatible: Should contain one of the following:
12 - reg: integer, i2c address of the device.
13 - interrupts: interrupt line;
14 - ti,battery-regulation-voltage: integer, maximum charging voltage (in uV);
15 - ti,charge-current: integer, maximum charging current (in uA);
16 - ti,termination-current: integer, charge will be terminated when current in
17 constant-voltage phase drops below this value (in uA);
18 - ti,precharge-current: integer, maximum charge current during precharge
20 - ti,minimum-sys-voltage: integer, when battery is charging and it is below
[all …]
/kernel/linux/linux-5.10/drivers/power/supply/
Dbq25890_charger.c1 // SPDX-License-Identifier: GPL-2.0-or-later
251 * Most of the val -> idx conversions can be computed, given the minimum,
320 ret = regmap_field_read(bq->rmap_fields[field_id], &val); in bq25890_field_read()
330 return regmap_field_write(bq->rmap_fields[field_id], val); in bq25890_field_write()
347 rtbl_size = (rtbl->max - rtbl->min) / rtbl->step + 1; in bq25890_find_idx()
350 idx < rtbl_size && (idx * rtbl->step + rtbl->min <= value); in bq25890_find_idx()
355 return idx - 1; in bq25890_find_idx()
369 return (rtbl->min + idx * rtbl->step); in bq25890_find_val()
409 mutex_lock(&bq->lock); in bq25890_power_supply_get_property()
412 state = bq->state; in bq25890_power_supply_get_property()
[all …]
/kernel/linux/linux-6.6/drivers/power/supply/
Dbq25890_charger.c1 // SPDX-License-Identifier: GPL-2.0-or-later
113 char name[28]; /* "bq25890-charger-%d" */
272 * Most of the val -> idx conversions can be computed, given the minimum,
322 0, -10, -20, -30, -40, -60, -70, -80,
323 -90, -10, -120, -140, -150, -170, -190, -210,
367 ret = regmap_field_read(bq->rmap_fields[field_id], &val); in bq25890_field_read()
377 return regmap_field_write(bq->rmap_fields[field_id], val); in bq25890_field_write()
394 rtbl_size = (rtbl->max - rtbl->min) / rtbl->step + 1; in bq25890_find_idx()
397 idx < rtbl_size && (idx * rtbl->step + rtbl->min <= value); in bq25890_find_idx()
402 return idx - 1; in bq25890_find_idx()
[all …]