mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-25 00:51:28 +07:00
34facb0422
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> |
||
---|---|---|
.. | ||
apq8016-lpass.h | ||
audio-jack-events.h | ||
cs35l32.h | ||
cs42l42.h | ||
fsl-imx-audmux.h | ||
madera.h | ||
meson-aiu.h | ||
meson-g12a-toacodec.h | ||
meson-g12a-tohdmitx.h | ||
qcom,q6afe.h | ||
qcom,q6asm.h | ||
rt5640.h | ||
rt5651.h | ||
samsung-i2s.h | ||
tas2552.h | ||
tlv320aic31xx-micbias.h |