platform/chrome: Add new driver for Wilco EC
This EC is an incompatible variant of the typical Chrome OS embedded controller. It uses the same low-level communication and a similar protocol with some significant differences. The EC firmware does not support the same mailbox commands so it is not registered as a cros_ec device type. This commit exports the wilco_ec_mailbox() function so that other modules can use it to communicate with the EC. Signed-off-by:Duncan Laurie <dlaurie@google.com> Signed-off-by:
Nick Crews <ncrews@chromium.org> [Fix the sparse warning: symbol 'wilco_ec_transfer' was not declared] Signed-off-by:
Wei Yongjun <weiyongjun1@huawei.com> [Fix Kconfig dependencies for wilco_ec] Reported-by:
Randy Dunlap <rdunlap@infradead.org> Signed-off-by:
Enric Balletbo i Serra <enric.balletbo@collabora.com>
Showing
- drivers/platform/chrome/Kconfig 2 additions, 0 deletionsdrivers/platform/chrome/Kconfig
- drivers/platform/chrome/Makefile 2 additions, 0 deletionsdrivers/platform/chrome/Makefile
- drivers/platform/chrome/wilco_ec/Kconfig 10 additions, 0 deletionsdrivers/platform/chrome/wilco_ec/Kconfig
- drivers/platform/chrome/wilco_ec/Makefile 4 additions, 0 deletionsdrivers/platform/chrome/wilco_ec/Makefile
- drivers/platform/chrome/wilco_ec/core.c 104 additions, 0 deletionsdrivers/platform/chrome/wilco_ec/core.c
- drivers/platform/chrome/wilco_ec/mailbox.c 237 additions, 0 deletionsdrivers/platform/chrome/wilco_ec/mailbox.c
- include/linux/platform_data/wilco-ec.h 140 additions, 0 deletionsinclude/linux/platform_data/wilco-ec.h
Loading
Please register or sign in to comment