dt-bindings: mfd: hisilicon,hi6421-spmi-pmic: Fix regulator binding
authorJohan Hovold <johan+linaro@kernel.org>
Wed, 6 Dec 2023 11:17:52 +0000 (12:17 +0100)
committerLee Jones <lee@kernel.org>
Thu, 7 Dec 2023 17:01:38 +0000 (17:01 +0000)
The regulator child nodes do not have unit addresses so drop the
incorrect '#address-cells' and '#size-cells' properties from the parent
'regulators' node.

Fixes: 352335a6aced ("staging: hikey9xx: hisilicon, hi6421-spmi-pmic.yaml: simplify props")
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20231206111754.7410-3-johan+linaro@kernel.org
Signed-off-by: Lee Jones <lee@kernel.org>
Documentation/devicetree/bindings/mfd/hisilicon,hi6421-spmi-pmic.yaml

index e36e5ce58136b2ced1e830187e2a89e8198f8dc1..45cd6a613a91fd08bdb400d2b218a3f564f61e4e 100644 (file)
@@ -42,13 +42,6 @@ properties:
 
     additionalProperties: false
 
-    properties:
-      '#address-cells':
-        const: 1
-
-      '#size-cells':
-        const: 0
-
     patternProperties:
       '^ldo[0-9]+$':
         type: object
@@ -77,9 +70,6 @@ examples:
       interrupts = <0 0>;
 
       regulators {
-        #address-cells = <1>;
-        #size-cells = <0>;
-
         ldo3: ldo3 {
           regulator-name = "ldo3";
           regulator-min-microvolt = <1500000>;