diff options
author | Cheng-Yi Chiang <cychiang@chromium.org> | 2018-08-13 17:01:31 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-12-20 18:06:17 -0800 |
commit | 01b326eb4c4c7863ebecd8fe42102d784374f7e7 (patch) | |
tree | b4b3875fecacc40d741cf3566fcb2a6b487530c3 /util/ectool.c | |
parent | 76bdf421c5ee0b5db14380dcd3fd5efee6fc1457 (diff) | |
download | chrome-ec-01b326eb4c4c7863ebecd8fe42102d784374f7e7.tar.gz |
audio_codec: add audio codec feature
This CL adds support for the audio codec feature required to support
dmic and I2S operation.
BRANCH=none
BUG=b:116766596
TEST=On cheza verifed recording works using the following kernel
commands and the loading the audio file into audacity.
amixer -c 0 cset iface=MIXER,name='MultiMedia1 Mixer SEC_MI2S_TX' on
amixer -c0 cset numid=27 30,30
arecord -D hw:0,0 -f dat /tmp/rec.wav -d 5
Change-Id: I2b3ba097aaf6a7854551db2033914d00ac3ec275
Signed-off-by: Cheng-Yi Chiang <cychiang@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1192702
Tested-by: Scott Collyer <scollyer@chromium.org>
Reviewed-by: Wai-Hong Tam <waihong@google.com>
Diffstat (limited to 'util/ectool.c')
-rw-r--r-- | util/ectool.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/ectool.c b/util/ectool.c index 51cfd37d7b..5eadc99bfb 100644 --- a/util/ectool.c +++ b/util/ectool.c @@ -645,6 +645,7 @@ static const char * const ec_feature_names[] = { "Tight timestamp for sensors events", [EC_FEATURE_REFINED_TABLET_MODE_HYSTERESIS] = "Refined tablet mode hysteresis", + [EC_FEATURE_AUDIO_CODEC] = "Audio Codec", }; int cmd_inventory(int argc, char *argv[]) |