ASoC: cros_ec_codec: support WoV
authorTzung-Bi Shih <tzungbi@google.com>
Sat, 19 Oct 2019 07:02:51 +0000 (15:02 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 21 Oct 2019 12:52:00 +0000 (13:52 +0100)
commitb6bc07d4360dbf766e551f18e43c67fff6784955
treebb0b5b56c01ce588e7cf45da93dc87de47097b44
parent7d2f70f248ab0e4251591cf7b36cc43281941f56
ASoC: cros_ec_codec: support WoV

1. Get EC codec's capabilities.
2. Get and set SHM address if any.
3. Transmit language model to EC codec if needed.
4. Start to read audio data from EC codec if receives host event.

Signed-off-by: Tzung-Bi Shih <tzungbi@google.com>
Acked-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Link: https://lore.kernel.org/r/20191019143504.1.I5388b69a7a9c551078fed216a77440cee6dedf49@changeid
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/platform/chrome/cros_ec_trace.c
include/linux/platform_data/cros_ec_commands.h
sound/soc/codecs/Kconfig
sound/soc/codecs/cros_ec_codec.c