]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
regulator: dt-bindings: mt6357: Drop fixed compatible requirement
authorNícolas F. R. A. Prado <nfraprado@collabora.com>
Wed, 14 May 2025 12:36:06 +0000 (08:36 -0400)
committerMark Brown <broonie@kernel.org>
Wed, 14 May 2025 12:53:50 +0000 (14:53 +0200)
commit9cfdd7752ba5f8cc9b8191e8c9aeeec246241fa4
tree1996f8d0f909690ff907e9fa6fa7be06f769b6c5
parentcad915e4515790d2e66525a86a166e7ce81e3055
regulator: dt-bindings: mt6357: Drop fixed compatible requirement

Some of the regulators on the MT6357 PMIC currently reference the
fixed-regulator dt-binding, which enforces the presence of a
regulator-fixed compatible. However since all regulators on the MT6357
PMIC are handled by a single mt6357-regulator driver, probed through
MFD, the compatibles don't serve any purpose. In fact they cause
failures in the DT kselftest since they aren't probed by the fixed
regulator driver as would be expected. Furthermore this is the only
dt-binding in this family like this: mt6359-regulator and
mt6358-regulator don't require those compatibles.

Commit d77e89b7b03f ("arm64: dts: mediatek: mt6357: Drop regulator-fixed
compatibles") removed the compatibles from Devicetree, but missed
updating the binding, which still requires them, introducing dt-binding
errors. Remove the compatible requirement by referencing the plain
regulator dt-binding instead to fix the dt-binding errors.

Fixes: d77e89b7b03f ("arm64: dts: mediatek: mt6357: Drop regulator-fixed compatibles")
Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
Link: https://patch.msgid.link/20250514-mt6357-regulator-fixed-compatibles-removal-bindings-v1-1-2421e9cc6cc7@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/regulator/mediatek,mt6357-regulator.yaml