* [PATCH 0/7] Add cros_ec changes for newer boards
@ 2014-04-17 17:59 Doug Anderson
2014-04-17 18:23 ` Andrew Bresticker
0 siblings, 1 reply; 2+ messages in thread
From: Doug Anderson @ 2014-04-17 17:59 UTC (permalink / raw)
To: Lee Jones, Stephen Warren, Wolfram Sang
Cc: Mark Rutland, Andrew Lunn, linux-doc, abrestic, linux-kernel,
Thierry Reding, linux-i2c, Matt Porter, Jean Delvare,
linux-samsung-soc, Russell King, Samuel Ortiz, Stephen Warren,
Bjorn Andersson, Uwe Kleine-König, Kevin Strasser, dgreid,
devicetree, Pawel Moll, Ian Campbell, Martin Schwidefsky,
Rob Herring, linux-tegra, Vincent Palatin
This series adds the most critical cros_ec changes for newer boards
using cros_ec. Specifically:
* Fixes timing/locking issues with the previously upstreamed (but
never used upstream) cros_ec_spi driver.
* Updates the cros_ec header file to the latest version which allows
us to use newer EC features like i2c tunneling.
* Adds an i2c tunnel driver to allow communication to the EC's i2c
devices.
This _doesn't_ get the EC driver fully up to speed with what's in the
current Chromium OS trees. There are a whole slew of cleanup patches
there, an addition of an LPC transport mode, and exports of functions
to userspace. Once these patches land and we have functionality we
can continue to pick more cleanup patches.
Bill Richardson (1):
mfd: cros_ec: Sync to the latest cros_ec_commands.h from EC sources
David Hendricks (1):
mfd: cros_ec: spi: calculate delay between transfers correctly
Doug Anderson (5):
mfd: cros_ec: spi: Add mutex to cros_ec_spi
mfd: cros_ec: spi: Make the cros_ec_spi timeout more reliable
mfd: cros_ec: spi: Increase cros_ec_spi deadline from 5ms to 100ms
i2c: ChromeOS EC tunnel driver
ARM: tegra: Add the EC i2c tunnel to tegra124-venice2
.../devicetree/bindings/i2c/i2c-cros-ec-tunnel.txt | 36 +
arch/arm/boot/dts/tegra124-venice2.dts | 27 +
drivers/i2c/busses/Kconfig | 9 +
drivers/i2c/busses/Makefile | 1 +
drivers/i2c/busses/i2c-cros-ec-tunnel.c | 304 ++++++
drivers/mfd/cros_ec.c | 7 +-
drivers/mfd/cros_ec_spi.c | 67 +-
include/linux/mfd/cros_ec.h | 4 +-
include/linux/mfd/cros_ec_commands.h | 1128 ++++++++++++++++++--
9 files changed, 1491 insertions(+), 92 deletions(-)
create mode 100644 Documentation/devicetree/bindings/i2c/i2c-cros-ec-tunnel.txt
create mode 100644 drivers/i2c/busses/i2c-cros-ec-tunnel.c
--
1.9.1.423.g4596e3a
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 0/7] Add cros_ec changes for newer boards
2014-04-17 17:59 [PATCH 0/7] Add cros_ec changes for newer boards Doug Anderson
@ 2014-04-17 18:23 ` Andrew Bresticker
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Bresticker @ 2014-04-17 18:23 UTC (permalink / raw)
To: Doug Anderson
Cc: Mark Rutland, Andrew Lunn, Stephen Warren, Wolfram Sang,
Thierry Reding, linux-i2c, Vincent Palatin, Matt Porter,
Lee Jones, Jean Delvare, linux-samsung-soc, Stephen Warren,
Samuel Ortiz, linux-doc, Bjorn Andersson, Uwe Kleine-König,
Kevin Strasser, Dylan Reid, devicetree, Pawel Moll, Ian Campbell,
Martin Schwidefsky
Doug,
> This series adds the most critical cros_ec changes for newer boards
> using cros_ec. Specifically:
> * Fixes timing/locking issues with the previously upstreamed (but
> never used upstream) cros_ec_spi driver.
> * Updates the cros_ec header file to the latest version which allows
> us to use newer EC features like i2c tunneling.
> * Adds an i2c tunnel driver to allow communication to the EC's i2c
> devices.
>
> This _doesn't_ get the EC driver fully up to speed with what's in the
> current Chromium OS trees. There are a whole slew of cleanup patches
> there, an addition of an LPC transport mode, and exports of functions
> to userspace. Once these patches land and we have functionality we
> can continue to pick more cleanup patches.
I can now talk to the charger and battery over the tunnel on my
Venice2 and other communication with the EC still works, so:
Tested-by: Andrew Bresticker <abrestic@chromium.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-04-17 18:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-17 17:59 [PATCH 0/7] Add cros_ec changes for newer boards Doug Anderson
2014-04-17 18:23 ` Andrew Bresticker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox