i.MX7D Sabre: Rev-D : ELAN touch input support for E-INK panel

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX7D Sabre: Rev-D : ELAN touch input support for E-INK panel

952 Views
skrishnakar
Contributor III

Hello igorpadykov‌,

The past thread that was closed is for Rev-A IMX7D board, But now I have Rev-D IMX7D Sabre board that is behaving much like on other board despite of having J36-J39 jumpers connected and in-place. I have been trying with demo images for imx7D without any success.

Error noticed:

elan-touch 2-0010: elan - Read Hello Packet Failed
elan-touch: probe of 2-0010 failed with error -5

Jumpers J36-J39:

iMX7-RevD.png

Is there any other DIP switch setting that I need to change? I am booting in default mode with SD and SW2 & SW3 are set to "0". As usual the E-INK panel works without any issues but ELAN touch is not probed as expected.

DTB used: imx7d-sdb-epdc.dtb

Kernel driver enabled:

root@imx6ul7d:~# zcat /proc/config.gz | grep -i ELAN_TS
CONFIG_TOUCHSCREEN_ELAN_TS=y

Another thing noticed, Even though I have Rev-D board, the u-boot reports the board as Rev-A, Is this known behavior?

U-Boot 2016.03-imx_v2016.03_4.1.15_2.0.0_ga+g0ec2a01 (Sep 16 2016 - 18:33:06 -0500)

CPU: Freescale i.MX7D rev1.2 996 MHz (running at 792 MHz)
CPU: Commercial temperature grade (0C to 95C) at 33C
Reset cause: POR
Board: i.MX7D SABRESD RevA
I2C: ready
DRAM: 1 GiB
PMIC: PFUZE3000 DEV_ID=0x30 REV_ID=0x11
MMC: FSL_SDHC: 0, FSL_SDHC: 1
reading epdc_splash.bin
** Unable to read file epdc_splash.bin **
File epdc_splash.bin not found on MMC Device 0!
Can't load waveform data!
Display: TFT43AB (480x272)

Kindly provide any inputs on this issue that's seen on Rev-D board as well !

Thanks in Advance.

-Srikant

Labels (1)
0 Kudos
1 Reply

461 Views
igorpadykov
NXP Employee
NXP Employee

Hi Srikant

please try to debug it, revision is defined in function mx7sabre_rev(void) :

uboot/board/freescale/mx7dsabresd/mx7dsabresd.c

uboot-imx.git - Freescale i.MX u-boot Tree 

and probe function in ..input /touchscreen/elan_ts.c, check with oscilloscope

signals on J36-J39.

Best regards
igor

0 Kudos