[RFC PATCH v2 0/5] Add A1 Soc audio clock controller driver

From: Jan Dakinevich
Date: Wed Mar 27 2024 - 21:10:23 EST


This series adds support for audio clock and reset controllers on A1 SoC family.

Links:

[1] https://lore.kernel.org/lkml/20240314232201.2102178-1-jan.dakinevich@xxxxxxxxxxxxxxxxx/

Changes v1 -> v2:
- Detached from v1's series (patch 2, 3, 4, 25).
- Reuse some of defines from axg-audio;
- Split the controller into two memory regions.

Jan Dakinevich (5):
clk: meson: axg: move reset controller's code to separate module
clk: meson: axg: share the audio helper macro
dt-bindings: clock: meson: document A1 SoC audio clock controller
driver
clk: meson: a1: add the audio clock controller driver
arm64: dts: meson: a1: add the audio clock controller

.../bindings/clock/amlogic,a1-audio-clkc.yaml | 141 ++++
arch/arm64/boot/dts/amlogic/meson-a1.dtsi | 48 ++
drivers/clk/meson/Kconfig | 18 +
drivers/clk/meson/Makefile | 2 +
drivers/clk/meson/a1-audio.c | 624 ++++++++++++++++++
drivers/clk/meson/a1-audio.h | 45 ++
drivers/clk/meson/axg-audio.c | 233 +------
drivers/clk/meson/meson-audio-rstc.c | 109 +++
drivers/clk/meson/meson-audio-rstc.h | 12 +
drivers/clk/meson/meson-audio.h | 143 ++++
.../dt-bindings/clock/amlogic,a1-audio-clkc.h | 122 ++++
.../reset/amlogic,meson-a1-audio-reset.h | 29 +
12 files changed, 1297 insertions(+), 229 deletions(-)
create mode 100644 Documentation/devicetree/bindings/clock/amlogic,a1-audio-clkc.yaml
create mode 100644 drivers/clk/meson/a1-audio.c
create mode 100644 drivers/clk/meson/a1-audio.h
create mode 100644 drivers/clk/meson/meson-audio-rstc.c
create mode 100644 drivers/clk/meson/meson-audio-rstc.h
create mode 100644 drivers/clk/meson/meson-audio.h
create mode 100644 include/dt-bindings/clock/amlogic,a1-audio-clkc.h
create mode 100644 include/dt-bindings/reset/amlogic,meson-a1-audio-reset.h

--
2.34.1