Linux-Rockchip Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Markus Reichl <m.reichl@fivetechno.de>
To: linux-rockchip@lists.infradead.org,
	Liam Girdwood <lgirdwood@gmail.com>,
	Mark Brown <broonie@kernel.org>, Rob Herring <robh+dt@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>
Cc: Markus Reichl <m.reichl@fivetechno.de>,
	linux-kernel@vger.kernel.org, devicetree@vger.kernel.org
Subject: [PATCH 4/5] dt-bindings: regulator: add MPS mp8859 voltage regulator
Date: Sat,  4 Jan 2020 16:32:48 +0100	[thread overview]
Message-ID: <20200104153321.6584-5-m.reichl@fivetechno.de> (raw)
In-Reply-To: <20200104153321.6584-1-m.reichl@fivetechno.de>

The MP8859 from Monolithic Power Systems is a single output dc/dc converter
with voltage control over i2c.

Signed-off-by: Markus Reichl <m.reichl@fivetechno.de>
---
 .../devicetree/bindings/regulator/mp8859.txt  | 22 +++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/regulator/mp8859.txt

diff --git a/Documentation/devicetree/bindings/regulator/mp8859.txt b/Documentation/devicetree/bindings/regulator/mp8859.txt
new file mode 100644
index 000000000000..74ad69730989
--- /dev/null
+++ b/Documentation/devicetree/bindings/regulator/mp8859.txt
@@ -0,0 +1,22 @@
+Monolithic Power Systems MP8859 voltage regulator
+
+Required properties:
+- compatible: "mps,mp8859";
+- reg: I2C slave address.
+
+Optional subnode for regulator: "mp8859_dcdc", using common regulator
+bindings given in <Documentation/devicetree/bindings/regulator/regulator.txt>.
+
+Example:
+
+	mp8859: regulator@66 {
+		compatible = "mps,mp8859";
+		reg = <0x66>;
+		dc_12v: mp8859_dcdc {
+			regulator-name = "dc_12v";
+			regulator-min-microvolt = <12000000>;
+			regulator-max-microvolt = <12000000>;
+			regulator-boot-on;
+			regulator-always-on;
+		};
+	};
-- 
2.24.1

  parent reply	other threads:[~2020-01-04 15:32 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-04 15:32 [PATCH 0/5] regulator: mp8859: add driver for DC/DC converter used on rk3399-roc-pc board Markus Reichl
2020-01-04 15:32 ` [PATCH 1/5] regulator: mp8859: add driver Markus Reichl
2020-01-06 20:45   ` Mark Brown
     [not found]     ` <20200106204520.GD6448-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2020-01-06 20:52       ` Markus Reichl
2020-01-04 15:32 ` [PATCH 2/5] regulator: mp8859: add config option and build entry Markus Reichl
2020-01-04 15:32 ` [PATCH 3/5] dt-bindings: add vendor Monolithic Power Systems Markus Reichl
2020-01-04 15:32 ` Markus Reichl [this message]
2020-01-04 15:32 ` [PATCH 5/5] arm64: dts: rockchip: Enable mp8859 regulator on rk3399-roc-pc Markus Reichl
2020-01-04 21:23   ` Heiko Stuebner
2020-01-05  9:16     ` Markus Reichl
2020-01-04 21:19 ` [PATCH 0/5] regulator: mp8859: add driver for DC/DC converter used on rk3399-roc-pc board Heiko Stuebner
  -- strict thread matches above, loose matches on Subject: below --
2020-01-06 21:16 Markus Reichl
2020-01-06 21:16 ` [PATCH 4/5] dt-bindings: regulator: add MPS mp8859 voltage regulator Markus Reichl

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=20200104153321.6584-5-m.reichl@fivetechno.de \
    --to=m.reichl@fivetechno.de \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rockchip@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox