Searched +full:rated +full:- +full:capacity +full:- +full:microamp +full:- +full:hours (Results 1 – 4 of 4) sorted by relevance
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/power/supply/ |
| D | maxim,ds2760.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 13 The ds2760 is a w1 slave device and must hence have its sub-node in 17 - $ref: power-supply.yaml# 23 maxim,pmod-enabled: 29 maxim,cache-time-ms: 35 rated-capacity-microamp-hours: 37 The rated capacity of the battery, in mAh. [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/ |
| D | maxim,ds2760.txt | 4 The ds2760 is a w1 slave device and must hence have its sub-node in DT 11 - compatible: must be "maxim,ds2760" 14 - power-supplies: Refers to one or more power supplies connected to 16 - maxim,pmod-enabled: This boolean property enables the DS2760 to enter 20 - maxim,cache-time-ms: Time im milliseconds to cache the data for. When 23 - rated-capacity-microamp-hours: 24 The rated capacity of the battery, in mAh. 26 non-volatile chip memory is used.
|
| /kernel/linux/linux-5.10/drivers/power/supply/ |
| D | ds2760_battery.c | 5 * 2004-2007 Matt Reimer 44 MODULE_PARM_DESC(rated_capacity, "rated battery capacity, 10*mAh or index"); 127 mutex_lock(&sl->master->bus_mutex); in w1_ds2760_io() 134 count = DS2760_DATA_SIZE - addr; in w1_ds2760_io() 138 w1_write_8(sl->master, W1_DS2760_READ_DATA); in w1_ds2760_io() 139 w1_write_8(sl->master, addr); in w1_ds2760_io() 140 count = w1_read_block(sl->master, buf, count); in w1_ds2760_io() 142 w1_write_8(sl->master, W1_DS2760_WRITE_DATA); in w1_ds2760_io() 143 w1_write_8(sl->master, addr); in w1_ds2760_io() 144 w1_write_block(sl->master, buf, count); in w1_ds2760_io() [all …]
|
| /kernel/linux/linux-6.6/drivers/power/supply/ |
| D | ds2760_battery.c | 5 * 2004-2007 Matt Reimer 44 MODULE_PARM_DESC(rated_capacity, "rated battery capacity, 10*mAh or index"); 127 mutex_lock(&sl->master->bus_mutex); in w1_ds2760_io() 134 count = DS2760_DATA_SIZE - addr; in w1_ds2760_io() 138 w1_write_8(sl->master, W1_DS2760_READ_DATA); in w1_ds2760_io() 139 w1_write_8(sl->master, addr); in w1_ds2760_io() 140 count = w1_read_block(sl->master, buf, count); in w1_ds2760_io() 142 w1_write_8(sl->master, W1_DS2760_WRITE_DATA); in w1_ds2760_io() 143 w1_write_8(sl->master, addr); in w1_ds2760_io() 144 w1_write_block(sl->master, buf, count); in w1_ds2760_io() [all …]
|