]> git.dujemihanovic.xyz Git - u-boot.git/commit
imx6: isiotmx6ul: Add I2C support
authorJagan Teki <jagan@amarulasolutions.com>
Fri, 24 Feb 2017 10:02:56 +0000 (15:32 +0530)
committerStefano Babic <sbabic@denx.de>
Fri, 17 Mar 2017 08:27:08 +0000 (09:27 +0100)
commite411e67e1ee3d08f3aeb9a30f9347a2758d12c20
tree1043d13a862da7ae5d0ee0e843e98afaaa7aaf21
parent08a480b4fd26cb6b4a8b80a4e10af96b2b01c446
imx6: isiotmx6ul: Add I2C support

Add I2C support for Engicam Is.IoT MX6UL module.

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

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