platform/chrome: cros_ec: add common commands for EC codec
authorTzung-Bi Shih <tzungbi@google.com>
Thu, 17 Oct 2019 14:00:09 +0000 (22:00 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 18 Oct 2019 17:13:02 +0000 (18:13 +0100)
commit104c6f8f7ff859ddd53b69c4af11e83f2971f0c4
treedb816f6c50bb9f2f10cfccbd2c41923dfcdf5054
parent2d39a1fc19ea2d33fd68f5d02e6136ddaae2ac11
platform/chrome: cros_ec: add common commands for EC codec

Add the following common commands:
- GET_CAPABILITIES
- GET_SHM_ADDR
- SET_SHM_ADDR

Acked-by: Benson Leung <bleung@chromium.org>
Signed-off-by: Tzung-Bi Shih <tzungbi@google.com>
Link: https://lore.kernel.org/r/20191017213539.04.Idc3c6e1cd94b70bf010249928d4a93c6c90495b7@changeid
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/platform/chrome/cros_ec_trace.c
include/linux/platform_data/cros_ec_commands.h