Skip to content
Snippets Groups Projects
  1. Oct 23, 2015
  2. May 12, 2015
  3. Mar 15, 2015
  4. Jan 22, 2015
  5. Jan 14, 2015
  6. Jan 13, 2015
  7. Nov 19, 2014
  8. Nov 18, 2014
  9. Nov 10, 2014
  10. Nov 07, 2014
  11. Oct 20, 2014
  12. Oct 06, 2014
  13. Sep 29, 2014
    • Haibo Chen's avatar
      i2c: imx: Add arbitration lost check · 639a26cf
      Haibo Chen authored
      
      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: default avatarHaibo Chen <haibo.chen@freescale.com>
      Acked-by: default avatarFugang Duan <B38611@freescale.com>
      Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
      639a26cf
  14. Aug 06, 2014
  15. Jun 02, 2014
  16. May 22, 2014
  17. Jan 03, 2014
  18. Dec 12, 2013
  19. Oct 10, 2013
  20. Aug 23, 2013
    • Wolfram Sang's avatar
      i2c: move OF helpers into the core · 687b81d0
      Wolfram Sang authored
      
      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: default avatarWolfram Sang <wsa@the-dreams.de>
      687b81d0
  21. Aug 19, 2013
  22. Aug 15, 2013
  23. Jun 25, 2013
  24. Jun 12, 2013
  25. Feb 21, 2013
  26. Jan 24, 2013
  27. Oct 15, 2012
    • Shawn Guo's avatar
      i2c: imx: remove cpu_is_xxx by using platform_device_id · 5bdfba29
      Shawn Guo authored
      
      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: default avatarShawn Guo <shawn.guo@linaro.org>
      Acked-by: default avatarSascha Hauer <s.hauer@pengutronix.de>
      Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
      Cc: Wolfram Sang <w.sang@pengutronix.de>
      Cc: linux-i2c@vger.kernel.org
      5bdfba29
  28. Sep 14, 2012
  29. Sep 11, 2012
Loading