Re: [PATCH v6 0/5] Add support for S4 audio

Piotr Oniszczuk
2026-01-27T09:20:31Z

> Wiadomość napisana przez Jiebing Chen via B4 Relay <devnull+jiebing.chen.amlogic.com@kernel.org> w dniu 26 sty 2026, o godz. 07:01:
>
> This series completes the end-to-end audio support
> for S4 SoC from hardware bindings to driver implementation
> and system integration.
>
> 1 Device Tree Bindings Updates
> Added audio power domain and S4 audio clock support for S4 SoC.
> Added S4 audio tocodec binding support.
>
> 2 Driver Implementation
> Implemented S4 tocodec driver for G12A architecture.
> Added S4 audio clock support in AXG audio clock
>
> 3 Device Tree Integration
> Add Amlogic S4 audio subsystem support in arm64 DTS.
>
> Signed-off-by: jiebing chen <jiebing.chen@amlogic.com>
> ---
> Changes in v6:
> - Fix the problem of string for Documentation/devicetree/bindings/clock/amlogic,axg-audio-clkc.yaml
> - Remove clock pad register, and it will be submitted as an independent patch.
> - Redescribe sound/soc/meson/g12a-toacodec.c
> - Link to v5: https://lore.kernel.org/r/20250710-audio_drvier-v5-0-d4155f1e7464@amlogic.com
>

Jiebing,

FYI

I applied this series over 6.18.7 and tested on s905w2 device.

With audio routing like this:

amixer cset numid=40,iface=MIXER,name='FRDDR_A SINK 1 SEL' 0
amixer cset numid=73,iface=MIXER,name='TDMOUT_A SRC SEL' 0
amixer cset numid=37,iface=MIXER,name='FRDDR_A SRC 1 EN Switch' 1
amixer cset numid=61,iface=MIXER,name='TOACODEC SRC' 0
amixer cset numid=1,iface=MIXER,name='TOACODEC Lane Select' 0
amixer cset numid=62,iface=MIXER,name='TOACODEC OUT EN Switch' 1
amixer cset numid=17,iface=MIXER,name='ACODEC Playback Volume' 251 251

i'm getting working audio on analog headset.

Great work!