All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] regulator: 88pg86x: add DT bindings document
@ 2018-03-08 22:53 Alexander Monakov
  2018-03-08 22:53 ` [PATCH 2/2] regulator: 88pg86x: new i2c dual regulator chip Alexander Monakov
  2018-03-09 18:04   ` Mark Brown
  0 siblings, 2 replies; 6+ messages in thread
From: Alexander Monakov @ 2018-03-08 22:53 UTC (permalink / raw)
  To: linux-kernel
  Cc: Mark Brown, devicetree, Rob Herring, Mark Rutland, Alexander Monakov

The only device-specific node names are "buck1" and "buck2" for the two
regulators present on the device. Sleep mode GPIO and per-regulator GPIO
enable pins are not exposed (the driver does not support them either).

Signed-off-by: Alexander Monakov <amonakov@ispras.ru>
---
 .../devicetree/bindings/regulator/88pg86x.txt      | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/regulator/88pg86x.txt

diff --git a/Documentation/devicetree/bindings/regulator/88pg86x.txt b/Documentation/devicetree/bindings/regulator/88pg86x.txt
new file mode 100644
index 000000000000..13b7f49a2ea8
--- /dev/null
+++ b/Documentation/devicetree/bindings/regulator/88pg86x.txt
@@ -0,0 +1,22 @@
+Marvell 88PG867/88PG868 voltage regulators
+
+Required properties:
+- compatible: one of "marvell,88pg867", "marvell,88pg868";
+- reg: I2C slave address.
+
+Optional subnodes for regulators: "buck1", "buck2", using common regulator
+bindings given in <Documentation/devicetree/bindings/regulator/regulator.txt>.
+
+Example:
+
+	pg868@19 {
+		compatible = "marvell,88pg868";
+		reg = <0x19>;
+
+		vcpu: buck1 {
+			regulator-boot-on;
+			regulator-always-on;
+			regulator-min-microvolt = <1000000>;
+			regulator-max-microvolt = <1350000>;
+		};
+	};
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-03-09 18:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-08 22:53 [PATCH 1/2] regulator: 88pg86x: add DT bindings document Alexander Monakov
2018-03-08 22:53 ` [PATCH 2/2] regulator: 88pg86x: new i2c dual regulator chip Alexander Monakov
2018-03-09 18:04   ` Applied "regulator: 88pg86x: new i2c dual regulator chip" to the regulator tree Mark Brown
2018-03-09 18:04     ` Mark Brown
2018-03-09 18:04 ` Applied "regulator: 88pg86x: add DT bindings document" " Mark Brown
2018-03-09 18:04   ` Mark Brown

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.