mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v7 0/7] Add support for S4 audio
@ 2026-10-25 19:23 christian.koever-draxl
  2026-10-25 19:23 ` [PATCH v7 1/7] dt-bindings: clock: meson: Add audio power domain for S4 soc christian.koever-draxl
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: christian.koever-draxl @ 2026-10-25 19:23 UTC (permalink / raw)
  To: neil.armstrong, jbrunet, sboyd, bmasney+clk, robh, krzk+dt,
	conor+dt, lgirdwood, broonie, khilman, martin.blumenstingl,
	perex, tiwai
  Cc: linux-amlogic, linux-clk, devicetree, linux-kernel, linux-sound,
	linux-arm-kernel, Christian Stefan Kövér-Draxl

From: Christian Stefan Kövér-Draxl <ckoever@outlook.de>

This picks up Jiebing Chen's "[PATCH v6 0/4] Add support for S4 audio"
(and the tohdmitx S4 patch) unchanged apart from rebasing, with
Jiebing's authorship kept, and adds one fix on top:

 6: g12a-toacodec: fix the S4 source mux read-back. The S4 DAT_SEL
    field moved, so the mux always read back as input A and DAPM never
    powered the selected path.

[ckoever: Jiebing, if you have a newer version or prefer to post this
yourself, I am happy to rebase the fix onto that instead.]

Tested: HDMI audio up to 192 kHz; the TDM-C to internal codec path
plays without errors at 44.1 to 192 kHz (not listened to).

Tool use (Documentation/process/generated-content.rst):
This work was done with the help of an AI coding assistant, Claude
(Anthropic), used through Claude Code over many sessions. It did a large
part of the hands-on work: it read the vendor kernel and the firmware
interfaces, probed registers on the board, drafted the code and the
changelogs, and ran the builds, checkpatch, dt_binding_check and the
tests on the hardware. I directed the work, reviewed every change and
the final patches, and take responsibility for them. There is no single
prompt to quote; the sessions were of the form "find out why X fails on
this board, fix it, test it on the box".

Tested on an Amediatech X98Q TV box (Amlogic S905W2, S4 family, 2 GiB),
vendor U-Boot and BL31/OP-TEE, Linux 7.3 plus this work.

Christian Stefan Kövér-Draxl (1):
  ASoC: meson: g12a-toacodec: fix the S4 source mux read-back

Jiebing Chen (6):
  dt-bindings: clock: meson: Add audio power domain for S4 soc
  dt-bindings: Asoc: axg-audio: Add S4 audio tocodec
  ASoC: meson: g12a-toacodec: Add S4 tocodec driver
  clk: meson: axg_audio: add S4 support
  ASoC: dt-bindings: amlogic,g12a-tohdmitx: add S4 compatible
  ASoC: meson: g12a-tohdmitx: add S4 support

 .../clock/amlogic,axg-audio-clkc.yaml         |  18 +-
 .../bindings/sound/amlogic,g12a-toacodec.yaml |   1 +
 .../bindings/sound/amlogic,g12a-tohdmitx.yaml |   1 +
 drivers/clk/meson/axg-audio.c                 | 165 ++++++++++++++++++
 sound/soc/meson/g12a-toacodec.c               |  51 ++++++
 sound/soc/meson/g12a-tohdmitx.c               |  80 ++++++++-
 6 files changed, 312 insertions(+), 4 deletions(-)


base-commit: 7be4bc52fd9e0e55dc9a2e0232b89427d2c4b614
-- 
2.56.0


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2026-10-26  8:46 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-25 19:23 [PATCH v7 0/7] Add support for S4 audio christian.koever-draxl
2026-10-25 19:23 ` [PATCH v7 1/7] dt-bindings: clock: meson: Add audio power domain for S4 soc christian.koever-draxl
2026-10-25 19:23 ` [PATCH v7 2/7] dt-bindings: Asoc: axg-audio: Add S4 audio tocodec christian.koever-draxl
2026-10-25 19:24 ` [PATCH v7 3/7] ASoC: meson: g12a-toacodec: Add S4 tocodec driver christian.koever-draxl
2026-10-25 19:24 ` [PATCH v7 4/7] clk: meson: axg_audio: add S4 support christian.koever-draxl
2026-10-25 19:24 ` [PATCH v7 5/7] ASoC: dt-bindings: amlogic,g12a-tohdmitx: add S4 compatible christian.koever-draxl
2026-10-25 19:24 ` [PATCH v7 6/7] ASoC: meson: g12a-toacodec: fix the S4 source mux read-back christian.koever-draxl
2026-10-25 19:24 ` [PATCH v7 7/7] ASoC: meson: g12a-tohdmitx: add S4 support christian.koever-draxl
2026-10-25 22:53 ` [PATCH v7 0/7] Add support for S4 audio Mark Brown
2026-10-26  8:46 ` Jerome Brunet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®