ARM: dts: Switch max77686 regulators to GPIO control for exynos4412-trats2
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Tue, 3 Feb 2015 22:43:54 +0000 (07:43 +0900)
committerKukjin Kim <kgene@kernel.org>
Tue, 3 Feb 2015 22:43:54 +0000 (07:43 +0900)
commitfaf9a3eaa1226bea07c8637e993f063fb128b615
tree2c349a170c2ecd1e3d5050cf603b98509199ea46
parent4a235f6aa9d0ff6819201a39c334e4989b45b57b
ARM: dts: Switch max77686 regulators to GPIO control for exynos4412-trats2

Remove fixed regulators (duplicating what max77686 provides) and
add GPIO enable control to max77686 regulators.

This gives the system full control over those regulators. Previously
the state of such regulators was a mixture of what max77686 driver set
over I2C and what regulator-fixed set through GPIO.

Removal of 'regulator-always-on' from CAM_ISP_CORE_1.2V (buck9) allows
disabling it when it is not used. Previously this regulator was always
enabled because its enable state is a OR of:
 - ENB9 GPIO (turned always on by regulator-fixed),
 - BUCK9EN field in BUCK9CTRL register (off by max77686 through I2C).

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Kukjin Kim <kgene@kernel.org>
arch/arm/boot/dts/exynos4412-trats2.dts