Thread (41 messages) 41 messages, 3 authors, 2025-02-05

[PATCH net-next v4 18/27] regulator: dt-bindings: Add regulator-power-budget property

flat view
STALE629d

From: Kory Maincent <kory.maincent@bootlin.com>
Date: 2025-01-03 21:14:24
Also in: linux-devicetree, linux-doc, lkml
Subsystem: open firmware and flattened device tree bindings, the rest, voltage and current regulator framework · Maintainers: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Linus Torvalds, Liam Girdwood, Mark Brown

From: Kory Maincent (Dent Project) <kory.maincent@bootlin.com>

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>
---

Changes in v3:
- Add type.
- Add unit in the name.

Changes in v2:
- new patch.
---
 Documentation/devicetree/bindings/regulator/regulator.yaml | 5 +++++
 1 file changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/regulator/regulator.yaml b/Documentation/devicetree/bindings/regulator/regulator.yaml
index 1ef380d1515e..c5a6b24ebe7b 100644
--- a/Documentation/devicetree/bindings/regulator/regulator.yaml
+++ b/Documentation/devicetree/bindings/regulator/regulator.yaml
@@ -34,6 +34,11 @@ properties:
   regulator-input-current-limit-microamp:
     description: maximum input current regulator allows
 
+  regulator-power-budget-miniwatt:
+    description: power budget of the regulator
+    $ref: /schemas/types.yaml#/definitions/uint32
+
+
   regulator-always-on:
     description: boolean, regulator should never be disabled
     type: boolean
-- 
2.34.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help