diff options
Diffstat (limited to 'meta-fsl-extras/recipes/u-boot/u-boot-toradex/0002-apalis-imx6-test-for-Capacitive-Touch-Display-7-Para.patch')
-rw-r--r-- | meta-fsl-extras/recipes/u-boot/u-boot-toradex/0002-apalis-imx6-test-for-Capacitive-Touch-Display-7-Para.patch | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/meta-fsl-extras/recipes/u-boot/u-boot-toradex/0002-apalis-imx6-test-for-Capacitive-Touch-Display-7-Para.patch b/meta-fsl-extras/recipes/u-boot/u-boot-toradex/0002-apalis-imx6-test-for-Capacitive-Touch-Display-7-Para.patch new file mode 100644 index 0000000..469009b --- /dev/null +++ b/meta-fsl-extras/recipes/u-boot/u-boot-toradex/0002-apalis-imx6-test-for-Capacitive-Touch-Display-7-Para.patch | |||
@@ -0,0 +1,44 @@ | |||
1 | From 138f477c5a1990429d35ffadc8f5cea5b1e9f945 Mon Sep 17 00:00:00 2001 | ||
2 | From: Samuli Piippo <samuli.piippo@qt.io> | ||
3 | Date: Fri, 19 May 2017 12:41:38 +0300 | ||
4 | Subject: [PATCH 2/2] apalis-imx6: test for Capacitive Touch Display 7" | ||
5 | Parallel | ||
6 | |||
7 | Test i2c bus if Capacitive Touch Display 7" Parallel display is present | ||
8 | during boot. If found, enable it as the primary display in kernel args. | ||
9 | |||
10 | Set imx6q-apalis-ixora-v1.1.dtb as the default dtb, as it provides | ||
11 | support for the atmel_mxt_ts touch controller. | ||
12 | --- | ||
13 | include/configs/apalis_imx6.h | 9 +++++++-- | ||
14 | 1 file changed, 7 insertions(+), 2 deletions(-) | ||
15 | |||
16 | diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h | ||
17 | index 9b42af9..121eaa7 100644 | ||
18 | --- a/include/configs/apalis_imx6.h | ||
19 | +++ b/include/configs/apalis_imx6.h | ||
20 | @@ -250,7 +250,7 @@ | ||
21 | "${fdt_file} && setenv dtbparam \" - ${fdt_addr_r}\" && true\0" | ||
22 | |||
23 | #ifndef CONFIG_TDX_APALIS_IMX6_V1_0 | ||
24 | -#define FDT_FILE "imx6q-apalis-eval.dtb" | ||
25 | +#define FDT_FILE "imx6q-apalis-ixora-v1.1.dtb" | ||
26 | #define FDT_FILE_V1_0 "imx6q-apalis_v1_0-eval.dtb" | ||
27 | #else | ||
28 | #define FDT_FILE "imx6q-apalis_v1_0-eval.dtb" | ||
29 | @@ -280,9 +280,14 @@ | ||
30 | "|| setenv drive 2; mmc rescan; load ${interface} ${drive}:1" \ | ||
31 | " ${loadaddr} flash_blk.img && " \ | ||
32 | "source ${loadaddr}\0" \ | ||
33 | - "setup=setenv setupargs fec_mac=${ethaddr} " \ | ||
34 | + "setup=run setupvideo; setenv setupargs fec_mac=${ethaddr} " \ | ||
35 | "consoleblank=0 no_console_suspend=1 " \ | ||
36 | "console=${console},${baudrate}n8\0 " \ | ||
37 | + "setupvideo=i2c dev 0; if i2c probe 4A; " \ | ||
38 | + "then setenv vidargs mxc_hdmi.only_cea=1 " \ | ||
39 | + "video=mxcfb0:dev=lcd,FusionF07A,if=RGB24 " \ | ||
40 | + "video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off " \ | ||
41 | + "fbmem=32M; fi\0" \ | ||
42 | "setupdate=run setsdupdate || run setusbupdate || run setethupdate\0" \ | ||
43 | "setusbupdate=usb start && setenv interface usb; setenv drive 0; " \ | ||
44 | "load ${interface} ${drive}:1 ${loadaddr} flash_blk.img && " \ | ||