Home
last modified time | relevance | path

Searched hist:"30 ea41a4" (Results 1 – 1 of 1) sorted by relevance

/openbmc/u-boot/drivers/i2c/
H A Dmxc_i2c.c30ea41a4 Mon Jun 17 02:30:39 CDT 2013 Alison Wang <b18965@freescale.com> I2C: mxc_i2c: Add support for Vybrid VF610 platform

This patch adds support for Vybrid VF610 platform.

There are some differences between i.MX6 and Vybrid for I2C controller.
(1) The registers' offset are different.
(2) The I2C clock divider values are different.
(3) In I2C control register, the enable/disable/reset bit is inverted for Vybrid comparing to i.MX6.
(4) In I2C status register, the interrupt flag bit is cleared by writing "1" for Vybrid.
For i.MX6, this bit is cleared by writing "0".
(5) In I2C status register, the arbitration lost flag bit is cleared by writing "1" for Vybrid.
For i.MX6, this bit is cleared by writing "0".

Signed-off-by: Alison Wang <b18965@freescale.com>