Searched +full:precharge +full:- +full:upper +full:- +full:limit +full:- +full:microvolt (Results 1 – 5 of 5) sorted by relevance
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/ |
| D | battery.yaml | 1 # 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 …]
|
| D | rohm,bd99954.yaml | 1 # 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 …]
|
| /kernel/linux/linux-5.10/drivers/power/supply/ |
| D | power_supply_core.c | 1 // 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 …]
|
| D | bq24190_charger.c | 1 // 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 …]
|
| /kernel/linux/linux-4.19/drivers/power/supply/ |
| D | bq24190_charger.c | 36 #define BQ24190_REG_POC 0x01 /* Power-On Configuration */ 60 #define BQ24190_REG_PCTCC 0x03 /* Pre-charge/Termination Current Cntl */ 178 * The tables below provide a 2-way mapping for the value that goes in 179 * the register field and the real-world value that it represents. 181 * number at that index in the array is the real-world value that it 221 * 'val'. The index range returned is 0 to 'tbl_size' - 1. Assumes that 233 return i - 1; in bq24190_find_idx() 242 ret = i2c_smbus_read_byte_data(bdi->client, reg); in bq24190_read() 252 return i2c_smbus_write_byte_data(bdi->client, reg, data); in bq24190_write() 300 v = (v >= tbl_size) ? (tbl_size - 1) : v; in bq24190_get_field_val() [all …]
|