[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240419125812.983409-1-jan.dakinevich@salutedevices.com>
Date: Fri, 19 Apr 2024 15:58:06 +0300
From: Jan Dakinevich <jan.dakinevich@...utedevices.com>
To: Jan Dakinevich <jan.dakinevich@...utedevices.com>, Neil Armstrong
<neil.armstrong@...aro.org>, Jerome Brunet <jbrunet@...libre.com>, Michael
Turquette <mturquette@...libre.com>, Stephen Boyd <sboyd@...nel.org>, Rob
Herring <robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>, Conor
Dooley <conor+dt@...nel.org>, Kevin Hilman <khilman@...libre.com>, Martin
Blumenstingl <martin.blumenstingl@...glemail.com>, Philipp Zabel
<p.zabel@...gutronix.de>, Jiucheng Xu <jiucheng.xu@...ogic.com>,
<linux-amlogic@...ts.infradead.org>, <linux-clk@...r.kernel.org>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>
Subject: [RFC PATCH v3 0/6] Add A1 Soc audio clock controller driver
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@salutedevices.com/
[2] https://lore.kernel.org/lkml/20240328010831.884487-1-jan.dakinevich@salutedevices.com/
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
Powered by blists - more mailing lists