1. 20 Nov, 2015 1 commit
  2. 06 Aug, 2015 3 commits
    • Simon Glass's avatar
      cros_ec: Remove the old tunnel code · 24696e2f
      Simon Glass authored
      This is not needed with driver mode. Remove it.
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
    • Simon Glass's avatar
      cros_ec: Support the LDO access method used by spring · f48eaf01
      Simon Glass authored
      Add a driver to support the special LDO access used by spring. This is a
      custom method in the cros_ec protocol - it does not use an I2C
      There are two implementation choices:
      1. Write a special LDO driver which can talk across the EC. Duplicate all
      the logic from TPS65090 for retrying when the LDO fails to come up.
      2. Write a special I2C bus driver which pretends to be a TPS65090 and
      transfers reads and writes using the LDO message.
      Either is distasteful. The latter method is chosen since it results in less
      code duplication and a fairly simple (30-line) implementation of the core
      The crosec 'ldo' subcommand could be removed (since i2c md/mw will work
      instead) but is retained as a convenience.
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
    • Simon Glass's avatar
      dm: cros_ec: Convert the I2C tunnel code to use driver model · cc456bd7
      Simon Glass authored
      The Chrome OS EC supports tunnelling through to an I2C bus on the EC. This
      currently uses a copy of the I2C command code and a special 'crosec'
      With driver model we can define an I2C bus which tunnels through to the EC,
      and use the normal 'i2c' command to access it. This simplifies the code and
      removes some duplication.
      Add an I2C driver which tunnels through to the EC. Adjust the EC code to
      support binding child devices so that it can be set up. Adjust the existing
      I2C xfer function to fit driver model better.
      For now the old code remains to allow things to still work. It will be
      removed in a later patch once the new flow is fully enabled.
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
  3. 18 Apr, 2015 2 commits
  4. 30 Jan, 2015 1 commit
  5. 22 Oct, 2014 1 commit
  6. 18 Mar, 2014 7 commits
  7. 24 Jul, 2013 1 commit
  8. 26 Jun, 2013 1 commit