[RFC PATCH v3 0/6] Add A1 Soc audio clock controller driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Changes v2 -> v3
 - reset:
   * added auxiliary device
 - yaml:
   * added declaration of optional clocks
   * fixed names in example and another cosmetics
 - clocks:
   * reworked naming
   * stop using of "core" clock name
   * fixed wrong parenting

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.

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

Jan Dakinevich (6):
  reset: reset-meson-audio: introduce separate driver
  clk: meson: axg: share the set of audio helper macro
  clk: meson: axg: introduce AUD_MUX_TABLE() 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 | 124 ++++
 arch/arm64/boot/dts/amlogic/meson-a1.dtsi     |  46 ++
 drivers/clk/meson/Kconfig                     |  16 +
 drivers/clk/meson/Makefile                    |   1 +
 drivers/clk/meson/a1-audio.c                  | 651 ++++++++++++++++++
 drivers/clk/meson/axg-audio.c                 | 244 +------
 drivers/clk/meson/meson-audio.h               | 149 ++++
 drivers/reset/Kconfig                         |   7 +
 drivers/reset/Makefile                        |   1 +
 drivers/reset/reset-meson-audio.c             | 207 ++++++
 .../dt-bindings/clock/amlogic,a1-audio-clkc.h | 122 ++++
 .../reset/amlogic,meson-a1-audio-reset.h      |  29 +
 include/soc/amlogic/meson-audio-reset.h       |  10 +
 13 files changed, 1371 insertions(+), 236 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/meson-audio.h
 create mode 100644 drivers/reset/reset-meson-audio.c
 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
 create mode 100644 include/soc/amlogic/meson-audio-reset.h

-- 
2.34.1





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux