[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241218-ncv6336-v1-7-b8d973747f7a@gmail.com>
Date: Wed, 18 Dec 2024 15:36:37 -0800
From: Fabien Parent <parent.f@...il.com>
To: Rob Herring <robh@...nel.org>, Saravana Kannan <saravanak@...gle.com>,
Miguel Ojeda <ojeda@...nel.org>, Alex Gaynor <alex.gaynor@...il.com>,
Boqun Feng <boqun.feng@...il.com>, Gary Guo <gary@...yguo.net>,
Björn Roy Baron <bjorn3_gh@...tonmail.com>,
Benno Lossin <benno.lossin@...ton.me>,
Andreas Hindborg <a.hindborg@...nel.org>, Alice Ryhl <aliceryhl@...gle.com>,
Trevor Gross <tmgross@...ch.edu>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"Rafael J. Wysocki" <rafael@...nel.org>,
Wolfram Sang <wsa+renesas@...g-engineering.com>,
Mark Brown <broonie@...nel.org>, Liam Girdwood <lgirdwood@...il.com>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, Bjorn Andersson <andersson@...nel.org>,
Konrad Dybcio <konradybcio@...nel.org>, Fabien Parent <parent.f@...il.com>
Cc: devicetree@...r.kernel.org, rust-for-linux@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-i2c@...r.kernel.org,
linux-arm-msm@...r.kernel.org, vinod.koul@...aro.org,
Fabien Parent <fabien.parent@...aro.org>
Subject: [PATCH 7/9] dt-bindings: regulator: add binding for ncv6336
regulator
From: Fabien Parent <fabien.parent@...aro.org>
Add binding documentation for the Onsemi NCV6336 regulator.
Signed-off-by: Fabien Parent <fabien.parent@...aro.org>
---
.../bindings/regulator/onnn,ncv6336.yaml | 54 ++++++++++++++++++++++
1 file changed, 54 insertions(+)
diff --git a/Documentation/devicetree/bindings/regulator/onnn,ncv6336.yaml b/Documentation/devicetree/bindings/regulator/onnn,ncv6336.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..c69d126cab33668febe18e77bb34bd4bef52c993
--- /dev/null
+++ b/Documentation/devicetree/bindings/regulator/onnn,ncv6336.yaml
@@ -0,0 +1,54 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/regulator/onnn,ncv6336.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Onsemi NCV6336 Buck converter
+
+maintainers:
+ - Fabien Parent <fabien.parent@...aro.org>
+
+description: |
+ The NCV6336 is an I2C programmable BUCK (step-down) converter.
+ It is designed for mobile power applications.
+
+properties:
+ $nodename:
+ pattern: "regulator@[0-9a-f]{2}"
+
+ compatible:
+ const: onnn,ncv6336
+
+ reg:
+ maxItems: 1
+
+ buck:
+ description: buck regulator description
+ type: object
+ $ref: regulator.yaml#
+ unevaluatedProperties: false
+
+required:
+ - compatible
+ - reg
+ - buck
+
+additionalProperties: false
+
+examples:
+ - |
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ regulator@1c {
+ compatible = "onnn,ncv6336";
+ reg = <0x1c>;
+
+ buck {
+ regulator-name = "ncv6336,buck";
+ };
+ };
+ };
+...
--
2.45.2
Powered by blists - more mailing lists