[PATCH v2 0/4] ASoC platform driver for Apple MCA

From: Martin Povišer
Date: Fri Aug 19 2022 - 08:55:45 EST


Hi all,

this is v2 of the ASoC platform driver for MCA peripheral on Apple M1,
to be followed by a machine driver later for sound support on the new
Apple devices. This time I attached a DTS patch for t8103 (M1), which
I guess should go through Marcan's (in CC) tree.

Martin

Changes since v1:
- reflect the set_fmt provider/consumer change in 6.0-rc1
- fix the probe function requesting optional reset
- unroll 'dma-names' in schema
- fix binding schema/code discrepancy in register ranges
- minor things

Changes since 'macaudio RFC v2' [0]:
- addition of locking (extra commit)
- transition to set_bclk_ratio (instead of getting the bclk ratio from set_sysclk)
- using shared reset control and documenting the reset in binding
- formatting, comments, and a minor fix to hw driving

[0] https://lore.kernel.org/asahi/20220606191910.16580-1-povik+lin@xxxxxxxxxxx/

Martin Povišer (4):
dt-bindings: sound: Add Apple MCA I2S transceiver
arm64: dts: apple: t8103: Add MCA and its support
ASoC: apple: mca: Start new platform driver
ASoC: apple: mca: Add locks on foreign cluster access

.../devicetree/bindings/sound/apple,mca.yaml | 131 ++
MAINTAINERS | 8 +
arch/arm64/boot/dts/apple/t8103.dtsi | 70 +
sound/soc/Kconfig | 1 +
sound/soc/Makefile | 1 +
sound/soc/apple/Kconfig | 9 +
sound/soc/apple/Makefile | 3 +
sound/soc/apple/mca.c | 1170 +++++++++++++++++
8 files changed, 1393 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/apple,mca.yaml
create mode 100644 sound/soc/apple/Kconfig
create mode 100644 sound/soc/apple/Makefile
create mode 100644 sound/soc/apple/mca.c

--
2.33.0