diff options
author | NĂcolas F. R. A. Prado <[email protected]> | 2022-04-29 16:13:24 -0400 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-05-04 15:30:03 +0100 |
commit | 6d435a94ba5bb4f2ad381c0828fbae89c66b50fe (patch) | |
tree | 5548c3101071ddeab6e46d35224b420f7f2186a5 | |
parent | dfd2b37edf7ef469574ef7f36e3a1905ac9ead62 (diff) |
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]>
-rw-r--r-- | Documentation/devicetree/bindings/regulator/mt6315-regulator.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/regulator/mt6315-regulator.yaml b/Documentation/devicetree/bindings/regulator/mt6315-regulator.yaml index 61dd5af80db6..5d2d989de893 100644 --- a/Documentation/devicetree/bindings/regulator/mt6315-regulator.yaml +++ b/Documentation/devicetree/bindings/regulator/mt6315-regulator.yaml @@ -31,7 +31,7 @@ properties: $ref: "regulator.yaml#" properties: - regulator-name: + regulator-compatible: pattern: "^vbuck[1-4]$" additionalProperties: false |