OpenCloudOS-Kernel/sound/soc/mediatek/common
Trevor Wu c0e7390e6d
ASoC: mediatek: common: soundcard driver add dai_fmt support
There are two changes included in the patch.

First, add set_dailink_daifmt() function, so dai_fmt can be updated by
the configuration in dai-link sub node.

Second, remove codec phandle from required property in dai-link sub node.
For example, user possibly needs to update dai-format for all etdm
co-clock dai-links, but codec doesn't need to be specified in capture
dai-link for a speaker amp.

Signed-off-by: Trevor Wu <trevor.wu@mediatek.com>
Reviewed-by: Alexandre Mergnat <amergnat@baylibre.com>
Link: https://lore.kernel.org/r/20230526093150.22923-5-trevor.wu@mediatek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2023-06-02 13:29:08 +01:00
..
Makefile ASoC: mediatek: common: add soundcard driver common code 2023-01-16 11:16:29 +00:00
mtk-afe-fe-dai.c ASoC: mediatek: remove unnecessary initialization 2021-10-27 11:31:12 +01:00
mtk-afe-fe-dai.h ASoC: mediatek: move .suspend/.resume to component 2020-01-21 17:03:54 +00:00
mtk-afe-platform-driver.c ASoC: mediatek: use asoc_substream_to_rtd() 2020-07-23 19:07:32 +01:00
mtk-afe-platform-driver.h ASoC: mediatek: Use managed buffer allocation 2019-12-12 15:41:13 +00:00
mtk-base-afe.h ASoC: mediatek: common: add SMC ops and SMC CMD 2023-01-16 11:16:20 +00:00
mtk-btcvsd.c ASoC: mediatek: mtk-btcvsd: Convert to platform remove callback returning void 2023-03-20 13:08:35 +00:00
mtk-dsp-sof-common.c ASoC: mediatek: use helper function 2023-01-31 11:05:02 +00:00
mtk-dsp-sof-common.h ASoC: mediatek: mt8195: extract SOF common code 2022-07-18 13:45:16 +01:00
mtk-soc-card.h ASoC: mediatek: mt8195: extract SOF common code 2022-07-18 13:45:16 +01:00
mtk-soundcard-driver.c ASoC: mediatek: common: soundcard driver add dai_fmt support 2023-06-02 13:29:08 +01:00
mtk-soundcard-driver.h ASoC: mediatek: common: add soundcard driver common code 2023-01-16 11:16:29 +00:00