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",
> +
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(-
2 matches
Mail list logo