[PATCH 0/5] ASoC: mediatek: Add support for MT8195 sound card with max98390 and rt5682

Trevor Wu
2022-03-08T07:24:55Z

This series of patches adds support for mt8195 board with mt6359, max98390
and rt5682.

Reset controller is included because mt8195 etdm is used to play sound via
max98390 before kernel boot.

In addition, the common part of machine driver is extracted for
simplification.

Patches are based on broonie tree "for-next" branch.

Trevor Wu (5):
ASoC: mediatek: mt8195: add reset controller
dt-bindings: mediatek: mt8195: add reset property
ASoC: mediatek: mt8195: common code for mt8195 machine driver
ASoC: mediatek: mt8195: add machine driver with mt6359, max98390 and
rt5682
dt-bindings: mediatek: mt8195: add mt8195-mt6359-max98390-rt5682
document

.../bindings/sound/mt8195-afe-pcm.yaml | 10 +
.../sound/mt8195-mt6359-max98390-rt5682.yaml | 61 +
sound/soc/mediatek/Kconfig | 16 +
sound/soc/mediatek/mt8195/Makefile | 17 +-
sound/soc/mediatek/mt8195/mt8195-afe-pcm.c | 16 +
.../mediatek/mt8195/mt8195-mt6359-common.c | 398 +++++++
.../mediatek/mt8195/mt8195-mt6359-common.h | 30 +
.../mt8195/mt8195-mt6359-max98390-rt5682.c | 1058 +++++++++++++++++
.../mt8195/mt8195-mt6359-rt1011-rt5682.c | 406 +------
.../mt8195/mt8195-mt6359-rt1019-rt5682.c | 409 +------
10 files changed, 1618 insertions(+), 803 deletions(-)
create mode 100644 Documentation/devicetree/bindings/sound/mt8195-mt6359-max98390-rt5682.yaml
create mode 100644 sound/soc/mediatek/mt8195/mt8195-mt6359-common.c
create mode 100644 sound/soc/mediatek/mt8195/mt8195-mt6359-common.h
create mode 100644 sound/soc/mediatek/mt8195/mt8195-mt6359-max98390-rt5682.c

--
2.18.0