[PATCH v2 3/5] regulator: helper routine to extract regulator_init_data
Rajendra Nayak
rnayak at ti.com
Mon Oct 17 15:17:17 EST 2011
> I do not see that of_get_regulation_constraints() covers the following
> fields. We do not support them for DT probe?
I left these out as I wasn't sure how such (if at all) Linux specific
params should be passed through dt, and I am still not quite sure :(
>
> struct regulation_constraints {
>
> char *name;
>
> ...
>
> /* regulator suspend states for global PMIC STANDBY/HIBERNATE */
> struct regulator_state state_disk;
> struct regulator_state state_mem;
> struct regulator_state state_standby;
> suspend_state_t initial_state; /* suspend state to set at init */
>
> /* mode to set on startup */
> unsigned int initial_mode;
>
> /* constraint flags */
> ...
> unsigned apply_uV:1; /* apply uV constraint if min == max */
> };
>
More information about the devicetree-discuss
mailing list