diff options
author | Markus Reichl <m.reichl@fivetechno.de> | 2016-11-18 10:55:04 +0100 |
---|---|---|
committer | Krzysztof Kozlowski <krzk@kernel.org> | 2016-11-18 14:04:45 +0200 |
commit | c9a865bd47150db0cd3d93e30744783e26c22f6c (patch) | |
tree | 81183303872493df59998e3678778c0e2f696866 /arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi | |
parent | 9adce7a44138e22c6d9169d7b0b239cd48a4f449 (diff) | |
download | lwn-c9a865bd47150db0cd3d93e30744783e26c22f6c.tar.gz lwn-c9a865bd47150db0cd3d93e30744783e26c22f6c.zip |
ARM: dts: exynos: Add ADCs on 4412 and 5422 based odroid boards.
Odroid-X, -X2, -XU3 and -XU4 have SOC-ADC routed to an external connector.
Enable the ADC for use as iio-device.
Signed-off-by: Markus Reichl <m.reichl@fivetechno.de>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi')
-rw-r--r-- | arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi b/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi index 246d298557f5..9e63328b961f 100644 --- a/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi +++ b/arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi @@ -147,6 +147,11 @@ }; }; +&adc { + vdd-supply = <&ldo4_reg>; + status = "okay"; +}; + &bus_wcore { devfreq-events = <&nocp_mem0_0>, <&nocp_mem0_1>, <&nocp_mem1_0>, <&nocp_mem1_1>; @@ -293,6 +298,12 @@ regulator-max-microvolt = <1800000>; }; + ldo4_reg: LDO4 { + regulator-name = "vdd_adc"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + ldo5_reg: LDO5 { regulator-name = "vdd_ldo5"; regulator-min-microvolt = <1800000>; |