summaryrefslogtreecommitdiffstats
path: root/meta-fsl-extras/recipes/u-boot/u-boot-boundary/0001-Add-support-for-KOE-tx31d200vm0baa-display.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-fsl-extras/recipes/u-boot/u-boot-boundary/0001-Add-support-for-KOE-tx31d200vm0baa-display.patch')
-rw-r--r--meta-fsl-extras/recipes/u-boot/u-boot-boundary/0001-Add-support-for-KOE-tx31d200vm0baa-display.patch45
1 files changed, 21 insertions, 24 deletions
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-boundary/0001-Add-support-for-KOE-tx31d200vm0baa-display.patch b/meta-fsl-extras/recipes/u-boot/u-boot-boundary/0001-Add-support-for-KOE-tx31d200vm0baa-display.patch
index 0343f06..123782e 100644
--- a/meta-fsl-extras/recipes/u-boot/u-boot-boundary/0001-Add-support-for-KOE-tx31d200vm0baa-display.patch
+++ b/meta-fsl-extras/recipes/u-boot/u-boot-boundary/0001-Add-support-for-KOE-tx31d200vm0baa-display.patch
@@ -1,23 +1,23 @@
1From 554d219b3485402c6992abc0aa32c74e8f251876 Mon Sep 17 00:00:00 2001 1From 07234c1c0f991a560010672a619740e385778f90 Mon Sep 17 00:00:00 2001
2From: Samuli Piippo <samuli.piippo@theqtcompany.com> 2From: Samuli Piippo <samuli.piippo@theqtcompany.com>
3Date: Thu, 11 Feb 2016 10:17:51 +0200 3Date: Thu, 11 Feb 2016 10:17:51 +0200
4Subject: [PATCH] Add support for KOE tx31d200vm0baa display 4Subject: [PATCH] Add support for KOE tx31d200vm0baa display
5 5
6Used for the cluster demo 6Used for the cluster demo
7--- 7---
8 arch/arm/include/asm/imx-common/fbpanel.h | 27 +++++++++++++++++++++++++++ 8 arch/arm/include/asm/imx-common/fbpanel.h | 27 ++++++++++++++++++++
9 board/boundary/nitrogen6_max/nitrogen6_max.c | 1 + 9 board/boundary/nitrogen6_max/nitrogen6_max.c | 1 +
10 board/boundary/nitrogen6sx/nitrogen6sx.c | 1 + 10 board/boundary/nitrogen6sx/nitrogen6sx.c | 1 +
11 board/boundary/nitrogen6x/nitrogen6x.c | 1 + 11 board/boundary/nitrogen6x/nitrogen6x.c | 1 +
12 4 files changed, 30 insertions(+) 12 4 files changed, 30 insertions(+)
13 13
14diff --git a/arch/arm/include/asm/imx-common/fbpanel.h b/arch/arm/include/asm/imx-common/fbpanel.h 14diff --git a/arch/arm/include/asm/imx-common/fbpanel.h b/arch/arm/include/asm/imx-common/fbpanel.h
15index b6f7af4..b8acdae 100644 15index f5465c3c80..643cd86e29 100644
16--- a/arch/arm/include/asm/imx-common/fbpanel.h 16--- a/arch/arm/include/asm/imx-common/fbpanel.h
17+++ b/arch/arm/include/asm/imx-common/fbpanel.h 17+++ b/arch/arm/include/asm/imx-common/fbpanel.h
18@@ -39,6 +39,33 @@ void fbp_enable_fb(struct display_info_t const *di, int enable); 18@@ -116,6 +116,33 @@ void fbp_setup_display(const struct display_info_t *displays, int cnt);
19 int fbp_detect_i2c(struct display_info_t const *di); 19 .fbtype = FB_##_mode,\
20 void fbp_setup_display(const struct display_info_t *displays, int cnt); 20 .fbflags = _flags
21 21
22+/* tx31d200vm0baa == koe */ 22+/* tx31d200vm0baa == koe */
23+#define IMX_VD_KOE(_mode, _detect, _bus) \ 23+#define IMX_VD_KOE(_mode, _detect, _bus) \
@@ -47,44 +47,41 @@ index b6f7af4..b8acdae 100644
47+} 47+}
48+ 48+
49 /* hdmi settings */ 49 /* hdmi settings */
50 #define IMX_VD50_1280_720M_60(_mode, _detect, _bus) \ 50 #define VDF_1280_720M_60(_mode, _name, _fmt, _flags, _detect, _bus, _addr) \
51 {\ 51 {\
52diff --git a/board/boundary/nitrogen6_max/nitrogen6_max.c b/board/boundary/nitrogen6_max/nitrogen6_max.c 52diff --git a/board/boundary/nitrogen6_max/nitrogen6_max.c b/board/boundary/nitrogen6_max/nitrogen6_max.c
53index 337e9b5..ba29aee 100644 53index 1c4106e735..51bc0bd8f3 100644
54--- a/board/boundary/nitrogen6_max/nitrogen6_max.c 54--- a/board/boundary/nitrogen6_max/nitrogen6_max.c
55+++ b/board/boundary/nitrogen6_max/nitrogen6_max.c 55+++ b/board/boundary/nitrogen6_max/nitrogen6_max.c
56@@ -568,6 +568,7 @@ void board_enable_lcd(const struct display_info_t *di, int enable) 56@@ -497,6 +497,7 @@ int fbp_detect_serializer(struct display_info_t const *di)
57 } 57 }
58 58
59 static const struct display_info_t displays[] = { 59 static const struct display_info_t displays[] = {
60+ IMX_VD_KOE(LVDS, 0, 2), 60+ IMX_VD_KOE(LVDS, 0, 2),
61 /* hdmi */ 61 /* hdmi */
62 IMX_VD50_1280_720M_60(HDMI, 1, 1), 62 VD_1280_720M_60(HDMI, fbp_detect_i2c, 1, 0x50),
63 IMX_VD50_1920_1080M_60(HDMI, 0, 1), 63 VD_1920_1080M_60(HDMI, NULL, 1, 0x50),
64diff --git a/board/boundary/nitrogen6sx/nitrogen6sx.c b/board/boundary/nitrogen6sx/nitrogen6sx.c 64diff --git a/board/boundary/nitrogen6sx/nitrogen6sx.c b/board/boundary/nitrogen6sx/nitrogen6sx.c
65index cdabcd8..de6582e 100644 65index dc05042add..3725d63cf3 100644
66--- a/board/boundary/nitrogen6sx/nitrogen6sx.c 66--- a/board/boundary/nitrogen6sx/nitrogen6sx.c
67+++ b/board/boundary/nitrogen6sx/nitrogen6sx.c 67+++ b/board/boundary/nitrogen6sx/nitrogen6sx.c
68@@ -685,6 +685,7 @@ void board_enable_lcd(const struct display_info_t *di, int enable) 68@@ -436,6 +436,7 @@ void board_enable_lcd(const struct display_info_t *di, int enable)
69 69 }
70 70
71 static const struct display_info_t displays[] = { 71 static const struct display_info_t displays[] = {
72+ IMX_VD_KOE(LVDS, 0, 2), 72+ IMX_VD_KOE(LVDS, 0, 2),
73 /* hdmi/lcd */ 73 /* hdmi/lcd via tfp410 */
74 _IMX_VD_1280_720M_60(LCD, 1, 2, 50, 0), 74 VDF_1280_720M_60(LCD, "1280x720M@60", RGB24, 0, fbp_detect_i2c, 2, 0x50),
75 _IMX_VD_1920_1080M_60(LCD, 0, 2, 50, 0), 75 VDF_1920_1080M_60(LCD, "1920x1080M@60", RGB24, 0, NULL, 2, 0x50),
76diff --git a/board/boundary/nitrogen6x/nitrogen6x.c b/board/boundary/nitrogen6x/nitrogen6x.c 76diff --git a/board/boundary/nitrogen6x/nitrogen6x.c b/board/boundary/nitrogen6x/nitrogen6x.c
77index 21d6cd7..b24f2f6 100644 77index d9f6a829f1..80b102e206 100644
78--- a/board/boundary/nitrogen6x/nitrogen6x.c 78--- a/board/boundary/nitrogen6x/nitrogen6x.c
79+++ b/board/boundary/nitrogen6x/nitrogen6x.c 79+++ b/board/boundary/nitrogen6x/nitrogen6x.c
80@@ -525,6 +525,7 @@ void board_enable_lcd(const struct display_info_t *di, int enable) 80@@ -359,6 +359,7 @@ void board_pre_enable(const struct display_info_t *di)
81 } 81 }
82 82
83 static const struct display_info_t displays[] = { 83 static const struct display_info_t displays[] = {
84+ IMX_VD_KOE(LVDS, 0, 2), 84+ IMX_VD_KOE(LVDS, 0, 2),
85 /* hdmi */ 85 /* hdmi */
86 IMX_VD50_1280_720M_60(HDMI, 1, 1), 86 VD_1280_720M_60(HDMI, fbp_detect_i2c, 1, 0x50),
87 IMX_VD50_1920_1080M_60(HDMI, 0, 1), 87 VD_1920_1080M_60(HDMI, NULL, 1, 0x50),
88--
891.9.1
90