From: Greg Ungerer <gerg@linux-m68k.org>
To: Arnd Bergmann <arnd@kernel.org>, linux-clk@vger.kernel.org
Cc: Arnd Bergmann <arnd@arndb.de>, Dmitry Osipenko <digetx@gmail.com>,
Florian Fainelli <florian@openwrt.org>,
Geert Uytterhoeven <geert@linux-m68k.org>,
John Crispin <john@phrozen.org>,
Jonas Gorski <jonas.gorski@gmail.com>,
Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>,
Michael Turquette <mturquette@baylibre.com>,
Russell King <linux@armlinux.org.uk>,
Stephen Boyd <sboyd@kernel.org>,
Thomas Bogendoerfer <tsbogend@alpha.franken.de>,
linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org
Subject: Re: [PATCH 0/7] clk: clean up legacy clock interfaces
Date: Tue, 1 Jun 2021 22:02:46 +1000 [thread overview]
Message-ID: <cb71ceb3-02a2-ee26-fc9b-e7ebe826efb4@linux-m68k.org> (raw)
In-Reply-To: <20210531184749.2475868-1-arnd@kernel.org>
Hi Arnd,
On 1/6/21 4:47 am, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb.de>
>
> A recent discussion about legacy clk interface users revealed
> that there are only two platforms remaining that provide their own
> clk_get()/clk_put() implementations, MIPS ar7 and and m68k coldfire.
>
> I managed to rework both of these to just use the normal clkdev code,
> and fold CONFIG_CLKDEV_LOOKUP into CONFIG_HAVE_CLK as it is now shared
> among all users.
>
> As I noticed that the ar7 clock implementation and the ralink version
> are rather trivial, I ended up converting those to use the common-clk
> interfaces as well, though this is unrelated to the other changes.
>
> Arnd
>
> Link: https://lore.kernel.org/lkml/CAK8P3a2XsrfUJQQAfnGknh8HiA-D9L_wmEoAgXU89KqagE31NQ@mail.gmail.com/
>
> Arnd Bergmann (7):
> mips: ar7: convert to clkdev_lookup
> mips: ar7: convert to CONFIG_COMMON_CLK
> mips: ralink: convert to CONFIG_COMMON_CLK
> m68k: coldfire: use clkdev_lookup on most coldfire
> m68k: coldfire: remove private clk_get/clk_put
> clkdev: remove CONFIG_CLKDEV_LOOKUP
> clkdev: remove unused clkdev_alloc() interfaces
>
> arch/arm/Kconfig | 2 -
> arch/m68k/coldfire/clk.c | 21 -----
> arch/m68k/coldfire/m5206.c | 25 +++---
> arch/m68k/coldfire/m520x.c | 51 +++++------
> arch/m68k/coldfire/m523x.c | 42 ++++-----
> arch/m68k/coldfire/m5249.c | 33 +++----
> arch/m68k/coldfire/m525x.c | 33 +++----
> arch/m68k/coldfire/m5272.c | 35 +++-----
> arch/m68k/coldfire/m527x.c | 46 ++++------
> arch/m68k/coldfire/m528x.c | 42 ++++-----
> arch/m68k/coldfire/m5307.c | 27 +++---
> arch/m68k/coldfire/m53xx.c | 80 ++++++++---------
> arch/m68k/coldfire/m5407.c | 25 +++---
> arch/m68k/coldfire/m5441x.c | 126 +++++++++++++--------------
> arch/m68k/coldfire/m54xx.c | 33 +++----
> arch/m68k/include/asm/mcfclk.h | 5 --
> arch/mips/Kconfig | 6 +-
> arch/mips/ar7/clock.c | 113 ++++++------------------
> arch/mips/include/asm/mach-ar7/ar7.h | 4 -
> arch/mips/pic32/Kconfig | 1 -
> arch/mips/ralink/Kconfig | 5 --
> arch/mips/ralink/clk.c | 64 +-------------
> arch/sh/Kconfig | 1 -
> drivers/clk/Kconfig | 6 +-
> drivers/clk/Makefile | 3 +-
> drivers/clk/clkdev.c | 28 ------
> drivers/clocksource/Kconfig | 6 +-
> drivers/mmc/host/Kconfig | 4 +-
> drivers/staging/board/Kconfig | 2 +-
> include/linux/clkdev.h | 5 --
> sound/soc/dwc/Kconfig | 2 +-
> sound/soc/rockchip/Kconfig | 14 +--
> 32 files changed, 320 insertions(+), 570 deletions(-)
Looks really good, thanks for doing this.
I have test compiled and run some of the ColdFire targets with these changes.
Everything checked out good. So for the m68k/Coldfire parts (with the one
munged writew() change fixed):
Acked-by: Greg Ungerer <gerg@linux-m68k.org>
Tested-by: Greg Ungerer <gerg@linux-m68k.org>
Regards
Greg
next prev parent reply other threads:[~2021-06-01 12:02 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-31 18:47 [PATCH 0/7] clk: clean up legacy clock interfaces Arnd Bergmann
2021-05-31 18:47 ` [PATCH 1/7] mips: ar7: convert to clkdev_lookup Arnd Bergmann
2021-06-01 13:23 ` Russell King (Oracle)
2021-06-01 14:41 ` Arnd Bergmann
2021-05-31 18:47 ` [PATCH 2/7] mips: ar7: convert to CONFIG_COMMON_CLK Arnd Bergmann
2021-05-31 18:47 ` [PATCH 3/7] mips: ralink: " Arnd Bergmann
2021-05-31 18:47 ` [PATCH 4/7] m68k: coldfire: use clkdev_lookup on most coldfire Arnd Bergmann
2021-06-01 9:02 ` Geert Uytterhoeven
2021-06-01 12:22 ` Arnd Bergmann
2021-06-01 11:54 ` Greg Ungerer
2021-05-31 18:47 ` [PATCH 5/7] m68k: coldfire: remove private clk_get/clk_put Arnd Bergmann
2021-05-31 18:47 ` [PATCH 6/7] clkdev: remove CONFIG_CLKDEV_LOOKUP Arnd Bergmann
2021-05-31 18:47 ` [PATCH 7/7] clkdev: remove unused clkdev_alloc() interfaces Arnd Bergmann
2021-06-02 7:54 ` Stephen Boyd
2021-06-01 9:51 ` [PATCH 0/7] clk: clean up legacy clock interfaces Thomas Bogendoerfer
2021-06-01 12:24 ` Arnd Bergmann
2021-06-01 22:05 ` Stephen Boyd
2021-06-02 10:37 ` Arnd Bergmann
2021-06-01 12:02 ` Greg Ungerer [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-05-31 17:34 Arnd Bergmann
2021-05-31 18:44 ` Dmitry Osipenko
2021-05-31 18:47 ` Arnd Bergmann
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=cb71ceb3-02a2-ee26-fc9b-e7ebe826efb4@linux-m68k.org \
--to=gerg@linux-m68k.org \
--cc=arnd@arndb.de \
--cc=arnd@kernel.org \
--cc=digetx@gmail.com \
--cc=florian@openwrt.org \
--cc=geert@linux-m68k.org \
--cc=john@phrozen.org \
--cc=jonas.gorski@gmail.com \
--cc=krzysztof.kozlowski@canonical.com \
--cc=linux-clk@vger.kernel.org \
--cc=linux-m68k@lists.linux-m68k.org \
--cc=linux-mips@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=mturquette@baylibre.com \
--cc=sboyd@kernel.org \
--cc=tsbogend@alpha.franken.de \
/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;
as well as URLs for NNTP newsgroup(s).