lkml.org 
[lkml]   [2014]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 1/2] regulator: userspace-consumer: add DT binding details
Date
Add DT binding document and details DT binding for the driver
regulator/userspace-consumer.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
---
.../bindings/regulator/userspace-consumer.txt | 26 ++++++++++++++++++++++
1 file changed, 26 insertions(+)
create mode 100644 Documentation/devicetree/bindings/regulator/userspace-consumer.txt

diff --git a/Documentation/devicetree/bindings/regulator/userspace-consumer.txt b/Documentation/devicetree/bindings/regulator/userspace-consumer.txt
new file mode 100644
index 0000000..73c651c
--- /dev/null
+++ b/Documentation/devicetree/bindings/regulator/userspace-consumer.txt
@@ -0,0 +1,26 @@
+Userspace consumer regulators
+
+Required properties:
+- compatible : Must be "reg-userspace-consumer".
+- regulator-supplies: Supply names for this regulator. This can be
+ multiple strings.
+
+Optional properties:
+- regulator-name: Name of the consumer line.
+- regulator-boot-on: Enable regulator on booting.
+
+With all supply names, there should be <supply-name>-supply to pass regulators
+handle as defined in regulator.txt.
+
+Example:
+
+ userspace-consumer {
+ compatible = "reg-userspace-consumer";
+
+ regulator-name = "gps-consumer";
+ regulator-boot-on;
+ regulator-supplies = "vdd", "vcc", "vdd-3v3";
+ vdd-supply = <&reg1>;
+ vcc-supply = <&reg2>;
+ vdd-3v3-supply = <&reg3>;
+ };
--
1.8.1.5


\
 
 \ /
  Last update: 2014-07-30 18:21    [W:0.061 / U:0.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site