]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: mt6397: Implement of_map_mode
authorAnand K Mistry <amistry@google.com>
Thu, 2 Jul 2020 06:23:19 +0000 (16:23 +1000)
committerMark Brown <broonie@kernel.org>
Thu, 2 Jul 2020 14:25:45 +0000 (15:25 +0100)
commitc54f11a220cfe765ac06de08bf997875503e2931
treea247ed978d28120b78e9fe97afdeb37ce24277d8
parent9079a5af8a49a4721eda836a0697460d8f27e529
regulator: mt6397: 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/20200702162231.v2.3.I7acfb591bfacf3b1b04a3d388385098bfcc9fecd@changeid
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/mt6397-regulator.c