Skip to content

ASoC: sunxi: Add support for D1/T113s internal audio codec

Maksim Kiselev alsa-devel linux-arm-kernel linux-devicetree linux-riscv linux-sunxi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5ASoC: dt-bindings: sun4i-a10-codec: Add binding for Allwinner D1 SoCDocumentation/devicetree/bindings/sound/allwinner,sun4i-a10-codec.yaml+56 -81 reply
2/5ASoC: dt-bindings: Add schema for "allwinner,sun20i-d1-codec-analog"Documentation/devicetree/bindings/sound/allwinner,sun20i-d1-codec-analog.yaml+33 -03 replies
3/5ASoC: sunxi: sun4i-codec: add basic support for D1 audio codecsound/soc/sunxi/sun4i-codec.c+300 -640 replies
4/5ASoC: sunxi: Add new driver for Allwinner D1/T113s codec's analog path controlssound/soc/sunxi/Kconfig sound/soc/sunxi/Makefile sound/soc/sunxi/sun20i-d1-codec-analog.c+232 -00 replies
5/5riscv: dts: allwinner: d1: Add device nodes for internal audio codecarch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi+22 -00 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchRob Herring
1/5R-b
2/5
3/5
4/5
5/5

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

Read the v1 thread

Cover letter [PATCH v1 0/5] ASoC: sunxi: Add support for D1/T113s internal audio codec

Hi,

This is the series adding support for internal audio codec on Allwinner D1/T113s SoCs family.

My work based on Icenowy Zheng's patches from sipeed repo that adds support for the R329 audio codec. But, unfortunately, these patches were not sent to upstream. So, I adapted them to fit the T113s. In the future, support for R329 could easily be added on top of this series. Because D1/T113s and R329 SoCs have almost the same audio codec IP, with slight differences in the analog part, plus the R329 has two additional ADCs.

The series includes modifications for the existing sun4i-codec driver that brings support for the digital part of the D1 codec. And adds the new sun20i-d1-codec-analog driver for the analog part.

I would be glad if someone have a look :)

Cheers,
Maksim

Maksim Kiselev (5):
ASoC: dt-bindings: sun4i-a10-codec: Add binding for Allwinner D1 SoC
ASoC: dt-bindings: Add schema for "allwinner,sun20i-d1-codec-analog"
ASoC: sunxi: sun4i-codec: add basic support for D1 audio codec
ASoC: sunxi: Add new driver for Allwinner D1/T113s codec's analog path
controls
riscv: dts: allwinner: d1: Add device nodes for internal audio codec

 .../allwinner,sun20i-d1-codec-analog.yaml     |  33 ++
 .../sound/allwinner,sun4i-a10-codec.yaml      |  64 ++-
 .../boot/dts/allwinner/sunxi-d1s-t113.dtsi    |  22 ++
 sound/soc/sunxi/Kconfig                       |  11 +
 sound/soc/sunxi/Makefile                      |   1 +
 sound/soc/sunxi/sun20i-d1-codec-analog.c      | 220 +++++++++++
 sound/soc/sunxi/sun4i-codec.c                 | 364 +++++++++++++++---
 7 files changed, 643 insertions(+), 72 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/sound/allwinner,sun20i-d1-codec-analog.yaml
 create mode 100644 sound/soc/sunxi/sun20i-d1-codec-analog.c
Signature · 1 line
2.39.2