diff options
author | Haibo Chen <haibo.chen@freescale.com> | 2015-02-11 16:14:26 +0800 |
---|---|---|
committer | Haibo Chen <haibo.chen@freescale.com> | 2015-03-05 11:26:18 +0800 |
commit | 88123ea911e133724cbe738c2b0517fa470592c0 (patch) | |
tree | 98c70d195240071f8e4bdd009c11c534d532879f /Kbuild | |
parent | 1d4e7b28b209aa8ff5e633b5987319e7ff576e2e (diff) | |
download | u-boot-imx-88123ea911e133724cbe738c2b0517fa470592c0.zip u-boot-imx-88123ea911e133724cbe738c2b0517fa470592c0.tar.gz u-boot-imx-88123ea911e133724cbe738c2b0517fa470592c0.tar.bz2 |
MLK-10215 Add elan init in i.MX6SL-EVK boardrel_imx_3.14.28_1.0.0_ga
EPDC board contain a elan touch screen, this screen is a i2c
slave. If this EPDC board connect to i.MX6SL-EVK board, after
uboot boot up, if we do i2c operation, like i2c probe, then
the i2c bus block. This is due to the elan touch screen i2c slave.
This device needs to do some initialization opearation before its
i2c operation, otherwise this i2c device pull down the i2c clk line,
and make the i2c bus hang. This means elan needs a special flow on
i2c before its address is acked, otherwise the i2c bus will be hang.
This patch is a workaround, it add a void function which is defined
as a weak symbol in i2c driver, and it is called before every i2c
operation. In mx6slevk, this function was overwrite to execute elan
initialization. So that, for mx6slevk board, it will initialize
elan before every i2c operation, but for other boards, it just work
as before.
Signed-off-by: Haibo Chen <haibo.chen@freescale.com>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions