All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/9] Allow COMMON_CLK to be selectable
@ 2020-04-05  2:51 ` Stephen Boyd
  0 siblings, 0 replies; 39+ messages in thread
From: Stephen Boyd @ 2020-04-05  2:51 UTC (permalink / raw)
  To: Michael Turquette, Stephen Boyd
  Cc: Rich Felker, linux-sh, Catalin Marinas, Jiaxun Yang, linux-mips,
	Manivannan Sadhasivam, chenhc, Will Deacon, linux-clk,
	linux-c6x-dev, Alexander Shiyan, Russell King, Yoshinori Sato,
	Geert Uytterhoeven, Mark Salter, Thierry Reding,
	uclinux-h8-devel, Arnd Bergmann, Aurelien Jacquiot,
	Lubomir Rintel, linux-m68k, Mark Brown, Guan Xuetao,
	linux-arm-kernel, Paul Walmsley, Thomas Bogendoerfer,
	Paul Burton, linux-kernel, Tony Prisk, Andreas Färber

This patch series cleans up a handful of selects that were redundant and
deletes presumably dead code with the goal of making it possible to add
kunit tests for the CCF in the future. To do that, we introduce a
"legacy" clk Kconfig option to mark code that hasn't migrated to the
common clk framework and then make the COMMON_CLK config option visible
in the menuconfig as long as that legacy option isn't enabled. I've also
included a couple patches at the end that may be more controversial but
helped me consolidate all this logic/code.

I haven't done more than compile test a few configs for arm, arm64,
h8300, and mips. More testing is welcome.

The plan is that I'll just merge the whole pile through the clk tree. If
the first five patches or the last three patches are better going
through another tree like arm-soc or architecture trees that's fine too,
but there are potential conflicts between trees so maybe it's better to
just leave it all in one tree.

Stephen Boyd (9):
  ARM: Remove redundant COMMON_CLK selects
  ARM: Remove redundant CLKDEV_LOOKUP selects
  arm64: tegra: Remove redundant CLKDEV_LOOKUP selects
  h8300: Remove redundant CLKDEV_LOOKUP selects
  MIPS: Remove redundant CLKDEV_LOOKUP selects
  clk: Allow the common clk framework to be selectable
  ARM: mmp: Remove legacy clk code
  MIPS: Loongson64: Drop asm/clock.h include
  clk: Move HAVE_CLK config out of architecture layer

Cc: Alexander Shiyan <shc_work@mail.ru>
Cc: "Andreas Färber" <afaerber@suse.de>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Aurelien Jacquiot <jacquiot.aurelien@gmail.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: <chenhc@lemote.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Guan Xuetao <gxt@pku.edu.cn>
Cc: Jiaxun Yang <jiaxun.yang@flygoat.com>
Cc: <linux-arm-kernel@lists.infradead.org>
Cc: <linux-c6x-dev@linux-c6x.org>
Cc: <linux-m68k@lists.linux-m68k.org>
Cc: <linux-mips@vger.kernel.org>
Cc: <linux-sh@vger.kernel.org>
Cc: Lubomir Rintel <lkundrak@v3.sk>
Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Cc: Mark Brown <broonie@kernel.org>
Cc: Mark Salter <msalter@redhat.com>
Cc: Paul Burton <paulburton@kernel.org>
Cc: Paul Walmsley <paul@pwsan.com>
Cc: Rich Felker <dalias@libc.org>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Thierry Reding <treding@nvidia.com>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: Tony Prisk <linux@prisktech.co.nz>
Cc: uclinux-h8-devel@lists.sourceforge.jp
Cc: Will Deacon <will@kernel.org>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>

 arch/Kconfig                     |   6 --
 arch/arm/Kconfig                 |   5 +-
 arch/arm/mach-actions/Kconfig    |   1 -
 arch/arm/mach-clps711x/Kconfig   |   1 -
 arch/arm/mach-mmp/Kconfig        |   1 -
 arch/arm/mach-mmp/Makefile       |   6 --
 arch/arm/mach-mmp/clock-mmp2.c   | 114 -------------------------------
 arch/arm/mach-mmp/clock-pxa168.c |  94 -------------------------
 arch/arm/mach-mmp/clock-pxa910.c |  70 -------------------
 arch/arm/mach-mmp/clock.c        | 105 ----------------------------
 arch/arm/mach-mmp/clock.h        |  65 ------------------
 arch/arm/mach-vt8500/Kconfig     |   1 -
 arch/arm64/Kconfig.platforms     |   1 -
 arch/c6x/Kconfig                 |   1 +
 arch/h8300/Kconfig               |   1 -
 arch/m68k/Kconfig.cpu            |   2 +-
 arch/mips/Kconfig                |   8 +--
 arch/mips/loongson2ef/Kconfig    |   2 +-
 arch/mips/loongson64/smp.c       |   1 -
 arch/sh/boards/Kconfig           |   5 ++
 arch/unicore32/Kconfig           |   2 +-
 drivers/clk/Kconfig              |  23 +++++--
 22 files changed, 34 insertions(+), 481 deletions(-)
 delete mode 100644 arch/arm/mach-mmp/clock-mmp2.c
 delete mode 100644 arch/arm/mach-mmp/clock-pxa168.c
 delete mode 100644 arch/arm/mach-mmp/clock-pxa910.c
 delete mode 100644 arch/arm/mach-mmp/clock.c
 delete mode 100644 arch/arm/mach-mmp/clock.h


base-commit: 7111951b8d4973bda27ff663f2cf18b663d15b48
-- 
Sent by a computer, using git, on the internet

^ permalink raw reply	[flat|nested] 39+ messages in thread

end of thread, other threads:[~2020-04-07  7:08 UTC | newest]

Thread overview: 39+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-05  2:51 [PATCH 0/9] Allow COMMON_CLK to be selectable Stephen Boyd
2020-04-05  2:51 ` Stephen Boyd
2020-04-05  2:51 ` Stephen Boyd
2020-04-05  2:51 ` [PATCH 1/9] ARM: Remove redundant COMMON_CLK selects Stephen Boyd
2020-04-05  2:51   ` Stephen Boyd
2020-04-05  6:20   ` Manivannan Sadhasivam
2020-04-05  6:20     ` Manivannan Sadhasivam
2020-04-06 11:03   ` Andreas Färber
2020-04-06 11:03     ` Andreas Färber
2020-04-05  2:51 ` [PATCH 2/9] ARM: Remove redundant CLKDEV_LOOKUP selects Stephen Boyd
2020-04-05  2:51   ` Stephen Boyd
2020-04-05  2:51 ` [PATCH 3/9] arm64: tegra: " Stephen Boyd
2020-04-05  2:51   ` Stephen Boyd
2020-04-06  9:12   ` Thierry Reding
2020-04-06  9:12     ` Thierry Reding
2020-04-05  2:51 ` [PATCH 4/9] h8300: " Stephen Boyd
2020-04-05  2:51 ` [PATCH 5/9] MIPS: " Stephen Boyd
2020-04-05  2:51 ` [PATCH 6/9] clk: Allow the common clk framework to be selectable Stephen Boyd
2020-04-05  2:51   ` Stephen Boyd
2020-04-05  2:51   ` Stephen Boyd
2020-04-05 12:45   ` Arnd Bergmann
2020-04-05 12:45     ` Arnd Bergmann
2020-04-05 12:45     ` Arnd Bergmann
     [not found]     ` <158614207114.88454.6776609424163493475@swboyd.mtv.corp.google.com>
2020-04-06  7:35       ` Arnd Bergmann
2020-04-06  7:35         ` Arnd Bergmann
2020-04-07  4:57         ` Greg Ungerer
2020-04-07  4:57           ` Greg Ungerer
2020-04-07  4:57           ` Greg Ungerer
2020-04-07  7:07           ` Geert Uytterhoeven
2020-04-07  7:07             ` Geert Uytterhoeven
2020-04-07  7:07             ` Geert Uytterhoeven
2020-04-05 14:27   ` kbuild test robot
2020-04-05 14:27     ` kbuild test robot
2020-04-05 14:27     ` kbuild test robot
2020-04-05 14:27     ` kbuild test robot
2020-04-05  2:51 ` [PATCH 7/9] ARM: mmp: Remove legacy clk code Stephen Boyd
2020-04-05  2:51   ` Stephen Boyd
2020-04-05  2:51 ` [PATCH 8/9] MIPS: Loongson64: Drop asm/clock.h include Stephen Boyd
2020-04-05  2:51 ` [PATCH 9/9] clk: Move HAVE_CLK config out of architecture layer Stephen Boyd

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.