summaryrefslogtreecommitdiff
path: root/patches.tizen/1244-arm-dts-exynos4412-odroidx2-add-HDMI-devices.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches.tizen/1244-arm-dts-exynos4412-odroidx2-add-HDMI-devices.patch')
-rw-r--r--patches.tizen/1244-arm-dts-exynos4412-odroidx2-add-HDMI-devices.patch88
1 files changed, 88 insertions, 0 deletions
diff --git a/patches.tizen/1244-arm-dts-exynos4412-odroidx2-add-HDMI-devices.patch b/patches.tizen/1244-arm-dts-exynos4412-odroidx2-add-HDMI-devices.patch
new file mode 100644
index 00000000000..927a1934ce5
--- /dev/null
+++ b/patches.tizen/1244-arm-dts-exynos4412-odroidx2-add-HDMI-devices.patch
@@ -0,0 +1,88 @@
+From cdc86f29775b57b2e00daad4e4846cdc56c20d67 Mon Sep 17 00:00:00 2001
+From: Tomasz Stanislawski <t.stanislaws@samsung.com>
+Date: Thu, 20 Feb 2014 15:47:44 +0100
+Subject: [PATCH 1244/1302] arm: dts: exynos4412-odroidx2: add HDMI devices
+
+This patch adds configuration of HDMI devices on OdroidX2 board.
+Moreover, FIMD is enabled as workaround for ia bug caused by
+unintialized size of framebuffer.
+
+Signed-off-by: Tomasz Stanislawski <t.stanislaws@samsung.com>
+Change-Id: I8fa76980f35644f886ffc971a4ced1ae03300d12
+Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
+---
+ arch/arm/boot/dts/exynos4412-odroidx2.dts | 60 +++++++++++++++++++++++++++++++
+ 1 file changed, 60 insertions(+)
+
+diff --git a/arch/arm/boot/dts/exynos4412-odroidx2.dts b/arch/arm/boot/dts/exynos4412-odroidx2.dts
+index 814f943..9ce1768 100644
+--- a/arch/arm/boot/dts/exynos4412-odroidx2.dts
++++ b/arch/arm/boot/dts/exynos4412-odroidx2.dts
+@@ -507,4 +507,64 @@
+ memory-region = <&mfc_r_mem>;
+ };
+ };
++
++ i2c@13880000 {
++ pinctrl-names = "default";
++ pinctrl-0 = <&i2c2_bus>;
++ status = "okay";
++ hdmiddc@37 {
++ compatible = "samsung,exynos5-hdmiddc";
++ reg = <0x37>;
++ };
++ };
++
++ hdmi@12D00000 {
++ hpd-gpio = <&gpx3 7 0>;
++ pinctrl-names = "default";
++ pinctrl-0 = <&hdmi_hpd>;
++ /*
++ * HDMI_EN is a dummy regulator on Origen.
++ * Therefore LDO8 is used instead because
++ * it is enabled at the same time as hdmi-en
++ */
++ hdmi-en-supply = <&ldo8_reg>;
++ vdd-supply = <&ldo8_reg>;
++ vdd_osc-supply = <&ldo10_reg>;
++ vdd_pll-supply = <&ldo8_reg>;
++ status = "okay";
++ };
++
++ /*
++ * FIMD node is required for DRM subsystem to initialize framebuffer
++ * It should be considered as hack until DRM/HDMI subsystem is fixed
++ */
++ fimd@11c00000 {
++ samsung,fimd-vidout-rgb;
++ samsung,fimd-inv-vclk;
++ samsung,fimd-frame-rate = <60>;
++ samsung,default-window = <3>;
++ samsung,fimd-win-bpp = <32>;
++ status = "okay";
++ display-timings {
++ native-mode = <&timing0>;
++ timing0: timing {
++ clock-frequency = <0>;
++ hfront-porch = <0>;
++ hback-porch = <0>;
++ hactive = <1920>;
++ vactive = <1080>;
++ hsync-len = <0>;
++ vback-porch = <0>;
++ vfront-porch = <0>;
++ vsync-len = <0>;
++ };
++ };
++ };
++};
++
++&pinctrl_1 {
++ hdmi_hpd: hdmi-hpd {
++ samsung,pins = "gpx3-7";
++ samsung,pin-pud = <1>;
++ };
+ };
+--
+1.8.3.2
+