提交 db9bf4d6 编写于 作者: N Naveen Krishna Chatradhi 提交者: Jonathan Cameron

ARM: dts: exynos: Add sysreg phandle to ADC node

Instead of using the ADC_PHY register base address, use sysreg phandle
in ADC node to control ADC_PHY configuration register.

This patch adds syscon node for Exynos3250, Exynos4x12, Exynos5250,
and Exynos5420, Exynos5800.
Signed-off-by: NNaveen Krishna Chatradhi <ch.naveen@samsung.com>
To: linux-samsung-soc@vger.kernel.org
Acked-by: NKukjin Kim <kgene.kim@samsung.com>
Signed-off-by: NJonathan Cameron <jic23@kernel.org>
上级 b626c8f0
...@@ -272,12 +272,13 @@ ...@@ -272,12 +272,13 @@
adc: adc@126C0000 { adc: adc@126C0000 {
compatible = "samsung,exynos3250-adc", compatible = "samsung,exynos3250-adc",
"samsung,exynos-adc-v2"; "samsung,exynos-adc-v2";
reg = <0x126C0000 0x100>, <0x10020718 0x4>; reg = <0x126C0000 0x100>;
interrupts = <0 137 0>; interrupts = <0 137 0>;
clock-names = "adc", "sclk"; clock-names = "adc", "sclk";
clocks = <&cmu CLK_TSADC>, <&cmu CLK_SCLK_TSADC>; clocks = <&cmu CLK_TSADC>, <&cmu CLK_SCLK_TSADC>;
#io-channel-cells = <1>; #io-channel-cells = <1>;
io-channel-ranges; io-channel-ranges;
samsung,syscon-phandle = <&pmu_system_controller>;
status = "disabled"; status = "disabled";
}; };
......
...@@ -108,13 +108,14 @@ ...@@ -108,13 +108,14 @@
adc: adc@126C0000 { adc: adc@126C0000 {
compatible = "samsung,exynos-adc-v1"; compatible = "samsung,exynos-adc-v1";
reg = <0x126C0000 0x100>, <0x10020718 0x4>; reg = <0x126C0000 0x100>;
interrupt-parent = <&combiner>; interrupt-parent = <&combiner>;
interrupts = <10 3>; interrupts = <10 3>;
clocks = <&clock CLK_TSADC>; clocks = <&clock CLK_TSADC>;
clock-names = "adc"; clock-names = "adc";
#io-channel-cells = <1>; #io-channel-cells = <1>;
io-channel-ranges; io-channel-ranges;
samsung,syscon-phandle = <&pmu_system_controller>;
status = "disabled"; status = "disabled";
}; };
......
...@@ -765,12 +765,13 @@ ...@@ -765,12 +765,13 @@
adc: adc@12D10000 { adc: adc@12D10000 {
compatible = "samsung,exynos-adc-v1"; compatible = "samsung,exynos-adc-v1";
reg = <0x12D10000 0x100>, <0x10040718 0x4>; reg = <0x12D10000 0x100>;
interrupts = <0 106 0>; interrupts = <0 106 0>;
clocks = <&clock CLK_ADC>; clocks = <&clock CLK_ADC>;
clock-names = "adc"; clock-names = "adc";
#io-channel-cells = <1>; #io-channel-cells = <1>;
io-channel-ranges; io-channel-ranges;
samsung,syscon-phandle = <&pmu_system_controller>;
status = "disabled"; status = "disabled";
}; };
......
...@@ -541,12 +541,13 @@ ...@@ -541,12 +541,13 @@
adc: adc@12D10000 { adc: adc@12D10000 {
compatible = "samsung,exynos-adc-v2"; compatible = "samsung,exynos-adc-v2";
reg = <0x12D10000 0x100>, <0x10040720 0x4>; reg = <0x12D10000 0x100>;
interrupts = <0 106 0>; interrupts = <0 106 0>;
clocks = <&clock CLK_TSADC>; clocks = <&clock CLK_TSADC>;
clock-names = "adc"; clock-names = "adc";
#io-channel-cells = <1>; #io-channel-cells = <1>;
io-channel-ranges; io-channel-ranges;
samsung,syscon-phandle = <&pmu_system_controller>;
status = "disabled"; status = "disabled";
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册