summaryrefslogtreecommitdiffstats
path: root/sound/soc/generic/Kconfig
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2021-10-12 06:53:38 +0200
committerMark Brown <broonie@kernel.org>2021-10-15 17:10:35 +0200
commitd293abc0c8fbb7b1610b9f7497323028b06cd5f8 (patch)
tree177e92b35106c038ea42ed0f01dac392877fb5fa /sound/soc/generic/Kconfig
parentASoC: test-component: add Test Component YAML bindings (diff)
downloadlinux-d293abc0c8fbb7b1610b9f7497323028b06cd5f8.tar.xz
linux-d293abc0c8fbb7b1610b9f7497323028b06cd5f8.zip
ASoC: test-component: add Test Component for Sound debug/test
We already have dummy-codec, dummy-platform. But its issues are 1) we don't have dummy-cpu, 2) we can't select it via DeviceTree 3) It do nothing Sometimes we want to have Dummy Sound Component for debugging, for testing, for learning Framework behavior, etc, etc... This patch adds Test-Component driver for it. User can select CPU Component by using "test-cpu" compatible, and can select Codec Component by using "test-codec" compatible. It doesn't support Platform so far, but is easy to add. We can verbose print to know its progress if user selected xxx-verbose compatible driver. for example, test-cpu : silent Component, silent DAI test-cpu-verbose-component : verbose Component, silent DAI test-cpu-verbose-dai : silent Component, verbose DAI test-cpu-verbose : verbose Component, verbose DAI Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Link: https://lore.kernel.org/r/877dein8rx.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/generic/Kconfig')
-rw-r--r--sound/soc/generic/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/sound/soc/generic/Kconfig b/sound/soc/generic/Kconfig
index 4cafcf0e2bbf..bb734780669e 100644
--- a/sound/soc/generic/Kconfig
+++ b/sound/soc/generic/Kconfig
@@ -17,3 +17,9 @@ config SND_AUDIO_GRAPH_CARD
This option enables generic simple sound card support
with OF-graph DT bindings.
It also support DPCM of multi CPU single Codec ststem.
+
+config SND_TEST_COMPONENT
+ tristate "ASoC Test component sound support"
+ depends on OF
+ help
+ This option enables test component sound driver support.