Commit d5c005ff authored by Johan Hovold's avatar Johan Hovold Committed by Lee Jones
Browse files

dt-bindings: mfd: hisilicon,hi6421-spmi-pmic: Fix regulator binding



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: 352335a6 ("staging: hikey9xx: hisilicon, hi6421-spmi-pmic.yaml: simplify props")
Signed-off-by: default avatarJohan Hovold <johan+linaro@kernel.org>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20231206111754.7410-3-johan+linaro@kernel.org


Signed-off-by: default avatarLee Jones <lee@kernel.org>
parent e23f1530
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -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>;