linux_dsm_epyc7002/sound/soc/qcom/qdsp6
Stephan Gerhold 34facb0422
ASoC: dt-bindings: q6asm: Add Q6ASM_DAI_{TX_RX, TX, RX} defines
Right now the direction of a DAI has to be specified as a literal
number in the device tree, e.g.:

	dai@0 {
		reg = <0>;
		direction = <2>;
	};

but this does not make it immediately clear that this is a
playback/RX-only DAI.

Actually, q6asm-dai.c has useful defines for this. Move them to the
dt-bindings header to allow using them in the dts(i) files.
The example above then becomes:

	dai@0 {
		reg = <0>;
		direction = <Q6ASM_DAI_RX>;
	};

which is immediately recognizable as playback/RX-only DAI.

Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20200727082502.2341-1-stephan@gerhold.net
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-07-27 14:21:09 +01:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
q6adm.c ASoC: qcom: qdsp6: Use IS_ERR() instead of IS_ERR_OR_NULL() 2020-07-17 14:47:00 +01:00
q6adm.h ASoC: qdsp6: q6adm: Add q6adm driver 2018-05-21 16:40:24 +01:00
q6afe-dai.c ASoC: q6dsp6: q6afe-dai: add missing channels to MI2S DAIs 2020-04-15 17:58:59 +01:00
q6afe.c ASoC: q6afe: Remove unused q6afe_is_rx_port() function 2020-07-24 15:01:17 +01:00
q6afe.h ASoC: q6afe: Remove unused q6afe_is_rx_port() function 2020-07-24 15:01:17 +01:00
q6asm-dai.c ASoC: dt-bindings: q6asm: Add Q6ASM_DAI_{TX_RX, TX, RX} defines 2020-07-27 14:21:09 +01:00
q6asm.c ASoC: qcom: qdsp6: q6asm: Provide documentation for 'codec_profile' 2020-07-10 15:13:45 +01:00
q6asm.h ASoC: qcom: q6asm: add support for alac and ape configs 2020-03-16 17:52:10 +00:00
q6core.c ASoC: qdsp6: q6core: Use struct_size() in kmemdup() 2019-05-24 13:01:57 +01:00
q6core.h ASoC: qdsp6: q6core: Add q6core driver 2018-05-17 15:49:38 +09:00
q6dsp-common.c
q6dsp-common.h
q6dsp-errno.h
q6routing.c ASoC: qcom: use asoc_substream_to_rtd() 2020-07-23 19:07:33 +01:00
q6routing.h ASoC: qdsp6: q6routing: Add q6routing driver 2018-05-21 16:41:48 +01:00