On Fri, Nov 18, 2011 at 04:47:20PM +0530, Rajendra Nayak wrote:
+ struct device_node *regnode = NULL;
+ char prop_name[32]; /* 32 is max size of property name */
There ought to be a #define for that though I can't see one right now -
this can't be the only place where we need to do
Device nodes in DT can associate themselves with one or more
regulators/supply by providing a list of phandles (to regulator nodes)
and corresponding supply names.
For Example:
devicenode: node@0x0 {
...
...
vmmc-supply = regulator1;