Searched +full:rated +full:- +full:capacity +full:- +full:microamp +full:- +full:hours (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/Documentation/devicetree/bindings/power/supply/ |
H A 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 …]
|
/openbmc/linux/drivers/power/supply/ |
H A 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 …]
|