devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 1/3] regulator: dt-bindings: fixed-regulator: Add under-voltage interrupt support
@ 2023-10-10  8:59 Oleksij Rempel
  2023-10-10  8:59 ` [PATCH v1 2/3] regulator: fixed: add support for under-voltage IRQ Oleksij Rempel
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: Oleksij Rempel @ 2023-10-10  8:59 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: Oleksij Rempel, kernel, linux-kernel, devicetree

Add under-voltage interrupt support. This can be used with simple
regulators having no other way to communicate an under-voltage event
except as by toggling some GPIO line.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>

diff --git a/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml b/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml
index ac0281b1cceb..0f8760ed2fb1 100644
--- a/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml
+++ b/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml
@@ -100,6 +100,14 @@ properties:
   vin-supply:
     description: Input supply phandle.

+  interrupts:
+    maxItems: 1
+    description:
+      Under-voltage interrupt
+
+  interrupt-names:
+    const: under-voltage
+
 required:
   - compatible
   - regulator-name
---
 .../devicetree/bindings/regulator/fixed-regulator.yaml    | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml b/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml
index ac0281b1cceb..0f8760ed2fb1 100644
--- a/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml
+++ b/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml
@@ -100,6 +100,14 @@ properties:
   vin-supply:
     description: Input supply phandle.
 
+  interrupts:
+    maxItems: 1
+    description:
+      Under-voltage interrupt
+
+  interrupt-names:
+    const: under-voltage
+
 required:
   - compatible
   - regulator-name
-- 
2.39.2


^ permalink raw reply related	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2023-10-25 17:47 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-10  8:59 [PATCH v1 1/3] regulator: dt-bindings: fixed-regulator: Add under-voltage interrupt support Oleksij Rempel
2023-10-10  8:59 ` [PATCH v1 2/3] regulator: fixed: add support for under-voltage IRQ Oleksij Rempel
2023-10-10  8:59 ` [PATCH v1 3/3] regulator: fixed: forward under-voltage events Oleksij Rempel
2023-10-10 12:19   ` Mark Brown
2023-10-10 12:55     ` Oleksij Rempel
2023-10-10 13:39       ` Oleksij Rempel
2023-10-10 17:19       ` Mark Brown
2023-10-11  7:59         ` Oleksij Rempel
2023-10-11 11:38           ` Mark Brown
2023-10-12  7:08             ` Matti Vaittinen
2023-10-12 11:13               ` Mark Brown
2023-10-21  0:26           ` Sebastian Reichel
2023-10-10 12:20 ` [PATCH v1 1/3] regulator: dt-bindings: fixed-regulator: Add under-voltage interrupt support Mark Brown
2023-10-10 18:13 ` Rob Herring
2023-10-25 17:47 ` (subset) " Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).