]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: regulator: mark regulator-suspend-microvolt as deprecated
authorPeng Fan <peng.fan@nxp.com>
Mon, 19 Jan 2026 03:48:49 +0000 (11:48 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 19 Jan 2026 14:42:46 +0000 (14:42 +0000)
The Documentation/devicetree/bindings/regulator/regulator.yaml
already states in its description that regulator-suspend-microvolt
is deprecated, but the schema did not formally mark it as such.

Add the `deprecated: true` annotation to regulator-suspend-microvolt
so that this is enforced at the schema level.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Link: https://patch.msgid.link/20260119-regulator-binding-v1-1-e55d33b4c3e3@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/regulator/regulator.yaml

index 77573bcb6b791e4f90837d70309d1f32331f098a..042e56396399f9aa92f72c891729837f92538fb5 100644 (file)
@@ -274,6 +274,7 @@ patternProperties:
           suspend. This property is now deprecated, instead setting voltage
           for suspend mode via the API which regulator driver provides is
           recommended.
+        deprecated: true
 
       regulator-changeable-in-suspend:
         description: whether the default voltage and the regulator on/off