ASoC: cros_ec_codec: Add codec driver for Cros EC

Add a codec driver to control ChromeOS EC codec.

Use EC Host command to enable/disable I2S recording and control other
configurations.

Signed-off-by: Cheng-Yi Chiang <cychiang@chromium.org>
Reviewed-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Cheng-Yi Chiang 2019-01-19 19:33:33 +08:00 • committed by Mark Brown
commit b291f42a37
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0
4 changed files with 452 additions and 0 deletions