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)
commit8959e5324485ace9bedc33ce1e760b759d4dd2ac
treef36cc0f0d34646da882287c8e7386dd19363905b
parentd57d90f4443bd725b3facdc6130a1940af4560c4
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