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: NDuncan Laurie <dlaurie@google.com> Signed-off-by: NNick Crews <ncrews@chromium.org> [Fix the sparse warning: symbol 'wilco_ec_transfer' was not declared] Signed-off-by: NWei Yongjun <weiyongjun1@huawei.com> [Fix Kconfig dependencies for wilco_ec] Reported-by: NRandy Dunlap <rdunlap@infradead.org> Signed-off-by: NEnric Balletbo i Serra <enric.balletbo@collabora.com>
Showing
想要评论请 注册 或 登录