]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: fixed: add possibility to enable by clock
authorPhilippe Schenker <philippe.schenker@toradex.com>
Tue, 10 Sep 2019 06:21:15 +0000 (06:21 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 10 Sep 2019 10:03:47 +0000 (11:03 +0100)
commitb114e09bff360e8ae1880cd40ae600ebe77c6704
treef36cc0f0d34646da882287c8e7386dd19363905b
parent4f5e9f7c3acf34c2fbd602f6128cd405f04dccc1
regulator: fixed: add possibility to enable by clock

This commit adds the possibility to choose the compatible
"regulator-fixed-clock" in devicetree.

This is a special regulator-fixed that has to have a clock, from which
the regulator gets switched on and off.

Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Link: https://lore.kernel.org/r/20190910062103.39641-2-philippe.schenker@toradex.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/fixed.c