summaryrefslogtreecommitdiff
path: root/include/config.h
diff options
context:
space:
mode:
authorTzung-Bi Shih <tzungbi@chromium.org>2019-05-17 11:22:53 +0800
committerCommit Bot <commit-bot@chromium.org>2019-09-17 14:56:58 +0000
commit0ba3ba3049226e92d6cf64ed06031ec9a3bb7949 (patch)
treeb4f3aff83258c93042ad2b3a02bda7f2f50e3af3 /include/config.h
parentbb5d21d349efbc12fa5596a811a241508621e64d (diff)
downloadchrome-ec-0ba3ba3049226e92d6cf64ed06031ec9a3bb7949.tar.gz
audio_codec: add DMIC abstract layer
Common DMIC host commands: - get_max_gain - get_gain_idx - set_gain_idx BRANCH=none BUG=b:122027734, b:123268236 TEST=1. define CONFIG_AUDIO_CODEC in board.h 2. define CONFIG_AUDIO_CODEC_DMIC in board.h 3. make BOARD=kukui_scp -j Change-Id: I7b4cc11645675f9d790947b17c3ea385dae13483 Signed-off-by: Tzung-Bi Shih <tzungbi@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1564502 Commit-Queue: Sean Abraham <seanabraham@chromium.org> Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Diffstat (limited to 'include/config.h')
-rw-r--r--include/config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index b09f26555b..b39196140a 100644
--- a/include/config.h
+++ b/include/config.h
@@ -352,6 +352,8 @@
/* Support audio codec. */
#undef CONFIG_AUDIO_CODEC
+/* Support audio codec on DMIC. */
+#undef CONFIG_AUDIO_CODEC_DMIC
/* Allow proprietary communication protocols' extensions. */
#undef CONFIG_EXTENSION_COMMAND