diff mbox

[v2] ARM: dts: exynos5420/5250: add ADC device tree node

Message ID 1377244952-25493-1-git-send-email-ch.naveen@samsung.com (mailing list archive)
State New, archived
Headers show

Commit Message

Naveen Krishna Chatradhi Aug. 23, 2013, 8:02 a.m. UTC
Add ADC device tree node for exynos5420 and exynos5250

Signed-off-by: Naveen Krishna Chatradhi <ch.naveen@samsung.com>
Signed-off-by: Doug Anderson <dianders@chromium.org>
---

Added recipients accordingly,
./scripts/get_maintainer.pl  -f of the modified files

 arch/arm/boot/dts/exynos5250.dtsi |   11 +++++++++++
 arch/arm/boot/dts/exynos5420.dtsi |   11 +++++++++++
 2 files changed, 22 insertions(+)

Comments

Kim Kukjin Aug. 25, 2013, 5:43 p.m. UTC | #1
On 08/23/13 17:02, Naveen Krishna Chatradhi wrote:
> Add ADC device tree node for exynos5420 and exynos5250
>
> Signed-off-by: Naveen Krishna Chatradhi<ch.naveen@samsung.com>
> Signed-off-by: Doug Anderson<dianders@chromium.org>
> ---
>
> Added recipients accordingly,
> ./scripts/get_maintainer.pl  -f of the modified files
>
>   arch/arm/boot/dts/exynos5250.dtsi |   11 +++++++++++
>   arch/arm/boot/dts/exynos5420.dtsi |   11 +++++++++++
>   2 files changed, 22 insertions(+)
>
> diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi
> index 1eec646..518f8cd 100644
> --- a/arch/arm/boot/dts/exynos5250.dtsi
> +++ b/arch/arm/boot/dts/exynos5250.dtsi
> @@ -641,4 +641,15 @@
>   		clocks =<&clock 133>,<&clock 339>;
>   		clock-names = "sclk_fimd", "fimd";
>   	};
> +
> +	adc: adc@12D10000 {
> +		compatible = "samsung,exynos-adc-v1";
> +		reg =<0x12D10000 0x100>,<0x10040718 0x4>;
> +		interrupts =<0 106 0>;
> +		clocks =<&clock 303>;
> +		clock-names = "adc";
> +		#io-channel-cells =<1>;
> +		io-channel-ranges;
> +		status = "disabled";
> +	};
>   };
> diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi
> index 5353e32..0c5c055 100644
> --- a/arch/arm/boot/dts/exynos5420.dtsi
> +++ b/arch/arm/boot/dts/exynos5420.dtsi
> @@ -218,4 +218,15 @@
>   		clocks =<&clock 147>,<&clock 421>;
>   		clock-names = "sclk_fimd", "fimd";
>   	};
> +
> +	adc: adc@12D10000 {
> +		compatible = "samsung,exynos-adc-v2";
> +		reg =<0x12D10000 0x100>,<0x10040720 0x4>;
> +		interrupts =<0 106 0>;
> +		clocks =<&clock 270>;
> +		clock-names = "adc";
> +		#io-channel-cells =<1>;
> +		io-channel-ranges;
> +		status = "disabled";
> +	};
>   };

Looks good to me, applied.

Thanks,
Kukjin
--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi
index 1eec646..518f8cd 100644
--- a/arch/arm/boot/dts/exynos5250.dtsi
+++ b/arch/arm/boot/dts/exynos5250.dtsi
@@ -641,4 +641,15 @@ 
 		clocks = <&clock 133>, <&clock 339>;
 		clock-names = "sclk_fimd", "fimd";
 	};
+
+	adc: adc@12D10000 {
+		compatible = "samsung,exynos-adc-v1";
+		reg = <0x12D10000 0x100>, <0x10040718 0x4>;
+		interrupts = <0 106 0>;
+		clocks = <&clock 303>;
+		clock-names = "adc";
+		#io-channel-cells = <1>;
+		io-channel-ranges;
+		status = "disabled";
+	};
 };
diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi
index 5353e32..0c5c055 100644
--- a/arch/arm/boot/dts/exynos5420.dtsi
+++ b/arch/arm/boot/dts/exynos5420.dtsi
@@ -218,4 +218,15 @@ 
 		clocks = <&clock 147>, <&clock 421>;
 		clock-names = "sclk_fimd", "fimd";
 	};
+
+	adc: adc@12D10000 {
+		compatible = "samsung,exynos-adc-v2";
+		reg = <0x12D10000 0x100>, <0x10040720 0x4>;
+		interrupts = <0 106 0>;
+		clocks = <&clock 270>;
+		clock-names = "adc";
+		#io-channel-cells = <1>;
+		io-channel-ranges;
+		status = "disabled";
+	};
 };