]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: rohm-regulator: add helper for restricted voltage setting
authorMatti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Thu, 18 Nov 2021 11:48:47 +0000 (13:48 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 18 Nov 2021 13:57:47 +0000 (13:57 +0000)
commit788c68a9f905487957d709aad87fec9b5f68d344
treefc1aade4d476db68db645d98c8bc252f25abdfa7
parent525e28ed1cdc70ab2b9c1fefa0e4cf1038196662
regulator: rohm-regulator: add helper for restricted voltage setting

Few ROHM PMICs have regulators where voltage setting can be done only
when regulator is disabled. Add helper for those PMICs.

Signed-off-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Link: https://lore.kernel.org/r/6f51871e9fea611d133b5dd2560f4a7ee1ede9cd.1637233864.git.matti.vaittinen@fi.rohmeurope.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/rohm-regulator.c
include/linux/mfd/rohm-generic.h