[Uclinux-h8-devel] [PATCH v2 00/10] Allow COMMON_CLK to be selectable

Zurück zum Archiv-Index
Stephen Boyd sboyd****@kerne*****
2020年 4月 9日 (木) 15:44:06 JST

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.

Changes from v1:
 * Fixed MIPS ralink build problem pointed out by Arnd
 * Fixed meson mx sdio build due to bad Kconfig exposed by this change
 * Picked up acks

Stephen Boyd (10):
  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
  mmc: meson-mx-sdio: Depend on OF_ADDRESS and not just OF
  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*****>
Cc: "Andreas Färber" <afaer****@suse*****>
Cc: Arnd Bergmann <arnd****@arndb*****>
Cc: Aurelien Jacquiot <jacqu****@gmail*****>
Cc: Catalin Marinas <catal****@arm*****>
Cc: <chenh****@lemot*****>
Cc: Geert Uytterhoeven <geert****@linux*****>
Cc: Guan Xuetao <gxt****@pku*****>
Cc: Jiaxun Yang <jiaxu****@flygo*****>
Cc: <linux****@lists*****>
Cc: <linux****@linux*****>
Cc: <linux****@lists*****>
Cc: <linux****@vger*****>
Cc: <linux****@vger*****>
Cc: Lubomir Rintel <lkund****@v3*****>
Cc: Manivannan Sadhasivam <maniv****@linar*****>
Cc: Mark Brown <broon****@kerne*****>
Cc: Mark Salter <msalt****@redha*****>
Cc: Neil Armstrong <narms****@bayli*****>
Cc: Paul Burton <paulb****@kerne*****>
Cc: Paul Walmsley <paul****@pwsan*****>
Cc: Rich Felker <dalia****@libc*****>
Cc: Russell King <linux****@armli*****>
Cc: Thierry Reding <tredi****@nvidi*****>
Cc: Thomas Bogendoerfer <tsbog****@alpha*****>
Cc: Tony Prisk <linux****@prisk*****>
Cc: uclin****@lists*****
Cc: Ulf Hansson <ulf.h****@linar*****>
Cc: Will Deacon <will****@kerne*****>
Cc: Yoshinori Sato <ysato****@users*****>

 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                |   7 +-
 arch/mips/loongson2ef/Kconfig    |   2 +-
 arch/mips/loongson64/smp.c       |   1 -
 arch/mips/ralink/Kconfig         |   4 ++
 arch/sh/boards/Kconfig           |   5 ++
 arch/unicore32/Kconfig           |   2 +-
 drivers/clk/Kconfig              |  23 +++++--
 drivers/mmc/host/Kconfig         |   2 +-
 24 files changed, 38 insertions(+), 482 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

Uclinux-h8-devel メーリングリストの案内
Zurück zum Archiv-Index