diff options
author | Haibo Chen <haibo.chen@freescale.com> | 2015-04-28 12:37:53 +0800 |
---|---|---|
committer | Peng Fan <Peng.Fan@freescale.com> | 2015-04-29 14:58:50 +0800 |
commit | b6ba68516b681a38025252bd0ef6a6ed3e8adfa0 (patch) | |
tree | 053f4c6d10fd311943004f3bcdaa4d36eb3290a2 /arch/arm/include/asm/bootm.h | |
parent | cb2eed524f43ba74572799374ce0425798f67940 (diff) | |
download | u-boot-imx-b6ba68516b681a38025252bd0ef6a6ed3e8adfa0.zip u-boot-imx-b6ba68516b681a38025252bd0ef6a6ed3e8adfa0.tar.gz u-boot-imx-b6ba68516b681a38025252bd0ef6a6ed3e8adfa0.tar.bz2 |
MLK-10215 Add elan init in i.MX6SL-EVK board
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>
(cherry picked from commit 4c587b29c423ce61b2471ed20f31ff533d9d8a39)
Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Conflicts:
arch/arm/include/asm/arch-mx6/mx6sl_pins.h
board/freescale/mx6slevk/mx6slevk.c
Diffstat (limited to 'arch/arm/include/asm/bootm.h')
0 files changed, 0 insertions, 0 deletions