From: Jerome Brunet <jbrunet@baylibre.com>
To: Michael Turquette <mturquette@baylibre.com>
Cc: Stephen Boyd <sboyd@kernel.org>,
Neil Armstrong <neil.armstrong@linaro.org>,
Kevin Hilman <khilman@baylibre.com>,
Martin Blumenstingl <martin.blumenstingl@googlemail.com>,
linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-amlogic@lists.infradead.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v3 0/4] clk: amlogic: drop clk_regmap tables
Date: Wed, 05 Feb 2025 15:59:57 +0100 [thread overview]
Message-ID: <1jlduksahe.fsf@starbuckisacylon.baylibre.com> (raw)
In-Reply-To: <20250120-amlogic-clk-drop-clk-regmap-tables-v3-0-126244146947@baylibre.com> (Jerome Brunet's message of "Mon, 20 Jan 2025 18:15:29 +0100")
On Mon 20 Jan 2025 at 18:15, Jerome Brunet <jbrunet@baylibre.com> wrote:
> This patchset removes the need for clk_regmap tables in each clock
> controller driver. These were used to populate regmap with in the regmap
> based clocks.
>
> This saves memory and is the 1st step in a series of rework of Amlogic
> clocks, to clean-up, increase code re-use and ease future maintenance.
Hey Stephen,
Are you ok with clock core part of this patchset ?
I have more clean-ups on amlogic clock queued after this. If possible,
I'd like to be able share these in this cycle.
Thanks
Jerome
>
> Changes in v3:
> - Fix some typos
> - Link to v2: https://lore.kernel.org/r/20250117-amlogic-clk-drop-clk-regmap-tables-v2-0-d1f77cb0773e@baylibre.com
>
> Changes in v2:
> - Add clk_hw_get_of_node and kunit tests for the new helpers
> - Split patch adding the .init() and the dropping the table
> - Drop devres based solution and something temporary but simple
> while a more generic solution to hook controller init is discussed.
> - Link to v1: https://lore.kernel.org/r/20241220-amlogic-clk-drop-clk-regmap-tables-v1-0-96dd657cbfbd@baylibre.com
>
> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
> ---
> Jerome Brunet (4):
> clk: add a clk_hw helpers to get the clock device or device_node
> clk: amlogic: get regmap with clk_regmap_init
> clk: amlogic: drop clk_regmap tables
> clk: amlogic: s4: remove unused data
>
> drivers/clk/Makefile | 1 +
> drivers/clk/clk.c | 33 +++
> drivers/clk/clk_test.c | 116 +++++++--
> drivers/clk/kunit_clk_dummy_device.dtso | 10 +
> drivers/clk/meson/Kconfig | 1 +
> drivers/clk/meson/a1-peripherals.c | 163 +-----------
> drivers/clk/meson/a1-pll.c | 16 +-
> drivers/clk/meson/axg-aoclk.c | 22 --
> drivers/clk/meson/axg-audio.c | 433 --------------------------------
> drivers/clk/meson/axg.c | 131 ----------
> drivers/clk/meson/c3-peripherals.c | 210 +---------------
> drivers/clk/meson/c3-pll.c | 32 +--
> drivers/clk/meson/clk-cpu-dyndiv.c | 1 +
> drivers/clk/meson/clk-dualdiv.c | 2 +
> drivers/clk/meson/clk-mpll.c | 6 +
> drivers/clk/meson/clk-phase.c | 11 +
> drivers/clk/meson/clk-pll.c | 7 +
> drivers/clk/meson/clk-regmap.c | 49 ++++
> drivers/clk/meson/clk-regmap.h | 4 +
> drivers/clk/meson/g12a-aoclk.c | 34 ---
> drivers/clk/meson/g12a.c | 261 -------------------
> drivers/clk/meson/gxbb-aoclk.c | 19 --
> drivers/clk/meson/gxbb.c | 393 -----------------------------
> drivers/clk/meson/meson-aoclk.c | 5 +-
> drivers/clk/meson/meson-aoclk.h | 2 -
> drivers/clk/meson/meson-eeclk.c | 4 -
> drivers/clk/meson/meson-eeclk.h | 2 -
> drivers/clk/meson/meson8-ddr.c | 9 -
> drivers/clk/meson/meson8b.c | 200 ---------------
> drivers/clk/meson/s4-peripherals.c | 341 -------------------------
> drivers/clk/meson/s4-pll.c | 31 ---
> drivers/clk/meson/sclk-div.c | 5 +
> drivers/clk/meson/vclk.c | 2 +
> drivers/clk/meson/vid-pll-div.c | 1 +
> include/linux/clk-provider.h | 2 +
> 35 files changed, 239 insertions(+), 2320 deletions(-)
> ---
> base-commit: 1909d0d351ed98fdb9f5cbe377213ba0154bf2e0
> change-id: 20241220-amlogic-clk-drop-clk-regmap-tables-18e5cf572356
>
> Best regards,
--
Jerome
prev parent reply other threads:[~2025-02-05 15:00 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-20 17:15 [PATCH v3 0/4] clk: amlogic: drop clk_regmap tables Jerome Brunet
2025-01-20 17:15 ` [PATCH v3 1/4] clk: add a clk_hw helpers to get the clock device or device_node Jerome Brunet
2025-02-27 1:01 ` Stephen Boyd
2025-02-27 10:07 ` Jerome Brunet
2025-02-27 20:07 ` Stephen Boyd
2025-03-21 17:53 ` Jerome Brunet
2025-03-25 21:57 ` Stephen Boyd
2025-03-27 10:07 ` Jerome Brunet
2025-01-20 17:15 ` [PATCH v3 2/4] clk: amlogic: get regmap with clk_regmap_init Jerome Brunet
2025-01-22 11:28 ` Dmitry Rokosov
2025-01-20 17:15 ` [PATCH v3 3/4] clk: amlogic: drop clk_regmap tables Jerome Brunet
2025-01-22 11:27 ` Dmitry Rokosov
2025-01-20 17:15 ` [PATCH v3 4/4] clk: amlogic: s4: remove unused data Jerome Brunet
2025-01-21 2:49 ` Chuan Liu
2025-02-05 14:59 ` Jerome Brunet [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1jlduksahe.fsf@starbuckisacylon.baylibre.com \
--to=jbrunet@baylibre.com \
--cc=khilman@baylibre.com \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=martin.blumenstingl@googlemail.com \
--cc=mturquette@baylibre.com \
--cc=neil.armstrong@linaro.org \
--cc=sboyd@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox