Skip to content
Snippets Groups Projects
  1. Oct 08, 2016
  2. Sep 23, 2016
  3. Jul 27, 2016
  4. Nov 20, 2015
  5. Aug 06, 2015
    • 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>
      24696e2f
    • 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
      pass-through.
      
      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
      logic.
      
      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>
      f48eaf01
    • 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'
      sub-command.
      
      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>
      cc456bd7
  6. May 06, 2015
  7. Apr 18, 2015
  8. Apr 17, 2015
  9. Jan 30, 2015
  10. Nov 22, 2014
  11. Oct 22, 2014
  12. Mar 18, 2014
  13. Jul 24, 2013
  14. Jun 26, 2013
Loading