[PATCH v4 1/4] regulator: helper routine to extract regulator_init_data
From: Mark Brown <hidden>
Date: 2011-11-04 21:14:59
Also in:
linux-devicetree, linux-omap, lkml
From: Mark Brown <hidden>
Date: 2011-11-04 21:14:59
Also in:
linux-devicetree, linux-omap, lkml
On Fri, Nov 04, 2011 at 01:29:05PM -0700, Olof Johansson wrote:
On Thu, Oct 27, 2011 at 06:54:24PM +0530, Rajendra Nayak wrote:
quoted
@@ -0,0 +1,33 @@ +Voltage/Current Regulators
There should be a mandatory compatible field here, right? I.e. a topmost generic one, "regulator" or similar.
It's not really useful for the regulator subsystem to directly bind to the device as something needs to actually control it, the idea is that this binding is included by reference in the bindings for specific devices.
Also, lower-caps is common instead of V and A.
On the other hand the case is pretty important for SI units
quoted
+- <name>-supply: phandle to the parent supply/regulator node
Having a fixed name here instead of a free form string would probably be a good idea?
The name will be fixed by the individual device bindings, this is specifying the general form of a supply property. Each device binding will define the set of supplies that the device can use.