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