[PATCH v4 0/9] ASoC: mediatek: mt8188: revise AFE driver

From: Trevor Wu
Date: Tue May 09 2023 - 23:56:52 EST


The series of patches consists of four major changes.
First, remove redundant supply for ADDA DAI dirver. Second, revise ETDM
control including APLL dynamic switch via DAPM, so APLL can be enabled
when it is really required. Third, update AFE probe function. Bus
protection change was dropped at the previous patch because the dependent
change was not accepted at that time. Finally, correct some binding errors
and add required clocks.

Changes since v3:
- correct errors in binding file
- add required clocks which are possibly used in the future

Changes since v2:
- remove required properties in dt-binding file

Changes since v1:
- replace unnecessary dev_info with dev_dbg
- fix dt-binging ABI breaking behavior

Trevor Wu (9):
ASoC: mediatek: mt8188: remove supply AUDIO_HIRES
ASoC: mediatek: mt8188: complete set_tdm_slot function
ASoC: mediatek: mt8188: revise ETDM control flow
ASoC: mediatek: mt8188: refine APLL control
ASoC: mediatek: mt8188: combine afe component registration
ASoC: mediatek: mt8188: add bus protection
ASoC: mediatek: mt8188: add required clocks
ASoC: dt-bindings: mediatek,mt8188-afe: correct clock name
ASoC: dt-bindings: mediatek,mt8188-afe: add audio properties

.../bindings/sound/mediatek,mt8188-afe.yaml | 66 +-
sound/soc/mediatek/mt8188/mt8188-afe-clk.c | 142 ++-
sound/soc/mediatek/mt8188/mt8188-afe-clk.h | 15 +
sound/soc/mediatek/mt8188/mt8188-afe-pcm.c | 113 ++-
sound/soc/mediatek/mt8188/mt8188-dai-adda.c | 37 -
sound/soc/mediatek/mt8188/mt8188-dai-etdm.c | 922 ++++++++++--------
sound/soc/mediatek/mt8188/mt8188-reg.h | 2 +
7 files changed, 795 insertions(+), 502 deletions(-)

--
2.18.0