1# 2# Copyright 2023 Google LLC 3# 4# SPDX-License-Identifier: Apache-2.0 5# 6 7description: | 8 9 Properties for fuel-gauges that may control battery cutoff, this is common in SBS-compliant or 10 similarly smart battery fuel gauges. 11 12 Note: These properties are to be used with meaningful defaults in fuel gauge ICs that can cut off 13 their associated battery from the system. See the default fuel gauge SBS Gauge compatible as an 14 example. 15 16properties: 17 battery-cutoff-support: 18 description: | 19 Helper prop that indicates whether this device can cutoff the battery; this is also often 20 referred to as ship or sleep mode. 21 type: boolean 22 battery-cutoff-reg-addr: 23 description: | 24 Address of register to receive cutoff payload for battery cutoff. 25 type: int 26 battery-cutoff-payload: 27 description: | 28 Payload to write to cutoff battery register. This must be array of maximum 2 integers. 29 type: array 30