Re: [PATCH 2/2] regulator: of: add support for allowed modes configuration

2018-05-17 Thread Doug Anderson
Hi, On Fri, May 11, 2018 at 6:46 PM, David Collins wrote: > @@ -136,6 +136,33 @@ static void of_get_regulation_constraints(struct > device_node *np, > } > } > > + len = of_property_count_elems_of_size(np, "regulator-allowed-modes", > +

[PATCH 2/2] regulator: of: add support for allowed modes configuration

2018-05-11 Thread David Collins
Add support for configuring the machine constraints valid_modes_mask element based on a list of allowed modes specified via a device tree property. Signed-off-by: David Collins --- drivers/regulator/of_regulator.c | 29 - 1 file changed, 28 insertions(+), 1 deletion(-