]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: da9211: Implement of_map_mode
authorAnand K Mistry <amistry@google.com>
Thu, 2 Jul 2020 03:15:24 +0000 (13:15 +1000)
committerMark Brown <broonie@kernel.org>
Thu, 2 Jul 2020 15:20:58 +0000 (16:20 +0100)
commitaa1061216ac6f24b748b9c80a9ba3e75806e3a43
treec4b21b51496e6e32aa2d596a8e87bb3761268e33
parentb70c655cdbaf84f296cf3df9e57ff957c1c50f7d
regulator: da9211: Implement of_map_mode

Implementing of_map_mode is necessary to be able to specify operating
modes in the devicetree using 'regulator-allowed-modes', and to change
regulator modes.

Signed-off-by: Anand K Mistry <amistry@google.com>
Link: https://lore.kernel.org/r/20200702131350.3.I6a0bc18fcdb2fe13e838a31e6d034d0e095368bc@changeid
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/da9211-regulator.c