2013-08-01 09:33:46

by Naveen Krishna Chatradhi

[permalink] [raw]
Subject: [PATCH] ARM: dts: exynos5420: add ADC device tree node

From: Jaehoon Kim <[email protected]>

Add device tree node for ADC in exynos5420.dtsi

Signed-off-by: Naveen Krishna Chatradhi <[email protected]>
Signed-off-by: Doug Anderson <[email protected]>
---
arch/arm/boot/dts/exynos5420.dtsi | 11 +++++++++++
1 file changed, 11 insertions(+)

diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi
index 8c54c4b..074e1bc 100644
--- a/arch/arm/boot/dts/exynos5420.dtsi
+++ b/arch/arm/boot/dts/exynos5420.dtsi
@@ -145,4 +145,15 @@
clocks = <&clock 260>, <&clock 131>;
clock-names = "uart", "clk_uart_baud0";
};
+
+ adc: adc@12D10000 {
+ compatible = "samsung,exynos-adc-v2";
+ reg = <0x12D10000 0x100>, <0x10040720 0x4>;
+ interrupts = <0 106 0>;
+ #io-channel-cells = <1>;
+ io-channel-ranges;
+ clocks = <&clock 270>;
+ clock-names = "adc";
+ status = "disabled";
+ };
};
--
1.7.9.5


2013-08-02 04:50:44

by sunil joshi

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: exynos5420: add ADC device tree node

Hi Naveen,
exynos5250.dtsi also needs this entry.
Pls consider adding adc node in exynos5250.dtsi as well, and move the
common content of adc node to exynos5.dtsi.

Regards
Sunil


On Thu, Aug 1, 2013 at 2:58 PM, Naveen Krishna Chatradhi
<[email protected]> wrote:
> From: Jaehoon Kim <[email protected]>
>
> Add device tree node for ADC in exynos5420.dtsi
>
> Signed-off-by: Naveen Krishna Chatradhi <[email protected]>
> Signed-off-by: Doug Anderson <[email protected]>
> ---
> arch/arm/boot/dts/exynos5420.dtsi | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
> diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi
> index 8c54c4b..074e1bc 100644
> --- a/arch/arm/boot/dts/exynos5420.dtsi
> +++ b/arch/arm/boot/dts/exynos5420.dtsi
> @@ -145,4 +145,15 @@
> clocks = <&clock 260>, <&clock 131>;
> clock-names = "uart", "clk_uart_baud0";
> };
> +
> + adc: adc@12D10000 {
> + compatible = "samsung,exynos-adc-v2";
> + reg = <0x12D10000 0x100>, <0x10040720 0x4>;
> + interrupts = <0 106 0>;
> + #io-channel-cells = <1>;
> + io-channel-ranges;
> + clocks = <&clock 270>;
> + clock-names = "adc";
> + status = "disabled";
> + };
> };
> --
> 1.7.9.5
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html

2013-08-02 04:58:29

by Naveen Krishna Ch

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: exynos5420: add ADC device tree node

On 2 August 2013 10:20, sunil joshi <[email protected]> wrote:
> Hi Naveen,
> exynos5250.dtsi also needs this entry.
> Pls consider adding adc node in exynos5250.dtsi as well, and move the
> common content of adc node to exynos5.dtsi.
Sure, sunil will run a boot test and submit the code
>
> Regards
> Sunil
>
>
> On Thu, Aug 1, 2013 at 2:58 PM, Naveen Krishna Chatradhi
> <[email protected]> wrote:
>> From: Jaehoon Kim <[email protected]>
>>
>> Add device tree node for ADC in exynos5420.dtsi
>>
>> Signed-off-by: Naveen Krishna Chatradhi <[email protected]>
>> Signed-off-by: Doug Anderson <[email protected]>
>> ---
>> arch/arm/boot/dts/exynos5420.dtsi | 11 +++++++++++
>> 1 file changed, 11 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi
>> index 8c54c4b..074e1bc 100644
>> --- a/arch/arm/boot/dts/exynos5420.dtsi
>> +++ b/arch/arm/boot/dts/exynos5420.dtsi
>> @@ -145,4 +145,15 @@
>> clocks = <&clock 260>, <&clock 131>;
>> clock-names = "uart", "clk_uart_baud0";
>> };
>> +
>> + adc: adc@12D10000 {
>> + compatible = "samsung,exynos-adc-v2";
>> + reg = <0x12D10000 0x100>, <0x10040720 0x4>;
>> + interrupts = <0 106 0>;
>> + #io-channel-cells = <1>;
>> + io-channel-ranges;
>> + clocks = <&clock 270>;
>> + clock-names = "adc";
>> + status = "disabled";
>> + };
>> };
>> --
>> 1.7.9.5
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
>> the body of a message to [email protected]
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/



--
Shine bright,
(: Nav :)