All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jisheng Zhang <Jisheng.Zhang@synaptics.com>
To: Liam Girdwood <lgirdwood@gmail.com>,
	Mark Brown <broonie@kernel.org>, Rob Herring <robh+dt@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>
Subject: [PATCH v2 1/8] regulator: add binding for the SY8824C voltage regulator
Date: Wed, 28 Aug 2019 06:08:52 +0000	[thread overview]
Message-ID: <20190828135734.05aa51ec@xhacker.debian> (raw)
In-Reply-To: <20190828135646.52457ac3@xhacker.debian>

SY8824C is an I2C-controlled adjustable voltage regulator made by
Silergy Corp.

Add its device tree binding.

Signed-off-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com>
---
 .../devicetree/bindings/regulator/sy8824x.txt | 20 +++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/regulator/sy8824x.txt

diff --git a/Documentation/devicetree/bindings/regulator/sy8824x.txt b/Documentation/devicetree/bindings/regulator/sy8824x.txt
new file mode 100644
index 000000000000..ff8d1af04f7b
--- /dev/null
+++ b/Documentation/devicetree/bindings/regulator/sy8824x.txt
@@ -0,0 +1,20 @@
+SY8824C Voltage regulator
+
+Required properties:
+- compatible: Must be "silergy,sy8824c"
+- reg: I2C slave address
+
+Any property defined as part of the core regulator binding, defined in
+./regulator.txt, can also be used.
+
+Example:
+
+	vcore: regulator@00 {
+		compatible = "silergy,sy8824c";
+		reg = <0x66>;
+		regulator-name = "vcore";
+		regulator-min-microvolt = <800000>;
+		regulator-max-microvolt = <1150000>;
+		regulator-boot-on;
+		regulator-always-on;
+	};
-- 
2.23.0.rc1

  reply	other threads:[~2019-08-28  6:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-28  6:08 [PATCH v2 0/8] regulator: support Silergy SY8824C/SY8824E etc Jisheng Zhang
2019-08-28  6:08 ` Jisheng Zhang [this message]
2019-08-28  6:09 ` [PATCH v2 2/8] regulator: add support for SY8824C regulator Jisheng Zhang
2019-08-28  6:10 ` [PATCH v2 3/8] dt-bindings: sy8824x: Document SY8824E support Jisheng Zhang
2019-08-28  6:10 ` [PATCH v2 4/8] regulator: sy8824x: add " Jisheng Zhang
2019-08-28  6:11 ` [PATCH v2 5/8] dt-bindings: sy8824x: Document SY20276 support Jisheng Zhang
2019-08-28  6:12 ` [PATCH v2 6/8] regulator: sy8824x: add " Jisheng Zhang
2019-08-28  6:12 ` [PATCH v2 7/8] dt-bindings: sy8824x: Document SY20278 support Jisheng Zhang
2019-08-28  6:13 ` [PATCH v2 8/8] regulator: sy8824x: add " Jisheng Zhang
2019-08-28 10:08 ` [PATCH v2 0/8] regulator: support Silergy SY8824C/SY8824E etc 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=20190828135734.05aa51ec@xhacker.debian \
    --to=jisheng.zhang@synaptics.com \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.