Searched +full:battery +full:- +full:cutoff +full:- +full:reg +full:- +full:addr (Results 1 – 3 of 3) sorted by relevance
4 # SPDX-License-Identifier: Apache-2.09 Properties for fuel-gauges that may control battery cutoff, this is common in SBS-compliant or10 similarly smart battery fuel gauges.13 their associated battery from the system. See the default fuel gauge SBS Gauge compatible as an17 battery-cutoff-support:19 Helper prop that indicates whether this device can cutoff the battery; this is also often22 battery-cutoff-reg-addr:24 Address of register to receive cutoff payload for battery cutoff.26 battery-cutoff-payload:28 Payload to write to cutoff battery register. This must be array of maximum 2 integers.
4 # SPDX-License-Identifier: Apache-2.07 compatible: "sbs,default-sbs-gauge"9 include: ["sbs,sbs-gauge-new-api.yaml", "battery-cutoff.yaml"]12 Default generic smart battery fuel gauge driver. Includes support for battery cutoff if enabled.18 battery-cutoff-reg-addr:21 battery-cutoff-payload:
5 * SPDX-License-Identifier: Apache-2.07 * Emulator for SBS 1.1 compliant smart battery fuel gauge.33 /** Run-time data used by the emulator */40 /* Whether the battery cutoff or not */43 * Counts the number of times the cutoff payload has been sent to the designated48 /* Non-register values associated with the state of the battery */49 /* Battery terminal voltage */51 /* Battery terminal current - Pos is charging, Neg is discharging */59 uint16_t addr; member65 static void emul_sbs_gauge_maybe_do_battery_cutoff(const struct emul *target, int reg, int val) in emul_sbs_gauge_maybe_do_battery_cutoff() argument[all …]