]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: mt6315: Enforce regulator-compatible, not name
authorNícolas F. R. A. Prado <nfraprado@collabora.com>
Fri, 29 Apr 2022 20:13:24 +0000 (16:13 -0400)
committerMark Brown <broonie@kernel.org>
Wed, 4 May 2022 14:30:03 +0000 (15:30 +0100)
commit8c90625228fef67f043c2750007dd40e4ddec57e
tree5548c3101071ddeab6e46d35224b420f7f2186a5
parent5e1bfee51ad119a0dc00c51d5b3acf4839b18316
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 <nfraprado@collabora.com>
Link: https://lore.kernel.org/r/20220429201325.2205799-1-nfraprado@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/regulator/mt6315-regulator.yaml