]> git.sur5r.net Git - u-boot/commit
imx6: icorem6_rqs: Add I2C support
authorJagan Teki <jagan@amarulasolutions.com>
Tue, 13 Dec 2016 16:57:02 +0000 (17:57 +0100)
committerStefano Babic <sbabic@denx.de>
Fri, 16 Dec 2016 17:39:05 +0000 (18:39 +0100)
commitdca7c2878aaf6b9139752b2835a35a5aa588a3b7
treef1c057592faa4f50e93de01940651777cb154404
parent5fdea9ff00e316659db0056bf43b1faec6aa1d09
imx6: icorem6_rqs: Add I2C support

Add I2C support for Engicam i.CoreM6 RQS modules.

icorem6qdl-rqs> i2c bus
Bus 0:  i2c@021a0000
Bus 1:  i2c@021a4000
Bus 2:  i2c@021a8000
icorem6qdl-rqs> i2c dev 0
Setting bus to 0
icorem6qdl-rqs> i2c speed 100000
Setting bus speed to 100000 Hz
icorem6qdl-rqs> i2c probe
Valid chip addresses: 4F
icorem6qdl-rqs> i2c md 4F 0xff
00ff: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
icorem6qdl-rqs> i2c bus
Bus 0:  i2c@021a0000  (active 0)
   4f: generic_4f, offset len 1, flags 0
Bus 1:  i2c@021a4000
Bus 2:  i2c@021a8000

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