summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/power/supply/cw2015_battery.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'dts/Bindings/power/supply/cw2015_battery.yaml')
-rw-r--r--dts/Bindings/power/supply/cw2015_battery.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/dts/Bindings/power/supply/cw2015_battery.yaml b/dts/Bindings/power/supply/cw2015_battery.yaml
index c73abb2ff5..2dda91587d 100644
--- a/dts/Bindings/power/supply/cw2015_battery.yaml
+++ b/dts/Bindings/power/supply/cw2015_battery.yaml
@@ -14,6 +14,9 @@ description: |
phandle in monitored-battery. If specified the driver uses the
charge-full-design-microamp-hours property of the battery.
+allOf:
+ - $ref: power-supply.yaml#
+
properties:
compatible:
const: cellwise,cw2015
@@ -37,9 +40,6 @@ properties:
minimum: 250
power-supplies:
- description:
- Specifies supplies used for charging the battery connected to this gauge
- $ref: /schemas/types.yaml#/definitions/phandle-array
minItems: 1
maxItems: 8 # Should be enough