1. 24 10月, 2015 1 次提交
  2. 24 8月, 2015 2 次提交
    • J
      i2c: Replace I2C_CROS_EC_TUNNEL dependency · 480b141a
      Javier Martinez Canillas 提交于
      The ChromeOS EC tunnel I2C bus driver depend on CROS_EC_PROTO but
      MFD_CROS_EC select CROS_EC_PROTO instead. Mixing select and depends
      on is bad practice as it may lead to circular Kconfig dependencies.
      
      Since the platform device that is matched with the I2C bus driver
      is registered by the ChromeOS EC mfd driver, I2C_CROS_EC_TUNNEL
      really depends on MFD_CROS_EC. And because this config option
      selects CROS_EC_PROTO, that dependency is met as well. So make the
      driver to depend on MFD_CROS_EC instead of CROS_EC_PROTO.
      Signed-off-by: NJavier Martinez Canillas <javier@osg.samsung.com>
      Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
      480b141a
    • J
      i2c: lpc2k: add driver · 3f9c37a0
      Joachim Eastwood 提交于
      Add support for the I2C controller found on several NXP devices
      including LPC2xxx, LPC178x/7x and LPC18xx/43xx. The controller
      is implemented as a state machine and the driver act upon the
      state changes when the bus is accessed.
      
      The I2C controller supports master/slave operation, bus
      arbitration, programmable clock rate, and speeds up to 1 Mbit/s.
      Signed-off-by: NJoachim Eastwood <manabian@gmail.com>
      Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
      3f9c37a0
  3. 10 8月, 2015 1 次提交
  4. 10 7月, 2015 1 次提交
  5. 15 6月, 2015 1 次提交
  6. 10 6月, 2015 1 次提交
  7. 01 6月, 2015 1 次提交
  8. 13 5月, 2015 1 次提交
  9. 12 5月, 2015 1 次提交
  10. 11 4月, 2015 1 次提交
  11. 04 4月, 2015 1 次提交
  12. 22 3月, 2015 1 次提交
  13. 20 2月, 2015 1 次提交
  14. 17 2月, 2015 1 次提交
  15. 06 2月, 2015 1 次提交
  16. 27 1月, 2015 2 次提交
  17. 26 1月, 2015 1 次提交
  18. 18 12月, 2014 1 次提交
  19. 14 12月, 2014 1 次提交
  20. 24 11月, 2014 1 次提交
  21. 19 11月, 2014 1 次提交
  22. 18 11月, 2014 2 次提交
  23. 13 11月, 2014 1 次提交
  24. 11 11月, 2014 1 次提交
  25. 16 10月, 2014 2 次提交
  26. 07 10月, 2014 1 次提交
  27. 03 10月, 2014 2 次提交
  28. 26 9月, 2014 1 次提交
  29. 05 8月, 2014 1 次提交
  30. 18 7月, 2014 1 次提交
  31. 17 7月, 2014 2 次提交
  32. 12 6月, 2014 2 次提交
  33. 03 6月, 2014 1 次提交
    • D
      i2c: ChromeOS EC tunnel driver · 9d230c9e
      Doug Anderson 提交于
      On ARM Chromebooks we have a few devices that are accessed by both the
      AP (the main "Application Processor") and the EC (the Embedded
      Controller).  These are:
      * The battery (sbs-battery).
      * The power management unit tps65090.
      
      On the original Samsung ARM Chromebook these devices were on an I2C
      bus that was shared between the AP and the EC and arbitrated using
      some extranal GPIOs (see i2c-arb-gpio-challenge).
      
      The original arbitration scheme worked well enough but had some
      downsides:
      * It was nonstandard (not using standard I2C multimaster)
      * It only worked if the EC-AP communication was I2C
      * It was relatively hard to debug problems (hard to tell if i2c issues
        were caused by the EC, the AP, or some device on the bus).
      
      On the HP Chromebook 11 the design was changed to:
      * The AP/EC comms were still i2c, but the battery/tps65090 were no
        longer on the bus used for AP/EC communication.  The battery was
        exposed to the AP through a limited i2c tunnel and tps65090 was
        exposed to the AP through a custom Linux driver.
      
      On the Samsung ARM Chromebook 2 the scheme is changed yet again, now:
      * The AP/EC comms are now using SPI for faster speeds.
      * The EC's i2c bus is exposed to the AP through a full i2c tunnel.
      
      The upstream "tegra124-venice2" uses the same scheme as the Samsung
      ARM Chromebook 2, though it has a different set of components on the
      other side of the bus.
      
      This driver supports the scheme used by the Samsung ARM Chromebook 2.
      Future patches to this driver could add support for the battery tunnel
      on the HP Chromebook 11 (and perhaps could even be used to access
      tps65090 on the HP Chromebook 11 instead of using a special driver,
      but I haven't researched that enough).
      Signed-off-by: NVincent Palatin <vpalatin@chromium.org>
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      Signed-off-by: NDoug Anderson <dianders@chromium.org>
      Reviewed-by: NWolfram Sang <wsa@the-dreams.de>
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      9d230c9e