devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mfd: max8925: update dt regulator binding doc
@ 2012-11-08  2:31 Qing Xu
  2012-11-09 11:41 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Qing Xu @ 2012-11-08  2:31 UTC (permalink / raw)
  To: qingx, lrg, broonie, sameo, grant.likely, rob.herring,
	haojian.zhuang, cxie4, linux-kernel, devicetree-discuss

From: Qing Xu <qingx@marvell.com>

remove linux specific references, enumerates all supported
regulators

Signed-off-by: Qing Xu <qingx@marvell.com>
---
 .../bindings/regulator/max8925-regulator.txt       |   51 ++++++++++++--------
 1 files changed, 31 insertions(+), 20 deletions(-)

diff --git a/Documentation/devicetree/bindings/regulator/max8925-regulator.txt b/Documentation/devicetree/bindings/regulator/max8925-regulator.txt
index 073b41d..0057695 100644
--- a/Documentation/devicetree/bindings/regulator/max8925-regulator.txt
+++ b/Documentation/devicetree/bindings/regulator/max8925-regulator.txt
@@ -1,29 +1,40 @@
 Max8925 Voltage regulators
 
-max8925 regulator device register is still handled by mfd_add_devices, not by
-of_xxx, so, it is not necessary to add compatible name. Also, those reg
-offset and id info is stored in mfd_cell(see max8925-core.c), as a result
-there is not private properties in dts.
-
-node's name should match with the definition in max8925_regulator_matches
-(see max8925-regulator.c)
-
+Required nodes:
+-nodes:
+  - SDV1 for SDV SDV1
+  - SDV2 for SDV SDV2
+  - SDV3 for SDV SDV3
+  - LDO1 for LDO LDO1
+  - LDO2 for LDO LDO2
+  - LDO3 for LDO LDO3
+  - LDO4 for LDO LDO4
+  - LDO5 for LDO LDO5
+  - LDO6 for LDO LDO6
+  - LDO7 for LDO LDO7
+  - LDO8 for LDO LDO8
+  - LDO9 for LDO LDO9
+  - LDO10 for LDO LDO10
+  - LDO11 for LDO LDO11
+  - LDO12 for LDO LDO12
+  - LDO13 for LDO LDO13
+  - LDO14 for LDO LDO14
+  - LDO15 for LDO LDO15
+  - LDO16 for LDO LDO16
+  - LDO17 for LDO LDO17
+  - LDO18 for LDO LDO18
+  - LDO19 for LDO LDO19
+  - LDO20 for LDO LDO20
 
 Optional properties:
 - Any optional property defined in bindings/regulator/regulator.txt
 
-
 Example:
 
+	SDV1 {
+		regulator-min-microvolt = <637500>;
+		regulator-max-microvolt = <1425000>;
+		regulator-boot-on;
+		regulator-always-on;
+	};
 
-	regulators {
-		SDV1 {
-			regulator-min-microvolt = <637500>;
-			regulator-max-microvolt = <1425000>;
-			regulator-boot-on;
-			regulator-always-on;
-		};
-
-		...
-		...
-	}
-- 
1.7.0.4

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

* Re: [PATCH] mfd: max8925: update dt regulator binding doc
  2012-11-08  2:31 [PATCH] mfd: max8925: update dt regulator binding doc Qing Xu
@ 2012-11-09 11:41 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2012-11-09 11:41 UTC (permalink / raw)
  To: Qing Xu
  Cc: lrg, sameo, grant.likely, rob.herring, haojian.zhuang, cxie4,
	linux-kernel, devicetree-discuss

[-- Attachment #1: Type: text/plain, Size: 226 bytes --]

On Thu, Nov 08, 2012 at 10:31:32AM +0800, Qing Xu wrote:

> remove linux specific references, enumerates all supported
> regulators

Applied.  As I said the other day please do use subject lines
appropriate for the subsystem.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

end of thread, other threads:[~2012-11-09 11:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-08  2:31 [PATCH] mfd: max8925: update dt regulator binding doc Qing Xu
2012-11-09 11:41 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).