Skip to content

Commit e29e64f

Browse files
AngeloGioacchino Del Regnorobherring
authored andcommitted
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: 6385e21 ("regulator: Add bindings for MT6331 regulator") Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Acked-by: Rob Herring (Arm) <robh@kernel.org> Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
1 parent 41663b3 commit e29e64f

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

Documentation/devicetree/bindings/regulator/mediatek,mt6331-regulator.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,23 +26,23 @@ patternProperties:
2626

2727
unevaluatedProperties: false
2828

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

3333
properties:
3434
regulator-name:
35-
pattern: "^v(avdd32aud|auxa32)$"
35+
pattern: "^(avdd32_aud|vauxa32)$"
3636

3737
unevaluatedProperties: false
3838

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

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

4747
unevaluatedProperties: false
4848

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

5353
properties:
5454
regulator-name:
55-
pattern: "^vcam(a|af|d|io)$"
55+
pattern: "^vcam(a|_af|d|io)$"
5656

5757
unevaluatedProperties: false
5858

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

7676
properties:
7777
regulator-name:
78-
pattern: "^vgp[12]$"
78+
pattern: "^vgp[1234]$"
7979

8080
required:
8181
- regulator-name

0 commit comments

Comments
 (0)