[PATCH v4 0/6] Add support for S4 audio

jiebing chen via B4 Relay
2025-03-19T07:06:40Z

Add s4 audio base driver.

Signed-off-by: jiebing chen <jiebing.chen@amlogic.com>
---
Changes in v4:
- fix dtb check warning
- add maxItems of power domain for dt-bindings
- fixed audio clock pads regmap base and reg offset
- use dapm widget to control tocodec bclk and mclk enable
- Link to v3: https://lore.kernel.org/r/20250228-audio_drvier-v3-0-dbfd30507e4c@amlogic.com

Changes in v3:
- remove g12a tocodec switch event
- Modify the incorrect title for dt-bindings
- Link to v2: https://lore.kernel.org/r/20250214-audio_drvier-v2-0-37881fa37c9e@amlogic.com

Changes in v2:
- remove tdm pad control and change tocodec base on g12a
- change hifipll rate to support 24bit
- add s4 audio clock
- Link to v1: https://lore.kernel.org/r/20250113-audio_drvier-v1-0-8c14770f38a0@amlogic.com

---
jiebing chen (6):
dt-bindings: clock: meson: Add audio power domain for s4 soc
dt-bindings: clock: axg-audio: Add mclk and sclk pad clock ids
dt-bindings: Asoc: axg-audio: Add s4 audio tocodec
ASoC: meson: g12a-toacodec: Add s4 tocodec driver
clk: meson: axg-audio: Add the mclk pad div for s4 chip
arm64: dts: amlogic: Add Amlogic S4 Audio

.../bindings/clock/amlogic,axg-audio-clkc.yaml | 20 +-
.../bindings/sound/amlogic,g12a-toacodec.yaml | 1 +
.../boot/dts/amlogic/meson-s4-s805x2-aq222.dts | 219 ++++++++++
arch/arm64/boot/dts/amlogic/meson-s4.dtsi | 372 ++++++++++++++++-
drivers/clk/meson/axg-audio.c | 441 ++++++++++++++++++++-
drivers/clk/meson/axg-audio.h | 6 +
include/dt-bindings/clock/axg-audio-clkc.h | 11 +
sound/soc/meson/g12a-toacodec.c | 46 +++
8 files changed, 1111 insertions(+), 5 deletions(-)
---
base-commit: 6ecd20965bdc21b265a0671ccf36d9ad8043f5ab
change-id: 20250110-audio_drvier-07a5381c494b

Best regards,
--
jiebing chen <jiebing.chen@amlogic.com>