Skip to content

allwinner: a523: Enable I2S and SPDIF TX

Chen-Yu Tsai dmaengine linux-arm-kernel linux-devicetree linux-sound linux-sunxi lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest10 patches 4 repliesIn review
  2. v111 patches 14 repliesSuperseded

Changes in v2 from the cover letter

- Collected tags
- Dropped clk patches that were merged
- Added patch for SPDIF pinmux settings that was missing in v1
- Dropped bogus change to DAI name in SPDIF driver
- Dropped clk rate message in SPDIF driver
- Switched my email to kernel.org one

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10dt-bindings: dma: allwinner,sun50i-a64-dma: Add compatibles for A523Documentation/devicetree/bindings/dma/allwinner,sun50i-a64-dma.yaml+4 -10 replies
2/10ASoC: dt-bindings: allwinner,sun4i-a10-i2s: Add compatible for A523Documentation/devicetree/bindings/sound/allwinner,sun4i-a10-i2s.yaml+3 -10 replies
3/10ASoC: dt-bindings: allwinner,sun4i-a10-spdif: Add compatible for A523Documentation/devicetree/bindings/sound/allwinner,sun4i-a10-spdif.yaml+38 -60 replies
4/10ASoC: sun4i-spdif: Support SPDIF output on A523 familysound/soc/sunxi/sun4i-spdif.c+24 -21 reply
5/10arm64: dts: allwinner: a523: Add DMA controller device nodesarch/arm64/boot/dts/allwinner/sun55i-a523.dtsi+56 -00 replies
6/10arm64: dts: allwinner: a523: Add device node for SPDIF blockarch/arm64/boot/dts/allwinner/sun55i-a523.dtsi+15 -00 replies
7/10arm64: dts: allwinner: a523: Add device nodes for I2S controllersarch/arm64/boot/dts/allwinner/sun55i-a523.dtsi+56 -00 replies
8/10arm64: dts: allwinner: a523: Add I2S2 pins on PI pin grouparch/arm64/boot/dts/allwinner/sun55i-a523.dtsi+8 -00 replies
9/10arm64: dts: allwinner: a523: Add SPDIF TX pin on PB and PI pinsarch/arm64/boot/dts/allwinner/sun55i-a523.dtsi+14 -01 reply
10/10arm64: dts: allwinner: a527-cubie-a5e: Enable I2S and SPDIF outputarch/arm64/boot/dts/allwinner/sun55i-a527-cubie-a5e.dts+52 -00 replies

Reviews trailers per patch

9 of 10 patches have a Reviewed-by or Acked-by.

PatchConor DooleyJernej Skrabec
1/10A-b
2/10A-b
3/10A-b
4/10R-b
5/10A-b
6/10A-b
7/10A-b
8/10A-b
9/10A-b
10/10

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 00/10] allwinner: a523: Enable I2S and SPDIF TX

Hi folks,

This is v2 of my Allwinner A523 family I2S and SPDIF enablement series.

Changes since v1:
- Collected tags
- Dropped clk patches that were merged
- Added patch for SPDIF pinmux settings that was missing in v1
- Dropped bogus change to DAI name in SPDIF driver
- Dropped clk rate message in SPDIF driver
- Switched my email to kernel.org one

This series enables the SPDIF and I2S hardware found on the Allwinner A523/A527/T527 family SoCs. These SoCs have one SPDIF interface and four I2S interfaces. All of them are capable of both playback and capture, however the SPDIF driver only supports playback.

The series is organized by subsystem, so each maintainer can find the patches they need to take.

Patch 1 adds SoC/hardware specific compatibles for the two DMA controllers in the A523 SoC.

Patch 2 adds an SoC specific compatible for the I2S interface controllers in the A523 SoC.

Patch 3 adds an SoC specific compatible for the SPDIF interface controller in the A523 SoC.

Patch 4 adds driver support for the SPDIF interface.

Patch 5 adds devices nodes for the DMA controllers.

Patch 6 adds a devices node for the SPDIF interface controller.

Patch 7 adds device nodes for the I2S interface controllers.

Patch 8 adds one set of pinmux settings for I2S2.

Patch 9 adds pinmux settings for SPDIF.

Patch 10 is what I used to test the changes, and serves as an example for how to use these new interfaces.

Patch 1 can go through the dmaengine tree, or I can take it through the sunxi tree.

Patches 2 through 4 should go through the ASoC tree.

The rest, except the example, will go through the sunxi tree.

Please take a look.

Thanks
ChenYu

Chen-Yu Tsai (10):
dt-bindings: dma: allwinner,sun50i-a64-dma: Add compatibles for A523
ASoC: dt-bindings: allwinner,sun4i-a10-i2s: Add compatible for A523
ASoC: dt-bindings: allwinner,sun4i-a10-spdif: Add compatible for A523
ASoC: sun4i-spdif: Support SPDIF output on A523 family
arm64: dts: allwinner: a523: Add DMA controller device nodes
arm64: dts: allwinner: a523: Add device node for SPDIF block
arm64: dts: allwinner: a523: Add device nodes for I2S controllers
arm64: dts: allwinner: a523: Add I2S2 pins on PI pin group
arm64: dts: allwinner: a523: Add SPDIF TX pin on PB and PI pins [EXAMPLE] arm64: dts: allwinner: a527-cubie-a5e: Enable I2S and SPDIF
output

 .../dma/allwinner,sun50i-a64-dma.yaml         |   5 +-
 .../sound/allwinner,sun4i-a10-i2s.yaml        |   4 +-
 .../sound/allwinner,sun4i-a10-spdif.yaml      |  44 +++++-
 .../arm64/boot/dts/allwinner/sun55i-a523.dtsi | 149 ++++++++++++++++++
 .../dts/allwinner/sun55i-a527-cubie-a5e.dts   |  52 ++++++
 sound/soc/sunxi/sun4i-spdif.c                 |  26 ++-
 6 files changed, 270 insertions(+), 10 deletions(-)
Signature · 1 line
2.47.3