dts: battery: Create bindings for common battery properties
Adds a devicetree for describing common battery characteristics used by multiple devices and subsystems. Signed-off-by: Ricardo Rivera-Matos <ricardo.rivera-matos@cirrus.com>
This commit is contained in:
parent
59bb1c523c
commit
5b1a7b0f2a
|
@ -0,0 +1,25 @@
|
|||
# Copyright 2023 Cirrus Logic, Inc.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: |
|
||||
Static Battery Characteristics
|
||||
|
||||
Properties are inherited from Linux. See
|
||||
linux/Documentation/devicetree/bindings/power/supply/battery.yaml
|
||||
|
||||
properties:
|
||||
precharge-current-microamp:
|
||||
type: int
|
||||
description: current for pre-charge phase
|
||||
|
||||
charge-term-current-microamp:
|
||||
type: int
|
||||
description: current for charge termination phase
|
||||
|
||||
constant-charge-current-max-microamp:
|
||||
type: int
|
||||
description: maximum constant input current
|
||||
|
||||
constant-charge-voltage-max-microvolt:
|
||||
type: int
|
||||
description: maximum constant input voltage
|
Loading…
Reference in New Issue