1. 20 10月, 2014 1 次提交
  2. 07 10月, 2014 1 次提交
  3. 30 9月, 2014 1 次提交
    • H
      i2c: imx: Add arbitration lost check · 639a26cf
      Haibo Chen 提交于
      According to the i.mx spec, for multimaster mode, if I2C is
      enabled when the bus is busy and asserts start, hardware inhibits
      the transmission, clears MSTA without signaling a stop, generate
      an interrupt, and set I2C_I2SR[IAL] to indicate a failed attempt
      to engage the bus, which means arbitration lost. In this case,
      we should first test I2C_I2SR[IAL], and clear this bit if it is
      set, and then I2C controller default to slave receive mode.
      
      This patch check the IAL bit every time before an I2c transmission.
      if IAL is set, clear it and make I2C controller to default mode.
      Signed-off-by: NHaibo Chen <haibo.chen@freescale.com>
      Acked-by: NFugang Duan <B38611@freescale.com>
      Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
      639a26cf
  4. 07 8月, 2014 1 次提交
  5. 03 6月, 2014 3 次提交
  6. 22 5月, 2014 1 次提交
  7. 04 1月, 2014 1 次提交
  8. 13 12月, 2013 1 次提交
  9. 10 10月, 2013 1 次提交
  10. 23 8月, 2013 1 次提交
    • W
      i2c: move OF helpers into the core · 687b81d0
      Wolfram Sang 提交于
      I2C of helpers used to live in of_i2c.c but experience (from SPI) shows
      that it is much cleaner to have this in the core. This also removes a
      circular dependency between the helpers and the core, and so we can
      finally register child nodes in the core instead of doing this manually
      in each driver. So, fix the drivers and documentation, too.
      Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
      687b81d0
  11. 20 8月, 2013 1 次提交
  12. 15 8月, 2013 8 次提交
  13. 26 6月, 2013 1 次提交
  14. 13 6月, 2013 2 次提交
  15. 22 2月, 2013 1 次提交
  16. 25 1月, 2013 1 次提交
  17. 15 10月, 2012 1 次提交
    • S
      i2c: imx: remove cpu_is_xxx by using platform_device_id · 5bdfba29
      Shawn Guo 提交于
      This is some amount of work left/forgot from device tree conversion.
      Instead of checking cpu_is_xxx to determine the controller type, the
      driver should use platform_device_id, which should match the device
      tree compatible string.
      
      The patch changes the driver to use platform_device_id rather than
      cpu_is_xxx to determine the controller type/version.  It also updates
      the platform code and device tree source accordingly.
      
      As the result, mach/hardware.h inclusion gets removed from the driver.
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      Acked-by: NSascha Hauer <s.hauer@pengutronix.de>
      Acked-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Wolfram Sang <w.sang@pengutronix.de>
      Cc: linux-i2c@vger.kernel.org
      5bdfba29
  18. 14 9月, 2012 1 次提交
  19. 12 9月, 2012 2 次提交
  20. 10 7月, 2012 1 次提交
  21. 09 7月, 2012 1 次提交
  22. 08 7月, 2012 1 次提交
  23. 01 7月, 2012 1 次提交
  24. 12 5月, 2012 2 次提交
  25. 01 3月, 2012 1 次提交
  26. 01 2月, 2012 1 次提交
  27. 15 9月, 2011 2 次提交