21 Nov, 2018

1 commit


09 Oct, 2018

3 commits


07 May, 2018

1 commit

  • When U-Boot started using SPDX tags we were among the early adopters and
    there weren't a lot of other examples to borrow from. So we picked the
    area of the file that usually had a full license text and replaced it
    with an appropriate SPDX-License-Identifier: entry. Since then, the
    Linux Kernel has adopted SPDX tags and they place it as the very first
    line in a file (except where shebangs are used, then it's second line)
    and with slightly different comment styles than us.

    In part due to community overlap, in part due to better tag visibility
    and in part for other minor reasons, switch over to that style.

    This commit changes all instances where we have a single declared
    license in the tag as both the before and after are identical in tag
    contents. There's also a few places where I found we did not have a tag
    and have introduced one.

    Signed-off-by: Tom Rini

    Tom Rini
     

01 Jun, 2017

2 commits


03 Dec, 2016

1 commit


12 Oct, 2016

1 commit


08 Oct, 2016

1 commit


20 Nov, 2015

1 commit


06 Aug, 2015

3 commits

  • This is not needed with driver mode. Remove it.

    Signed-off-by: Simon Glass

    Simon Glass
     
  • 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: Simon Glass

    Simon Glass
     
  • 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: Simon Glass

    Simon Glass
     

19 Apr, 2015

2 commits


30 Jan, 2015

1 commit


23 Oct, 2014

1 commit


18 Mar, 2014

7 commits


24 Jul, 2013

1 commit


26 Jun, 2013

1 commit

  • This patch adds the cros_ec driver that implements the protocol for
    communicating with Google's ChromeOS embedded controller.

    Signed-off-by: Bernie Thompson
    Signed-off-by: Bill Richardson
    Signed-off-by: Che-Liang Chiou
    Signed-off-by: Doug Anderson
    Signed-off-by: Gabe Black
    Signed-off-by: Hung-ying Tyan
    Signed-off-by: Louis Yung-Chieh Lo
    Signed-off-by: Randall Spangler
    Signed-off-by: Sean Paul
    Signed-off-by: Simon Glass
    Signed-off-by: Vincent Palatin
    Acked-by: Simon Glass
    Tested-by: Simon Glass

    Hung-ying Tyan