Skip to content
Snippets Groups Projects
  1. Nov 10, 2014
  2. Nov 07, 2014
  3. Oct 06, 2014
  4. 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
  5. Aug 06, 2014
  6. Jun 02, 2014
  7. May 22, 2014
  8. Jan 03, 2014
  9. Dec 12, 2013
  10. Oct 10, 2013
  11. 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
  12. Aug 19, 2013
  13. Aug 15, 2013
  14. Jun 25, 2013
  15. Jun 12, 2013
  16. Feb 21, 2013
  17. Jan 24, 2013
  18. 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
  19. Sep 14, 2012
  20. Sep 11, 2012
  21. Jul 10, 2012
  22. Jul 09, 2012
  23. Jul 08, 2012
  24. Jul 01, 2012
  25. May 12, 2012
  26. Feb 29, 2012
  27. Feb 01, 2012
  28. Sep 14, 2011
Loading