[RFC RESEND PATCH 0/2] ASoC: airoha: Add initial driver AN7581

Christian Marangi posted 2 patches 2 months ago
.../sound/mediatek}/mtk-afe-fe-dai.h          |   0
.../sound/mediatek}/mtk-afe-platform-driver.h |   0
sound/soc/Makefile                            |   1 +
sound/soc/airoha/Kconfig                      |  10 +
sound/soc/airoha/Makefile                     |   2 +
sound/soc/airoha/an7581/Makefile              |   7 +
sound/soc/airoha/an7581/an7581-afe-common.h   |  35 ++
sound/soc/airoha/an7581/an7581-afe-pcm.c      | 455 ++++++++++++++++++
sound/soc/airoha/an7581/an7581-reg.h          |  29 ++
sound/soc/mediatek/common/mtk-afe-fe-dai.c    |   4 +-
.../mediatek/common/mtk-afe-platform-driver.c |   2 +-
sound/soc/mediatek/mt2701/mt2701-afe-pcm.c    |   4 +-
sound/soc/mediatek/mt6797/mt6797-afe-pcm.c    |   4 +-
sound/soc/mediatek/mt7986/mt7986-afe-pcm.c    |   4 +-
sound/soc/mediatek/mt8173/mt8173-afe-pcm.c    |   4 +-
sound/soc/mediatek/mt8183/mt8183-afe-pcm.c    |   4 +-
.../mediatek/mt8183/mt8183-da7219-max98357.c  |   2 +-
.../mt8183/mt8183-mt6358-ts3a227-max98357.c   |   2 +-
sound/soc/mediatek/mt8186/mt8186-afe-pcm.c    |   4 +-
.../soc/mediatek/mt8186/mt8186-misc-control.c |   4 +-
.../mediatek/mt8186/mt8186-mt6366-common.c    |   2 +-
sound/soc/mediatek/mt8186/mt8186-mt6366.c     |   2 +-
sound/soc/mediatek/mt8188/mt8188-afe-pcm.c    |   4 +-
sound/soc/mediatek/mt8188/mt8188-mt6359.c     |   2 +-
sound/soc/mediatek/mt8192/mt8192-afe-pcm.c    |   4 +-
.../mt8192/mt8192-mt6359-rt1015-rt5682.c      |   2 +-
sound/soc/mediatek/mt8195/mt8195-afe-pcm.c    |   4 +-
sound/soc/mediatek/mt8195/mt8195-mt6359.c     |   2 +-
sound/soc/mediatek/mt8365/mt8365-afe-pcm.c    |   4 +-
29 files changed, 571 insertions(+), 32 deletions(-)
rename {sound/soc/mediatek/common => include/sound/mediatek}/mtk-afe-fe-dai.h (100%)
rename {sound/soc/mediatek/common => include/sound/mediatek}/mtk-afe-platform-driver.h (100%)
create mode 100644 sound/soc/airoha/Kconfig
create mode 100644 sound/soc/airoha/Makefile
create mode 100644 sound/soc/airoha/an7581/Makefile
create mode 100644 sound/soc/airoha/an7581/an7581-afe-common.h
create mode 100644 sound/soc/airoha/an7581/an7581-afe-pcm.c
create mode 100644 sound/soc/airoha/an7581/an7581-reg.h
[RFC RESEND PATCH 0/2] ASoC: airoha: Add initial driver AN7581
Posted by Christian Marangi 2 months ago
This is an initial series to add the Sound system for Airoha AN7581.

It's based mainly on the Mediatek AFE system with some bigger
changes for additional Codec (that will be submitted later)

A small cleanup to make it possible to use the Mediatek AFE
header and API without having to use complex redirection to
reach the local header.

Posting as RFC to make sure these rework changes are happly
accepted.

Christian Marangi (2):
  ASoC: mediatek: move some header to global include
  ASoC: airoha: Add AFE driver for Airoha AN7581

 .../sound/mediatek}/mtk-afe-fe-dai.h          |   0
 .../sound/mediatek}/mtk-afe-platform-driver.h |   0
 sound/soc/Makefile                            |   1 +
 sound/soc/airoha/Kconfig                      |  10 +
 sound/soc/airoha/Makefile                     |   2 +
 sound/soc/airoha/an7581/Makefile              |   7 +
 sound/soc/airoha/an7581/an7581-afe-common.h   |  35 ++
 sound/soc/airoha/an7581/an7581-afe-pcm.c      | 455 ++++++++++++++++++
 sound/soc/airoha/an7581/an7581-reg.h          |  29 ++
 sound/soc/mediatek/common/mtk-afe-fe-dai.c    |   4 +-
 .../mediatek/common/mtk-afe-platform-driver.c |   2 +-
 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c    |   4 +-
 sound/soc/mediatek/mt6797/mt6797-afe-pcm.c    |   4 +-
 sound/soc/mediatek/mt7986/mt7986-afe-pcm.c    |   4 +-
 sound/soc/mediatek/mt8173/mt8173-afe-pcm.c    |   4 +-
 sound/soc/mediatek/mt8183/mt8183-afe-pcm.c    |   4 +-
 .../mediatek/mt8183/mt8183-da7219-max98357.c  |   2 +-
 .../mt8183/mt8183-mt6358-ts3a227-max98357.c   |   2 +-
 sound/soc/mediatek/mt8186/mt8186-afe-pcm.c    |   4 +-
 .../soc/mediatek/mt8186/mt8186-misc-control.c |   4 +-
 .../mediatek/mt8186/mt8186-mt6366-common.c    |   2 +-
 sound/soc/mediatek/mt8186/mt8186-mt6366.c     |   2 +-
 sound/soc/mediatek/mt8188/mt8188-afe-pcm.c    |   4 +-
 sound/soc/mediatek/mt8188/mt8188-mt6359.c     |   2 +-
 sound/soc/mediatek/mt8192/mt8192-afe-pcm.c    |   4 +-
 .../mt8192/mt8192-mt6359-rt1015-rt5682.c      |   2 +-
 sound/soc/mediatek/mt8195/mt8195-afe-pcm.c    |   4 +-
 sound/soc/mediatek/mt8195/mt8195-mt6359.c     |   2 +-
 sound/soc/mediatek/mt8365/mt8365-afe-pcm.c    |   4 +-
 29 files changed, 571 insertions(+), 32 deletions(-)
 rename {sound/soc/mediatek/common => include/sound/mediatek}/mtk-afe-fe-dai.h (100%)
 rename {sound/soc/mediatek/common => include/sound/mediatek}/mtk-afe-platform-driver.h (100%)
 create mode 100644 sound/soc/airoha/Kconfig
 create mode 100644 sound/soc/airoha/Makefile
 create mode 100644 sound/soc/airoha/an7581/Makefile
 create mode 100644 sound/soc/airoha/an7581/an7581-afe-common.h
 create mode 100644 sound/soc/airoha/an7581/an7581-afe-pcm.c
 create mode 100644 sound/soc/airoha/an7581/an7581-reg.h

-- 
2.50.0