From: Vincent Whitchurch <vincent.whitchurch@axis.com>
To: <lgirdwood@gmail.com>, <broonie@kernel.org>,
<support.opensource@diasemi.com>
Cc: <kernel@axis.com>, <devicetree@vger.kernel.org>,
<linux-kernel@vger.kernel.org>, <robh+dt@kernel.org>,
Vincent Whitchurch <vincent.whitchurch@axis.com>
Subject: [PATCH v2 1/2] dt-bindings: regulator: Add DA9121
Date: Tue, 3 Nov 2020 11:00:20 +0100 [thread overview]
Message-ID: <20201103100021.19603-2-vincent.whitchurch@axis.com> (raw)
In-Reply-To: <20201103100021.19603-1-vincent.whitchurch@axis.com>
Add bindings for the Dialog Semiconductor DA9121 voltage regulator.
Signed-off-by: Vincent Whitchurch <vincent.whitchurch@axis.com>
---
.../bindings/regulator/dlg,da9121.yaml | 47 +++++++++++++++++++
1 file changed, 47 insertions(+)
create mode 100644 Documentation/devicetree/bindings/regulator/dlg,da9121.yaml
diff --git a/Documentation/devicetree/bindings/regulator/dlg,da9121.yaml b/Documentation/devicetree/bindings/regulator/dlg,da9121.yaml
new file mode 100644
index 000000000000..cde0d82dd201
--- /dev/null
+++ b/Documentation/devicetree/bindings/regulator/dlg,da9121.yaml
@@ -0,0 +1,47 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/regulator/dlg,da9121.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Dialog Semiconductor DA9121 voltage regulator
+
+maintainers:
+ - Vincent Whitchurch <vincent.whitchurch@axis.com>
+
+properties:
+ compatible:
+ const: dlg,da9121
+
+ reg:
+ maxItems: 1
+
+ buck1:
+ description:
+ Initial data for the Buck1 regulator.
+ $ref: "regulator.yaml#"
+ type: object
+
+unevaluatedProperties: false
+
+required:
+ - compatible
+ - reg
+
+examples:
+ - |
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ regulator@68 {
+ compatible = "dlg,da9121";
+ reg = <0x68>;
+
+ buck1 {
+ regulator-min-microvolt = <680000>;
+ regulator-max-microvolt = <820000>;
+ };
+ };
+ };
+
+...
--
2.28.0
next prev parent reply other threads:[~2020-11-03 10:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-03 10:00 [PATCH v2 0/2] DA9121 regulator support Vincent Whitchurch
2020-11-03 10:00 ` Vincent Whitchurch [this message]
2020-11-04 18:57 ` [PATCH v2 1/2] dt-bindings: regulator: Add DA9121 Rob Herring
2020-11-05 9:39 ` Vincent Whitchurch
2020-11-20 20:32 ` Rob Herring
2020-11-03 10:00 ` [PATCH v2 2/2] regulator: Add support for DA9121 regulator Vincent Whitchurch
2020-11-03 18:15 ` [PATCH v2 0/2] DA9121 regulator support 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=20201103100021.19603-2-vincent.whitchurch@axis.com \
--to=vincent.whitchurch@axis.com \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=kernel@axis.com \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=robh+dt@kernel.org \
--cc=support.opensource@diasemi.com \
/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).