summaryrefslogtreecommitdiff
path: root/include/configs/snowball.h
diff options
context:
space:
mode:
authorHaibo Chen <haibo.chen@freescale.com>2015-02-11 16:14:26 +0800
committerHaibo Chen <haibo.chen@freescale.com>2015-03-05 11:28:30 +0800
commit6baaad39acc031cdb93a5e5a68a26c3fbc25c88f (patch)
tree0ef215ecd095d723666618404b7f182e723ccc7a /include/configs/snowball.h
parentb68f4a1fc442b11b526c6eea0fba0c80819bca87 (diff)
downloadu-boot-imx-l5.0.0_1.0.0-beta.zip
u-boot-imx-l5.0.0_1.0.0-beta.tar.gz
u-boot-imx-l5.0.0_1.0.0-beta.tar.bz2
MLK-10215 Add elan init in i.MX6SL-EVK boardl5.0.0_1.0.0-beta
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 'include/configs/snowball.h')
0 files changed, 0 insertions, 0 deletions