mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: <cy_huang@richtek.com>
To: Guenter Roeck <linux@roeck-us.net>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Jonathan Corbet <corbet@lwn.net>
Cc: "Shuah Khan" <skhan@linuxfoundation.org>,
	"Randy Dunlap" <rdunlap@infradead.org>,
	"Alexis Czezar Torreno" <alexisczezar.torreno@analog.com>,
	"Sanman Pradhan" <psanman@juniper.net>,
	"Ashish Yadav" <ashish.yadav@infineon.com>,
	"Matti Vaittinen" <mazziesaccount@gmail.com>,
	"Colin Huang" <u8813345@gmail.com>,
	"Vincent Jardin" <vjardin@free.fr>,
	"Nuno Sá" <nuno.sa@analog.com>,
	"Abdurrahman Hussain" <abdurrahman@nexthop.ai>,
	"Ziming Zhu" <ziming.zhu@silergycorp.com>,
	"Carlos Jones Jr" <carlosjr.jones@analog.com>,
	"Wensheng Wang" <wenswang@yeah.net>,
	"Charles Hsu" <hsu.yungteng@gmail.com>,
	"Brian Chiang" <chiang.brian@inventec.com>,
	"ChiYuan Huang" <cy_huang@richtek.com>,
	oliver_tai@richtek.com, lucas_tsai@richtek.com,
	linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org,
	linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 1/2] dt-bindings: hwmon: pmbus/rtq2886b: Add Richtek RTQ2886B support
Date: Mon, 30 Nov 2026 11:01:58 +0800	[thread overview]
Message-ID: <6420e55349f8dfbc5d72408ec07bc58286fe3f10.1796005535.git.cy_huang@richtek.com> (raw)
In-Reply-To: <cover.1796005535.git.cy_huang@richtek.com>

From: ChiYuan Huang <cy_huang@richtek.com>

Add a Devicetree binding schema for the Richtek RTQ2886B PMBus
buck regulator.

The RTQ2880B and RTQ2882B are register-compatible derivatives of the
RTQ2886B and use "richtek,rtq2886b" as a fallback compatible string.

Signed-off-by: ChiYuan Huang <cy_huang@richtek.com>
---
 .../hwmon/pmbus/richtek,rtq2886b.yaml         | 60 +++++++++++++++++++
 1 file changed, 60 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/hwmon/pmbus/richtek,rtq2886b.yaml

diff --git a/Documentation/devicetree/bindings/hwmon/pmbus/richtek,rtq2886b.yaml b/Documentation/devicetree/bindings/hwmon/pmbus/richtek,rtq2886b.yaml
new file mode 100644
index 000000000000..ff6638ebbdbc
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/pmbus/richtek,rtq2886b.yaml
@@ -0,0 +1,60 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/hwmon/pmbus/richtek,rtq2886b.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Richtek RTQ2886B PMBus Buck Regulator
+
+maintainers:
+  - ChiYuan Huang <cy_huang@richtek.com>
+
+description: |
+  The RTQ2886B is a single-output synchronous buck regulator with a
+  PMBus interface.
+
+  The RTQ2880B and RTQ2882B are register-compatible derivatives of the
+  RTQ2886B and are supported through the same driver. The primary
+  difference among these devices is their maximum load current
+  capability and they shall use "richtek,rtq2886b" as a fallback
+  compatible string.
+
+allOf:
+  - $ref: /schemas/regulator/regulator.yaml#
+
+properties:
+  compatible:
+    oneOf:
+      - const: richtek,rtq2886b
+
+      - items:
+          - enum:
+              - richtek,rtq2880b
+              - richtek,rtq2882b
+          - const: richtek,rtq2886b
+
+  reg:
+    maxItems: 1
+
+required:
+  - compatible
+  - reg
+
+unevaluatedProperties: false
+
+examples:
+  - |
+    i2c {
+        #address-cells = <1>;
+        #size-cells = <0>;
+        regulator@5e {
+            compatible = "richtek,rtq2882b", "richtek,rtq2886b";
+            reg = <0x5e>;
+            regulator-name = "vcore";
+            regulator-min-microvolt = <300000>;
+            regulator-max-microvolt = <5500000>;
+            regulator-boot-on;
+        };
+    };
+...
-- 
2.43.0


  reply	other threads:[~2026-11-30  3:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-30  3:01 [PATCH 0/2] hwmon: pmbus: Add support for Richtek RTQ2886B cy_huang
2026-11-30  3:01 ` cy_huang [this message]
2026-11-30  3:01 ` [PATCH 2/2] hwmon: (pmbus/rtq2886b) Add driver " cy_huang

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=6420e55349f8dfbc5d72408ec07bc58286fe3f10.1796005535.git.cy_huang@richtek.com \
    --to=cy_huang@richtek.com \
    --cc=abdurrahman@nexthop.ai \
    --cc=alexisczezar.torreno@analog.com \
    --cc=ashish.yadav@infineon.com \
    --cc=carlosjr.jones@analog.com \
    --cc=chiang.brian@inventec.com \
    --cc=conor+dt@kernel.org \
    --cc=corbet@lwn.net \
    --cc=devicetree@vger.kernel.org \
    --cc=hsu.yungteng@gmail.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=lucas_tsai@richtek.com \
    --cc=mazziesaccount@gmail.com \
    --cc=nuno.sa@analog.com \
    --cc=oliver_tai@richtek.com \
    --cc=psanman@juniper.net \
    --cc=rdunlap@infradead.org \
    --cc=robh@kernel.org \
    --cc=skhan@linuxfoundation.org \
    --cc=u8813345@gmail.com \
    --cc=vjardin@free.fr \
    --cc=wenswang@yeah.net \
    --cc=ziming.zhu@silergycorp.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

all inboxes | Powered by JetHome®