Skip to contentSkip to conversation

ARM: dts: enable display for exynos5800 based peach-pi board

PATCH New Rahul Sharma 2 participants 7 messages May 12, 2014 – May 16, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

cover ARM: dts: enable display for exynos5800 based peach-pi board

From: Rahul Sharma <[email protected]>

Add nodes for fimd and dp controller for exynos5800 based peach-pi board.

This series is based on Kukjin Kims, for-next branch.

It is dependent on
1) Arun's patches for basic Exynos5800 support, available at
http://comments.gmane.org/gmane.linux.kernel.samsung-soc/30667

Rahul Sharma (2):
ARM: dts: enable display controller for exynos5800 based peach-pi
board
ARM: dts: enable fimd for exynos5800 based peach-pi board

 arch/arm/boot/dts/exynos5800-peach-pi.dts |   41 +++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/2 ARM: dts: enable display controller for exynos5800 based peach-pi board

From: Rahul Sharma <[email protected]>

Enable display controller with timing information for 1080p panel in Exynos5800 peach-pi board.

---
 arch/arm/boot/dts/exynos5800-peach-pi.dts |   36 +++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)
arch/arm/boot/dts/exynos5800-peach-pi.dts +36 -0
index 742655b..426705a 100644
@@ -72,6 +72,13 @@
 		samsung,pin-pud = <0>;
 		samsung,pin-drv = <0>;
 	};
+
+	dp_hpd_gpio: dp_hpd_gpio {
+		samsung,pins = "gpx2-6";
+		samsung,pin-function = <0>;
+		samsung,pin-pud = <3>;
+		samsung,pin-drv = <0>;
+	};
 };
 
 &rtc {
@@ -121,6 +128,35 @@
 	};
 };
 
+&dp {
+	status = "okay";
+	pinctrl-names = "default";
+	pinctrl-0 = <&dp_hpd_gpio>;
+	samsung,color-space = <0>;
+	samsung,dynamic-range = <0>;
+	samsung,ycbcr-coeff = <0>;
+	samsung,color-depth = <1>;
+	samsung,link-rate = <0x0a>;
+	samsung,lane-count = <2>;
+	samsung,hpd-gpio = <&gpx2 6 0>;
+
+	display-timings {
+		native-mode = <&timing1>;
+
+		timing1: timing at 1 {
+			clock-frequency = <150660000>;
+			hactive = <1920>;
+			vactive = <1080>;
+			hfront-porch = <60>;
+			hback-porch = <172>;
+			hsync-len = <80>;
+			vback-porch = <25>;
+			vfront-porch = <10>;
+			vsync-len = <10>;
+		};
+	};
+};
+
 &hsi2c_9 {
 	status = "okay";
 	clock-frequency = <400000>;
Signature · 1 line
1.7.9.5
#2 lore raw

PATCH 1/2 ARM: dts: enable display controller for exynos5800 based peach-pi board

Quoted 7 lines · Rahul Sharma

From: Rahul Sharma <[email protected]>

Enable display controller with timing information for 1080p panel in Exynos5800 peach-pi board.

Best regards,
Jingoo Han

Quoted 60 lines
---
 arch/arm/boot/dts/exynos5800-peach-pi.dts |   36 +++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)
arch/arm/boot/dts/exynos5800-peach-pi.dts +36 -1
index 742655b..426705a 100644
@@ -72,6 +72,13 @@
 		samsung,pin-pud = <0>;
 		samsung,pin-drv = <0>;
 	};
+
+	dp_hpd_gpio: dp_hpd_gpio {
+		samsung,pins = "gpx2-6";
+		samsung,pin-function = <0>;
+		samsung,pin-pud = <3>;
+		samsung,pin-drv = <0>;
+	};
 };
 
 &rtc {
@@ -121,6 +128,35 @@
 	};
 };
 
