summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/power/supply/cw2015_battery.yaml
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2020-06-12 21:56:43 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2020-06-12 21:56:43 +0300
commit4071b856afc8a49ec41e98ff45151bb0800bc46d (patch)
treedc4a8789a6da704b565213fca3d36adf2e55da97 /Documentation/devicetree/bindings/power/supply/cw2015_battery.yaml
parent7de26c41c19fc7b2e078d31fd039e1a017064b89 (diff)
parent8440d4a75d90556cfb8fb3e244443f67381aafd6 (diff)
downloadlinux-4071b856afc8a49ec41e98ff45151bb0800bc46d.tar.xz
Merge tag 'devicetree-fixes-for-5.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux
Pull Devicetree fixes from Rob Herring: - Another round of whack-a-mole removing 'allOf', redundant cases of 'maxItems' and incorrect 'reg' sizes - Fix support for yaml.h in non-standard paths * tag 'devicetree-fixes-for-5.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux: dt-bindings: Remove redundant 'maxItems' dt-bindings: Fix more incorrect 'reg' property sizes in examples dt-bindings: phy: qcom: Fix missing 'ranges' and example addresses dt-bindings: Remove more cases of 'allOf' containing a '$ref' scripts/dtc: use pkg-config to include <yaml.h> in non-standard path
Diffstat (limited to 'Documentation/devicetree/bindings/power/supply/cw2015_battery.yaml')
-rw-r--r--Documentation/devicetree/bindings/power/supply/cw2015_battery.yaml15
1 files changed, 6 insertions, 9 deletions
diff --git a/Documentation/devicetree/bindings/power/supply/cw2015_battery.yaml b/Documentation/devicetree/bindings/power/supply/cw2015_battery.yaml
index 4a265d4234b9..2036977ecc2f 100644
--- a/Documentation/devicetree/bindings/power/supply/cw2015_battery.yaml
+++ b/Documentation/devicetree/bindings/power/supply/cw2015_battery.yaml
@@ -27,11 +27,9 @@ properties:
of this binary blob is kept secret by CellWise. The only way to obtain
it is to mail two batteries to a test facility of CellWise and receive
back a test report with the binary blob.
- allOf:
- - $ref: /schemas/types.yaml#definitions/uint8-array
- items:
- - minItems: 64
- maxItems: 64
+ $ref: /schemas/types.yaml#definitions/uint8-array
+ minItems: 64
+ maxItems: 64
cellwise,monitor-interval-ms:
description:
@@ -41,10 +39,9 @@ properties:
power-supplies:
description:
Specifies supplies used for charging the battery connected to this gauge
- allOf:
- - $ref: /schemas/types.yaml#/definitions/phandle-array
- - minItems: 1
- maxItems: 8 # Should be enough
+ $ref: /schemas/types.yaml#/definitions/phandle-array
+ minItems: 1
+ maxItems: 8 # Should be enough
monitored-battery:
description: