Skip to content

Commit 6d435a9

Browse files
nfrapradobroonie
authored andcommitted
regulator: mt6315: Enforce regulator-compatible, not name
The MT6315 PMIC dt-binding should enforce that one of the valid regulator-compatible is set in each regulator node. However it was mistakenly matching against regulator-name instead. Fix the typo. This not only fixes the compatible verification, but also lifts the regulator-name restriction, so that more meaningful names can be set for each platform. Signed-off-by: Nícolas F. R. A. Prado <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent dfd2b37 commit 6d435a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/devicetree/bindings/regulator/mt6315-regulator.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ properties:
3131
$ref: "regulator.yaml#"
3232

3333
properties:
34-
regulator-name:
34+
regulator-compatible:
3535
pattern: "^vbuck[1-4]$"
3636

3737
additionalProperties: false

0 commit comments

Comments
 (0)