提交 c9a865bd 编写于 作者: M Markus Reichl 提交者: Krzysztof Kozlowski

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: NMarkus Reichl <m.reichl@fivetechno.de>
Signed-off-by: NKrzysztof Kozlowski <krzk@kernel.org>
上级 9adce7a4
......@@ -64,6 +64,11 @@
};
};
&adc {
vdd-supply = <&ldo10_reg>;
status = "okay";
};
/* VDDQ for MSHC (eMMC card) */
&buck8_reg {
regulator-name = "BUCK8_VDDQ_MMC4_2.8V";
......
......@@ -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>;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册