Skip to content

ASoC: meson: aiu: add Meson8 SoC family support

Martin Blumenstingl alsa-devel linux-amlogic linux-arm-kernel linux-devicetree lkml 1 version Applied

Status from this message: This series was applied to khilman/linux-amlogic.git (refs/heads/for-next).

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3ASoC: meson: aiu: Document Meson8 and Meson8b support in the dt-bindingsDocumentation/devicetree/bindings/sound/amlogic,aiu.yaml+2 -01 reply
2/3ASoC: meson: aiu: introduce a struct for platform specific informationsound/soc/meson/aiu.c sound/soc/meson/aiu.h+21 -31 reply
3/3ASoC: meson: aiu: add support for the Meson8 and Meson8b SoC familiessound/soc/meson/Kconfig sound/soc/meson/aiu-encoder-i2s.c sound/soc/meson/aiu.c +1 more+81 -232 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchJerome Brunet
1/3R-b
2/3R-b
3/3R-b

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 0/3] ASoC: meson: aiu: add Meson8 SoC family support

This series adds support for the AIU audio controller found on the 32-bit Meson8 and Meson8b SoCs (both seem to use the same revision, but for safety reasons we add two compatible strings).

The only known difference compared to the GX SoCs is the absence of the I2S divider in the AIU_CLK_CTRL_MORE register. Instead we have to use a less flexible divider.

I2S testing was done on an Odroid-C1+ with a PCM5102A stereo DAC board connected (on the J7 header) like this:
Odroid-C1+ | DAC
------------------

pin #1 GND  | GND
pin #3 5V   | VIN
pin #4 MCLK | SCK (optional, DAC can operate without this)
pin #5 LRCK | LCK
pin #5 SCK  | BCK
pin #5 DATA | DIN

In 3-wire I2S the MCLK <-> SCK connection can be omitted. For my tests I used mclk-fs = <64> in this case.
In 4-wire I2S the MCLK <-> SCK connection is required. For my tests I used mclk-fs = <256> in this case.

Martin Blumenstingl (3):
ASoC: meson: aiu: Document Meson8 and Meson8b support in the
dt-bindings
ASoC: meson: aiu: introduce a struct for platform specific information
ASoC: meson: aiu: add support for the Meson8 and Meson8b SoC families

 .../bindings/sound/amlogic,aiu.yaml           |  2 +
 sound/soc/meson/Kconfig                       |  2 +-
 sound/soc/meson/aiu-encoder-i2s.c             | 92 ++++++++++++++-----
 sound/soc/meson/aiu.c                         | 28 +++++-
 sound/soc/meson/aiu.h                         |  6 ++
 5 files changed, 104 insertions(+), 26 deletions(-)
Signature · 7 lines
2.25.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel