[PATCH 1/5] dt-bindings: power: supply: add dual-cell for cw2015
Chris Morgan
macroalpha82 at gmail.com
Fri Jul 26 12:49:44 PDT 2024
From: Chris Morgan <macromorgan at hotmail.com>
According to the datasheet for the cw2015 the device supports dual-cell
configurations. Add a new device tree property for this condition so
that the voltage values reported to userspace are correct.
Signed-off-by: Chris Morgan <macromorgan at hotmail.com>
---
.../devicetree/bindings/power/supply/cw2015_battery.yaml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/Documentation/devicetree/bindings/power/supply/cw2015_battery.yaml b/Documentation/devicetree/bindings/power/supply/cw2015_battery.yaml
index dc697b6147b2..0e7866d42cca 100644
--- a/Documentation/devicetree/bindings/power/supply/cw2015_battery.yaml
+++ b/Documentation/devicetree/bindings/power/supply/cw2015_battery.yaml
@@ -34,6 +34,12 @@ properties:
minItems: 64
maxItems: 64
+ cellwise,dual-cell:
+ description: |
+ This property specifies if the battery is used in a dual-cell series
+ configuration so that the correct voltage is presented to userspace.
+ type: boolean
+
cellwise,monitor-interval-ms:
description:
Specifies the interval in milliseconds gauge values are polled at
--
2.34.1
More information about the Linux-rockchip
mailing list