]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
regulator: dt-bindings: Add regulator-power-budget-milliwatt property
authorKory Maincent <kory.maincent@bootlin.com>
Wed, 15 Jan 2025 14:41:58 +0000 (15:41 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 17 Jan 2025 17:48:55 +0000 (17:48 +0000)
Introduce a new property to describe the power budget of the regulator.
This property will allow power management support for regulator consumers
like PSE controllers, enabling them to make decisions based on the
available power capacity.

Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
Link: https://patch.msgid.link/20250115-feature_regulator_pw_budget-v2-2-0a44b949e6bc@bootlin.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/regulator/regulator.yaml

index 1ef380d1515ec7a5238d1fe541b204a96984c7b5..77573bcb6b791e4f90837d70309d1f32331f098a 100644 (file)
@@ -34,6 +34,9 @@ properties:
   regulator-input-current-limit-microamp:
     description: maximum input current regulator allows
 
+  regulator-power-budget-milliwatt:
+    description: power budget of the regulator
+
   regulator-always-on:
     description: boolean, regulator should never be disabled
     type: boolean