[PATCH 0/2] Apple ADMAC driver

Martin Povišer
2022-03-30T16:45:30Z

Hi,

for your review I am submitting a driver for Audio DMA Controller on
recent Apple SoCs.

One note I want to leave: The docs appear to be wrong on the residue
semantics of device_tx_status. They say "In the case of a cyclic
transfer, it should only take into account the current period."
But e.g. ALSA expects the residue to be of the full buffer.

Martin

Martin Povišer (2):
dt-bindings: dma: Add apple,admac binding
dmaengine: apple-admac: Add Apple ADMAC driver

.../devicetree/bindings/dma/apple,admac.yaml | 73 ++
MAINTAINERS | 2 +
drivers/dma/Kconfig | 8 +
drivers/dma/Makefile | 1 +
drivers/dma/apple-admac.c | 799 ++++++++++++++++++
5 files changed, 883 insertions(+)
create mode 100644 Documentation/devicetree/bindings/dma/apple,admac.yaml
create mode 100644 drivers/dma/apple-admac.c

--
2.33.0