]> git.sur5r.net Git - u-boot/commit
imx6: geam6ul: Add I2C support
authorJagan Teki <jagan@amarulasolutions.com>
Tue, 13 Dec 2016 16:56:54 +0000 (17:56 +0100)
committerStefano Babic <sbabic@denx.de>
Fri, 16 Dec 2016 16:16:10 +0000 (17:16 +0100)
commitd31373c4acf6ffa8ecc496644263db61c98a6c9d
tree882103d6da0125e40cff27985bdd8ca20f40833c
parent6116da989009bdfe3397f58b3e05461ab5cb3852
imx6: geam6ul: Add I2C support

Add I2C support for Engicam GEAM6UL module.

geam6ul> i2c bus
Bus 0:  i2c@021a0000
Bus 1:  i2c@021a4000
geam6ul> i2c dev 0
Setting bus to 0
geam6ul> i2c dev
Current bus is 0
geam6ul> i2c speed 100000
Setting bus speed to 100000 Hz
geam6ul> i2c probe
Valid chip addresses: 2C
geam6ul> 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: 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/imx6ul_geam_mmc_defconfig