From: Christian Marangi <ansuelsmth@gmail.com>
To: Christian Marangi <ansuelsmth@gmail.com>,
Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
Matthias Brugger <matthias.bgg@gmail.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>,
Philipp Zabel <p.zabel@pengutronix.de>,
Cyril Chao <Cyril.Chao@mediatek.com>,
Darren Ye <darren.ye@mediatek.com>,
Rosen Penev <rosenp@gmail.com>,
Daniel Golle <daniel@makrotopia.org>,
bui duc phuc <phucduc.bui@gmail.com>,
linux-sound@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-mediatek@lists.infradead.org
Subject: [PATCH v6 0/5] ASoC: Add support for Airoha AN7581
Date: Tue, 8 Sep 2026 11:04:42 +0200 [thread overview]
Message-ID: <20260908090448.3332-1-ansuelsmth@gmail.com> (raw)
Add all the patch and documentation to support Airoha AN7581
sound driver.
The card follows similar implementation with Mediatek with
the codec present on i2c but with a simplified implementation
register wise and additional frequency supported.
Changes v6:
- Fix PCM probe allocation logic
- Split driver patch to dedicated PCM/ETDM patch and machine driver
Changes v5:
- Address comments from bot
- Better handle concurrent irq status bit
- Protect enable etdm
- Add Review tag for documentation patch
- Address formal comments from Cezary
Changes v4:
- Improve Documentation YAML
- Move IRQ regmap to mtk_base_afe_irq
- Use mutex for user tracking in ETDM
- Register IRQ after memif allocation
- Address suggestion from bot
Changes v3:
- Major fix to the ETDM code
- Add duplex support
- Improve Kconfig setup
- Rework and improve YAML schema
Changes v2:
- Fix wrong edit in MAINTAINERS file
Christian Marangi (5):
ASoC: dt-bindings: Add Airoha AN7581 AFE Sound card
ASoC: dt-bindings: Add Airoha AN7581 AFE with WM8960 Codec schema
ASoC: mediatek: common: permit to provide dedicated regmap for irq
ASoC: airoha: Add AFE driver for Airoha AN7581
ASoC: airoha: Add machine driver for Airoha AN7581
.../bindings/sound/airoha,an7581-afe.yaml | 41 ++
.../bindings/sound/airoha,an7581-wm8960.yaml | 71 +++
MAINTAINERS | 8 +
sound/soc/mediatek/Kconfig | 27 +-
sound/soc/mediatek/Makefile | 1 +
sound/soc/mediatek/an7581/Makefile | 9 +
sound/soc/mediatek/an7581/an7581-afe-common.h | 49 ++
sound/soc/mediatek/an7581/an7581-afe-pcm.c | 515 ++++++++++++++++++
sound/soc/mediatek/an7581/an7581-dai-etdm.c | 433 +++++++++++++++
sound/soc/mediatek/an7581/an7581-reg.h | 114 ++++
sound/soc/mediatek/an7581/an7581-wm8960.c | 161 ++++++
sound/soc/mediatek/common/mtk-afe-fe-dai.c | 14 +-
sound/soc/mediatek/common/mtk-base-afe.h | 2 +
13 files changed, 1439 insertions(+), 6 deletions(-)
create mode 100644 Documentation/devicetree/bindings/sound/airoha,an7581-afe.yaml
create mode 100644 Documentation/devicetree/bindings/sound/airoha,an7581-wm8960.yaml
create mode 100644 sound/soc/mediatek/an7581/Makefile
create mode 100644 sound/soc/mediatek/an7581/an7581-afe-common.h
create mode 100644 sound/soc/mediatek/an7581/an7581-afe-pcm.c
create mode 100644 sound/soc/mediatek/an7581/an7581-dai-etdm.c
create mode 100644 sound/soc/mediatek/an7581/an7581-reg.h
create mode 100644 sound/soc/mediatek/an7581/an7581-wm8960.c
--
2.53.0
next reply other threads:[~2026-09-08 9:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-08 9:04 Christian Marangi [this message]
2026-09-08 9:04 ` [PATCH v6 1/5] ASoC: dt-bindings: Add Airoha AN7581 AFE Sound card Christian Marangi
2026-09-08 9:04 ` [PATCH v6 2/5] ASoC: dt-bindings: Add Airoha AN7581 AFE with WM8960 Codec schema Christian Marangi
2026-09-08 9:04 ` [PATCH v6 3/5] ASoC: mediatek: common: permit to provide dedicated regmap for irq Christian Marangi
2026-09-08 9:04 ` [PATCH v6 4/5] ASoC: airoha: Add AFE driver for Airoha AN7581 Christian Marangi
2026-09-08 9:19 ` Bui Duc Phuc
2026-09-08 9:04 ` [PATCH v6 5/5] ASoC: airoha: Add machine " Christian Marangi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260908090448.3332-1-ansuelsmth@gmail.com \
--to=ansuelsmth@gmail.com \
--cc=Cyril.Chao@mediatek.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=daniel@makrotopia.org \
--cc=darren.ye@mediatek.com \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-sound@vger.kernel.org \
--cc=matthias.bgg@gmail.com \
--cc=p.zabel@pengutronix.de \
--cc=perex@perex.cz \
--cc=phucduc.bui@gmail.com \
--cc=robh@kernel.org \
--cc=rosenp@gmail.com \
--cc=tiwai@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox