[PATCH v3 0/7] ASoC: apple: mca: support simultaneous I2S capture on the frontend
From: James Calligeros
Date: Sat Jul 04 2026 - 23:38:38 EST
Hi folks,
This series introduces a number of changes to the ASoC driver
for the Apple MCA peripheral to enable support for bidirectional
I2S. This is achieved by allowing frontends to act as clock consumers
and logically ORing data input lines when multiple backends are linked
to a frontend.
This allows the Texas Instruments speaker amps used on Apple Silicon Macs
(Apple-specific revisions of TAS2764 and TAS2770) to send their IVSENSE
data back to the SoC. Since these amps do not have any sort of integrated
speaker protection logic, we must use the IVSENSE data and the Thiele/Small
Parameters of the attached speaker(s) to implement our own in software.
---
Changes in v3:
- Changed magic number write in fe prepare to BIT(port)
- Link to v2: https://patch.msgid.link/20260628-apple-audio-redux-v2-0-6328269c9652@xxxxxxxxx
Changes in v2:
- Drop readx_poll_timeout use. It ended up being unreliable. Fall back
to just bumping up the delay on SERDES reset :/
- Rebase on asoc/for-next
- Drop the one patch that was applied
- Drop clock shutdown relocation patch. This was not actually required
and the incorrect thing to do anyway.
---
Link to v1: https://lore.kernel.org/asahi/20250518-mca-fixes-v1-0-ee1015a695f6@xxxxxxxxx/
Regards,
James
To: Martin Povišer <povik+lin@xxxxxxxxxxx>
To: Liam Girdwood <lgirdwood@xxxxxxxxx>
To: Mark Brown <broonie@xxxxxxxxxx>
To: Jaroslav Kysela <perex@xxxxxxxx>
To: Takashi Iwai <tiwai@xxxxxxxx>
Cc: asahi@xxxxxxxxxxxxxxx
Cc: linux-sound@xxxxxxxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx
---
Hector Martin (2):
ASoC: apple: mca: Do not mark clocks in use for non-providers
ASoC: apple: mca: Add delay after configuring clock
James Calligeros (1):
ASoC: apple: mca: increase SERDES reset delay
Martin Povišer (4):
ASoC: apple: mca: Separate data & clock port setup
ASoC: apple: mca: Factor out mca_be_get_fe
ASoC: apple: mca: Support FEs being clock consumers
ASoC: apple: mca: Support capture on multiples BEs
sound/soc/apple/mca.c | 300 +++++++++++++++++--------
1 file changed, 207 insertions(+), 93 deletions(-)
---
base-commit: e67251245f42eb4479636d4c082cdbe60b23f5b3
change-id: 20260623-apple-audio-redux-b7b43d9c02af
Best regards,
--
James Calligeros <jcalligeros99@xxxxxxxxx>