]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: of: add support for allowed modes configuration
authorDavid Collins <collinsd@codeaurora.org>
Sat, 12 May 2018 01:46:47 +0000 (18:46 -0700)
committerMark Brown <broonie@kernel.org>
Thu, 17 May 2018 05:11:19 +0000 (14:11 +0900)
commitc63ce77e2754234c6a7301a2af6fac31ede1bb4c
tree3c24811386ee5b8fd3a7b13310d4a1ad4f6bdc1c
parentbbc42ade9417c4a80024ed8d9367d1bb7986a58c
regulator: of: add support for allowed modes configuration

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 <collinsd@codeaurora.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/of_regulator.c