diff mbox

[2/5] ARM: dts: exynos5420: add dt nodes for hdmi subsystem

Message ID 1371706911-27016-3-git-send-email-rahul.sharma@samsung.com (mailing list archive)
State New, archived
Headers show

Commit Message

Rahul Sharma June 20, 2013, 5:41 a.m. UTC
Add hdmi, mixer, ddc device tree nodes for Exynos 5420 SoC.

Signed-off-by: Rahul Sharma <rahul.sharma@samsung.com>
---
 arch/arm/boot/dts/exynos5420-smdk5420.dts |   15 +++++++++++++++
 arch/arm/boot/dts/exynos5420.dtsi         |   12 ++++++++++++
 2 files changed, 27 insertions(+)

Comments

Sachin Kamat June 20, 2013, 6:38 a.m. UTC | #1
On 20 June 2013 11:11, Rahul Sharma <rahul.sharma@samsung.com> wrote:
> Add hdmi, mixer, ddc device tree nodes for Exynos 5420 SoC.
>
> Signed-off-by: Rahul Sharma <rahul.sharma@samsung.com>
> ---
>  arch/arm/boot/dts/exynos5420-smdk5420.dts |   15 +++++++++++++++
>  arch/arm/boot/dts/exynos5420.dtsi         |   12 ++++++++++++
>  2 files changed, 27 insertions(+)
>
> diff --git a/arch/arm/boot/dts/exynos5420-smdk5420.dts b/arch/arm/boot/dts/exynos5420-smdk5420.dts
> index 08607df..b3721bd 100644
> --- a/arch/arm/boot/dts/exynos5420-smdk5420.dts
> +++ b/arch/arm/boot/dts/exynos5420-smdk5420.dts
> @@ -30,4 +30,19 @@
>                         clock-frequency = <24000000>;
>                 };
>         };
> +
> +       hdmi {
> +               hpd-gpio = <&gpx3 7 0>;
> +       };
> +
> +       i2c_2: i2c@12C80000 {
> +               samsung,i2c-sda-delay = <100>;
> +               samsung,i2c-max-bus-freq = <66000>;
> +               status = "okay";
> +
> +               hdmiddc@50 {
> +                       compatible = "samsung,exynos4210-hdmiddc";
> +                       reg = <0x50>;
> +               };
> +       };
>  };
> diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi
> index b0ec047..45aadf9 100644
> --- a/arch/arm/boot/dts/exynos5420.dtsi
> +++ b/arch/arm/boot/dts/exynos5420.dtsi
> @@ -201,4 +201,16 @@
>                 clock-names = "i2c";
>                 status = "disabled";
>         };
> +
> +       hdmi {
> +               compatible = "samsung,exynos4212-hdmi";
> +               reg = <0x14530000 0x70000>;
> +               interrupts = <0 95 0>;
> +       };
> +
> +       mixer: mixer@14450000 {
> +               compatible = "samsung,exynos5420-mixer";
> +               reg = <0x14450000 0x10000>;
> +               interrupts = <0 94 0>;
> +       };

If these are the parent nodes, disable them here and enable in the board files.
Rahul Sharma June 20, 2013, 6:43 a.m. UTC | #2
ok Sachin. Thanks.

On Thu, Jun 20, 2013 at 12:08 PM, Sachin Kamat <sachin.kamat@linaro.org> wrote:
> On 20 June 2013 11:11, Rahul Sharma <rahul.sharma@samsung.com> wrote:
>> Add hdmi, mixer, ddc device tree nodes for Exynos 5420 SoC.
>>
>> Signed-off-by: Rahul Sharma <rahul.sharma@samsung.com>
>> ---
>>  arch/arm/boot/dts/exynos5420-smdk5420.dts |   15 +++++++++++++++
>>  arch/arm/boot/dts/exynos5420.dtsi         |   12 ++++++++++++
>>  2 files changed, 27 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/exynos5420-smdk5420.dts b/arch/arm/boot/dts/exynos5420-smdk5420.dts
>> index 08607df..b3721bd 100644
>> --- a/arch/arm/boot/dts/exynos5420-smdk5420.dts
>> +++ b/arch/arm/boot/dts/exynos5420-smdk5420.dts
>> @@ -30,4 +30,19 @@
>>                         clock-frequency = <24000000>;
>>                 };
>>         };
>> +
>> +       hdmi {
>> +               hpd-gpio = <&gpx3 7 0>;
>> +       };
>> +
>> +       i2c_2: i2c@12C80000 {
>> +               samsung,i2c-sda-delay = <100>;
>> +               samsung,i2c-max-bus-freq = <66000>;
>> +               status = "okay";
>> +
>> +               hdmiddc@50 {
>> +                       compatible = "samsung,exynos4210-hdmiddc";
>> +                       reg = <0x50>;
>> +               };
>> +       };
>>  };
>> diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi
>> index b0ec047..45aadf9 100644
>> --- a/arch/arm/boot/dts/exynos5420.dtsi
>> +++ b/arch/arm/boot/dts/exynos5420.dtsi
>> @@ -201,4 +201,16 @@
>>                 clock-names = "i2c";
>>                 status = "disabled";
>>         };
>> +
>> +       hdmi {
>> +               compatible = "samsung,exynos4212-hdmi";
>> +               reg = <0x14530000 0x70000>;
>> +               interrupts = <0 95 0>;
>> +       };
>> +
>> +       mixer: mixer@14450000 {
>> +               compatible = "samsung,exynos5420-mixer";
>> +               reg = <0x14450000 0x10000>;
>> +               interrupts = <0 94 0>;
>> +       };
>
> If these are the parent nodes, disable them here and enable in the board files.
>
>
> --
> With warm regards,
> Sachin
--
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/exynos5420-smdk5420.dts b/arch/arm/boot/dts/exynos5420-smdk5420.dts
index 08607df..b3721bd 100644
--- a/arch/arm/boot/dts/exynos5420-smdk5420.dts
+++ b/arch/arm/boot/dts/exynos5420-smdk5420.dts
@@ -30,4 +30,19 @@ 
 			clock-frequency = <24000000>;
 		};
 	};
+
+	hdmi {
+		hpd-gpio = <&gpx3 7 0>;
+	};
+
+	i2c_2: i2c@12C80000 {
+		samsung,i2c-sda-delay = <100>;
+		samsung,i2c-max-bus-freq = <66000>;
+		status = "okay";
+
+		hdmiddc@50 {
+			compatible = "samsung,exynos4210-hdmiddc";
+			reg = <0x50>;
+		};
+	};
 };
diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi
index b0ec047..45aadf9 100644
--- a/arch/arm/boot/dts/exynos5420.dtsi
+++ b/arch/arm/boot/dts/exynos5420.dtsi
@@ -201,4 +201,16 @@ 
 		clock-names = "i2c";
 		status = "disabled";
 	};
+
+	hdmi {
+		compatible = "samsung,exynos4212-hdmi";
+		reg = <0x14530000 0x70000>;
+		interrupts = <0 95 0>;
+	};
+
+	mixer: mixer@14450000 {
+		compatible = "samsung,exynos5420-mixer";
+		reg = <0x14450000 0x10000>;
+		interrupts = <0 94 0>;
+	};
 };