[v8 0/4] ASoC: mediatek: mt8192: support rt1015p_rt5682s

From: Jiaxin Yu
Date: Sat Apr 02 2022 - 01:18:14 EST


The series reuses mt8192-mt6359-rt10150rt5682.c for supporting machine
driver with rt1015p speaker amplifier and rt5682s headset codec.

Changes from v7:
- "mediatek,hdmi-codec" is an optional property, the code and the
binding document should match.

Changes from v6:
- "speaker-codec" changes to "speaker-codecs" due to there may be two
speaker codec.

Changes from v5:
- "mediatek,headset-codec" and "mediatek,speaker-codec" drop prefix
and move to properties from patternProperties.

Changes form v4:
- split a large patch into three small patches for easy reviewing
- correct coding style

Changes from v3:
- fix build error: too many arguments for format
[-Werror-format-extra-args]

Changes from v2:
- fix build warnings such as "data argument not used by format string"

Changes from v1:
- uses the snd_soc_of_get_dai_link_codecs to complete the
configuration of dai_link's codecs
- uses definitions to simplifies card name and compatible name

Jiaxin Yu (4):
ASoC: dt-bindings: mt8192-mt6359: add new compatible and new
properties
ASoC: mediatek: mt8192: refactor for I2S3 DAI link of speaker
ASoC: mediatek: mt8192: refactor for I2S8/I2S9 DAI links of headset
ASoC: mediatek: mt8192: support rt1015p_rt5682s

.../sound/mt8192-mt6359-rt1015-rt5682.yaml | 32 +++
sound/soc/mediatek/Kconfig | 1 +
.../mt8192/mt8192-mt6359-rt1015-rt5682.c | 199 +++++++++++-------
3 files changed, 153 insertions(+), 79 deletions(-)

--
2.18.0