From: Oleksij Rempel <o.rempel@pengutronix.de>
To: Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>, Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>
Cc: Oleksij Rempel <o.rempel@pengutronix.de>,
kernel@pengutronix.de, linux-kernel@vger.kernel.org,
devicetree@vger.kernel.org
Subject: [PATCH v1 1/3] regulator: dt-bindings: fixed-regulator: Add under-voltage interrupt support
Date: Tue, 10 Oct 2023 10:59:04 +0200 [thread overview]
Message-ID: <20231010085906.3440452-1-o.rempel@pengutronix.de> (raw)
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
next reply other threads:[~2023-10-10 8:59 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-10 8:59 Oleksij Rempel [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231010085906.3440452-1-o.rempel@pengutronix.de \
--to=o.rempel@pengutronix.de \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=kernel@pengutronix.de \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).