[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240122170518.3090814-1-wens@kernel.org>
Date: Tue, 23 Jan 2024 01:05:11 +0800
From: Chen-Yu Tsai <wens@...nel.org>
To: Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>,
Jernej Skrabec <jernej.skrabec@...il.com>,
Samuel Holland <samuel@...lland.org>,
Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>,
Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>,
Vinod Koul <vkoul@...nel.org>
Cc: Chen-Yu Tsai <wens@...e.org>,
devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-sunxi@...ts.linux.dev,
linux-sound@...r.kernel.org,
dmaengine@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH 0/7] arm64: sun50i-h616: Add DMA and SPDIF controllers
From: Chen-Yu Tsai <wens@...e.org>
Hi everyone,
This series adds DMA and SPDIF controllers for the H616 and H618.
There's also a fix for SPDIF on H6: the controller also has a
receiver that was not correctly modeled.
Patch 1 fixes the binding for the SPDIF controller on the H6 by adding
the RX DMA channel.
Patch 2 adds a compatible string for the H616's SPDIF transmitter to the
binding.
Patch 3 adds a compatible string for the H616's SPDIF transmitter to the
driver.
Patch 4 adds a compatible string for the H616's DMA controller.
Patch 5 adds the RX DMA channel to the SPDIF controller on the H6.
Patch 6 adds a device node for the H616's DMA controller.
Patch 7 adds a device node for the H616's SPDIF controller.
This was tested on the Orange Pi Zero 3 with SPI flash transfers and
SPDIF audio output. The H6 SPDIF change is superficial as the driver
does not support receiving / capturing an audio stream.
Please have a look. I expect the first three patches to go through the
ASoC tree, the fourth patch to either go through the DMA tree, or
through the sunxi tree with an Ack, and the last three through the sunxi
tree.
Thanks
ChenYu
Chen-Yu Tsai (7):
dt-bindings: sound: sun4i-spdif: Fix requirements for H6
dt-bindings: sound: sun4i-spdif: Add Allwinner H616 compatible
ASoC: sunxi: sun4i-spdif: Add support for Allwinner H616
dt-bindings: dma: allwinner,sun50i-a64-dma: Add compatible for H616
arm64: dts: allwinner: h6: Add RX DMA channel for SPDIF
arm64: dts: allwinner: h616: Add DMA controller and DMA channels
arm64: dts: allwinner: h616: Add SPDIF device node
.../dma/allwinner,sun50i-a64-dma.yaml | 15 +++--
.../sound/allwinner,sun4i-a10-spdif.yaml | 5 +-
.../dts/allwinner/sun50i-h6-beelink-gs1.dts | 2 +
.../boot/dts/allwinner/sun50i-h6-tanix.dtsi | 2 +
arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 7 +--
.../arm64/boot/dts/allwinner/sun50i-h616.dtsi | 59 +++++++++++++++++++
sound/soc/sunxi/sun4i-spdif.c | 5 ++
7 files changed, 86 insertions(+), 9 deletions(-)
--
2.39.2
Powered by blists - more mailing lists