imx6: icorem6: Add I2C support
authorJagan Teki <jagan@amarulasolutions.com>
Mon, 5 Dec 2016 23:01:00 +0000 (00:01 +0100)
committerStefano Babic <sbabic@denx.de>
Fri, 16 Dec 2016 16:15:27 +0000 (17:15 +0100)
commitd90384e834a551ef7b69b05f3be1bd103af87d38
tree0cec72e82a9760ec65eb5e95488102b8572bf95e
parent2da24fe551122fcae523c1b117009c0be1dddb90
imx6: icorem6: Add I2C support

Add I2C support for Engicam i.CoreM6 qdl board.

icorem6qdl> i2c bus
Bus 0:  i2c@021a0000
Bus 1:  i2c@021a4000
Bus 2:  i2c@021a8000
icorem6qdl> i2c dev 2
Setting bus to 2
icorem6qdl> i2c speed 100000
Setting bus speed to 100000 Hz
icorem6qdl> i2c probe
Valid chip addresses: 2C
icorem6qdl> i2c md 2C 0xff
00ff: 00 00 00 00 0f f0 01 64 ff ff 00 00 00 00 00 00    .......d........

Cc: Stefano Babic <sbabic@denx.de>
Cc: Heiko Schocher <hs@denx.de>
Cc: Matteo Lisi <matteo.lisi@engicam.com>
Cc: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Acked-by: Heiko Schocher <hs@denx.de>
arch/arm/cpu/armv7/mx6/Kconfig
configs/imx6qdl_icore_mmc_defconfig
configs/imx6qdl_icore_nand_defconfig