diff mbox series

ARM: dts: exynos: Enable ADC on Arndale Octa

Message ID 20190223202932.630-1-krzk@kernel.org (mailing list archive)
State Mainlined
Commit 23c856787a80efd475c0d82c6e49a65c73561816
Headers show
Series ARM: dts: exynos: Enable ADC on Arndale Octa | expand

Commit Message

Krzysztof Kozlowski Feb. 23, 2019, 8:29 p.m. UTC
Arndale Octa (Exynos5420) has two ADC pins (AIN0 and AIN1) exposed on
CON6 header pins.  Add ADC node to DTS file to enable it.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 arch/arm/boot/dts/exynos5420-arndale-octa.dts | 5 +++++
 1 file changed, 5 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/exynos5420-arndale-octa.dts b/arch/arm/boot/dts/exynos5420-arndale-octa.dts
index 6b4bf5ee2e45..6f5e6e2fde22 100644
--- a/arch/arm/boot/dts/exynos5420-arndale-octa.dts
+++ b/arch/arm/boot/dts/exynos5420-arndale-octa.dts
@@ -51,6 +51,11 @@ 
 	};
 };
 
+&adc {
+	vdd-supply = <&ldo4_reg>;
+	status = "okay";
+};
+
 &cci {
 	status = "disabled";
 };