regulator: fixed: add possibility to enable by clock
authorPhilippe Schenker <philippe.schenker@toradex.com>
Fri, 8 Apr 2022 08:07:10 +0000 (10:07 +0200)
committerStefano Babic <sbabic@denx.de>
Tue, 12 Apr 2022 17:10:44 +0000 (19:10 +0200)
commitf3b5100aff3a7edd53fd5d15bd6db92d294865e2
tree33a152e89d1b2dc0df15a4d6e6acc89e2f0af017
parent885dcc36afe80f5d0e56ee540787fee5102ac601
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 case of regulator-fixed where a clock has to
be used to switch the regulator on and off.

Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
drivers/power/regulator/fixed.c