]> asedeno.scripts.mit.edu Git - linux.git/commit
regulator: pfuze100: add support to en-/disable switch regulators
authorMarco Felsch <m.felsch@pengutronix.de>
Mon, 23 Jul 2018 07:47:47 +0000 (09:47 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 23 Jul 2018 19:09:31 +0000 (20:09 +0100)
commit9d2fd4f0ddfbc4aa1135000df34caebc02793a26
tree34ea0b2dec2e4368ae863b1b1afb3be6f949b7d1
parent78170811a2048de8e77a27a053be8b3eb3d4e556
regulator: pfuze100: add support to en-/disable switch regulators

Add enable/disable support for switch regulators on pfuze100.

Based on commit 5fe156f1cab4 ("regulator: pfuze100: add enable/disable for
switch") which is reverted due to boot regressions by commit 464a5686e6c9
("regulator: Revert "regulator: pfuze100: add enable/disable for switch"").
Disabling the switch regulators will only be done if the user specifies
"fsl,pfuze-support-disable-sw" in its device tree to keep backward
compatibility with current dtb's [1].

[1] https://patchwork.kernel.org/patch/10490381/

Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/pfuze100-regulator.c