+&dp {
+	status = "okay";
+	pinctrl-names = "default";
+	pinctrl-0 = <&dp_hpd_gpio>;
+	samsung,color-space = <0>;
+	samsung,dynamic-range = <0>;
+	samsung,ycbcr-coeff = <0>;
+	samsung,color-depth = <1>;
+	samsung,link-rate = <0x0a>;
+	samsung,lane-count = <2>;
+	samsung,hpd-gpio = <&gpx2 6 0>;
+
+	display-timings {
+		native-mode = <&timing1>;
+
+		timing1: timing at 1 {
+			clock-frequency = <150660000>;
+			hactive = <1920>;
+			vactive = <1080>;
+			hfront-porch = <60>;
+			hback-porch = <172>;
+			hsync-len = <80>;
+			vback-porch = <25>;
+			vfront-porch = <10>;
+			vsync-len = <10>;
+		};
+	};
+};
+
 &hsi2c_9 {
 	status = "okay";
 	clock-frequency = <400000>;
--

1.7.9.5

#3 lore raw

PATCH 2/2 ARM: dts: enable fimd for exynos5800 based peach-pi board

In reply to Rahul Sharma

From: Rahul Sharma <[email protected]>

Enable FIMD for peach-pi board.

---
 arch/arm/boot/dts/exynos5800-peach-pi.dts |    5 +++++
 1 file changed, 5 insertions(+)
arch/arm/boot/dts/exynos5800-peach-pi.dts +5 -0
index 426705a..cccacdd 100644
@@ -157,6 +157,11 @@
 	};
 };
 
+&fimd {
+	status = "okay";
+	samsung,invert-vclk;
+};
+
 &hsi2c_9 {
 	status = "okay";
 	clock-frequency = <400000>;
Signature · 1 line
1.7.9.5
#4 lore raw

PATCH 2/2 ARM: dts: enable fimd for exynos5800 based peach-pi board

Quoted 6 lines · Rahul Sharma

From: Rahul Sharma <[email protected]>

Enable FIMD for peach-pi board.

Best regards,
Jingoo Han

Quoted 22 lines
---
 arch/arm/boot/dts/exynos5800-peach-pi.dts |    5 +++++
 1 file changed, 5 insertions(+)
arch/arm/boot/dts/exynos5800-peach-pi.dts +5 -1
index 426705a..cccacdd 100644
@@ -157,6 +157,11 @@
 	};
 };
 
+&fimd {
+	status = "okay";
+	samsung,invert-vclk;
+};
+
 &hsi2c_9 {
 	status = "okay";
 	clock-frequency = <400000>;
--

1.7.9.5

#5 lore raw

PATCH 2/2 ARM: dts: enable fimd for exynos5800 based peach-pi board

Thanks Jingoo Han.

Hi Kukjin,

Please consider both of these series for your tree.

1) http://www.spinics.net/lists/arm-kernel/msg329697.html
2) http://www.spinics.net/lists/arm-kernel/msg330291.html

Regards,
Rahul Sharma

Quoted 36 lines · Jingoo Han
Quoted 6 lines · Rahul Sharma

From: Rahul Sharma <[email protected]>

Enable FIMD for peach-pi board.

Best regards,
Jingoo Han

Quoted 22 lines
---
 arch/arm/boot/dts/exynos5800-peach-pi.dts |    5 +++++
 1 file changed, 5 insertions(+)
arch/arm/boot/dts/exynos5800-peach-pi.dts +5 -1
index 426705a..cccacdd 100644
@@ -157,6 +157,11 @@
      };
 };
 
+&fimd {
+     status = "okay";
+     samsung,invert-vclk;
+};
+
 &hsi2c_9 {
      status = "okay";
      clock-frequency = <400000>;
--

1.7.9.5

#6 lore raw

PATCH 2/2 ARM: dts: enable fimd for exynos5800 based peach-pi board

<Gentle Ping>

Quoted 49 lines · Rahul Sharma

Thanks Jingoo Han.

Hi Kukjin,

Please consider both of these series for your tree.

1) http://www.spinics.net/lists/arm-kernel/msg329697.html
2) http://www.spinics.net/lists/arm-kernel/msg330291.html

Regards,
Rahul Sharma

Quoted 36 lines · Jingoo Han
Quoted 6 lines · Rahul Sharma

From: Rahul Sharma <[email protected]>

Enable FIMD for peach-pi board.

Best regards,
Jingoo Han

Quoted 22 lines
---
 arch/arm/boot/dts/exynos5800-peach-pi.dts |    5 +++++
 1 file changed, 5 insertions(+)
arch/arm/boot/dts/exynos5800-peach-pi.dts +5 -1
index 426705a..cccacdd 100644
@@ -157,6 +157,11 @@
      };
 };
 
+&fimd {
+     status = "okay";
+     samsung,invert-vclk;
+};
+
 &hsi2c_9 {
      status = "okay";
      clock-frequency = <400000>;
--

1.7.9.5