Commit e29e64fb authored by AngeloGioacchino Del Regno's avatar AngeloGioacchino Del Regno Committed by Rob Herring (Arm)
Browse files

dt-bindings: regulator: mediatek,mt6331: Fix various regulator names



This binding was never applied to anything because it misses the
compatible, hence any mistake in it got unnoticed.

Before adding the compatible to let it apply, fix the names and
the node names of various regulators.

Fixes: 6385e216 ("regulator: Add bindings for MT6331 regulator")
Signed-off-by: default avatarAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Acked-by: default avatarRob Herring (Arm) <robh@kernel.org>
Signed-off-by: default avatarRob Herring (Arm) <robh@kernel.org>
parent 41663b33
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -26,23 +26,23 @@ patternProperties:

    unevaluatedProperties: false

  "^ldo-v(avdd32aud|auxa32)$":
  "^ldo-(avdd32aud|vauxa32)$":
    type: object
    $ref: regulator.yaml#

    properties:
      regulator-name:
        pattern: "^v(avdd32aud|auxa32)$"
        pattern: "^(avdd32_aud|vauxa32)$"

    unevaluatedProperties: false

  "^ldo-v(dig18|emc33|ibr|mc|mch|mipi|rtc|sram|usb10)$":
  "^ldo-v(dig18|emc33|ibr|mc|mch|mipi|rtc|sim1|sim2|sram|usb10)$":
    type: object
    $ref: regulator.yaml#

    properties:
      regulator-name:
        pattern: "^v(dig18|emc33|ibr|mc|mch|mipi|rtc|sram|usb10)$"
        pattern: "^v(dig18|emc33|ibr|mc|mch|mipi|rtc|sim1|sim2|sram|usb)$"

    unevaluatedProperties: false

@@ -52,7 +52,7 @@ patternProperties:

    properties:
      regulator-name:
        pattern: "^vcam(a|af|d|io)$"
        pattern: "^vcam(a|_af|d|io)$"

    unevaluatedProperties: false

@@ -75,7 +75,7 @@ patternProperties:

    properties:
      regulator-name:
        pattern: "^vgp[12]$"
        pattern: "^vgp[1234]$"

    required:
      - regulator-name