Skip to contentSkip to conversation

cpufreq: maple: Remove maple driver

PATCH Applied Michael Ellerman 3 participants 3 messages Nov 12, 2024 – Nov 17, 2024 CPU frequency scaling framework

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cpufreq: maple: Remove maple driver

This driver is no longer buildable since the PPC_MAPLE platform was removed, see commit 62f8f307c80e ("powerpc/64: Remove maple platform").

Remove the driver.

Note that the comment in the driver says it supports "SMU & 970FX based G5 Macs", but that's not true, that comment was copied from pmac64-cpufreq.c, which still exists and continues to support those machines.

---
 drivers/cpufreq/Kconfig.powerpc |   7 -
 drivers/cpufreq/Makefile        |   1 -
 drivers/cpufreq/maple-cpufreq.c | 242 --------------------------------
 3 files changed, 250 deletions(-)
 delete mode 100644 drivers/cpufreq/maple-cpufreq.c

The removal commit is in the powerpc/next branch:
https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/log/?h=next

I can take this via the powerpc tree if that's easiest, let me know.

drivers/cpufreq/Kconfig.powerpc +0 -7
index 58151ca56695..eb678fa5260a 100644
@@ -17,13 +17,6 @@ config CPU_FREQ_CBE_PMI
 	  frequencies. Using PMI, the processor will not only be able to run at
 	  lower speed, but also at lower core voltage.
 
-config CPU_FREQ_MAPLE
-	bool "Support for Maple 970FX Evaluation Board"
-	depends on PPC_MAPLE
-	help
-	  This adds support for frequency switching on Maple 970FX
-	  Evaluation Board and compatible boards (IBM JS2x blades).
-
 config CPU_FREQ_PMAC
 	bool "Support for Apple PowerBooks"
 	depends on ADB_PMU && PPC32
drivers/cpufreq/Makefile +0 -1
index 0f184031dd12..1a8f787db7e2 100644
@@ -92,7 +92,6 @@ obj-$(CONFIG_ARM_VEXPRESS_SPC_CPUFREQ)	+= vexpress-spc-cpufreq.o
 obj-$(CONFIG_CPU_FREQ_CBE)		+= ppc-cbe-cpufreq.o
 ppc-cbe-cpufreq-y			+= ppc_cbe_cpufreq_pervasive.o ppc_cbe_cpufreq.o
 obj-$(CONFIG_CPU_FREQ_CBE_PMI)		+= ppc_cbe_cpufreq_pmi.o
-obj-$(CONFIG_CPU_FREQ_MAPLE)		+= maple-cpufreq.o
 obj-$(CONFIG_QORIQ_CPUFREQ)   		+= qoriq-cpufreq.o
 obj-$(CONFIG_CPU_FREQ_PMAC)		+= pmac32-cpufreq.o
 obj-$(CONFIG_CPU_FREQ_PMAC64)		+= pmac64-cpufreq.o
drivers/cpufreq/maple-cpufreq.c deleted +0 -242

242 lines not on this page · raw message

Signature · 1 line
2.47.0
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 18 lines · Michael Ellerman

This driver is no longer buildable since the PPC_MAPLE platform was removed, see commit 62f8f307c80e ("powerpc/64: Remove maple platform").

Remove the driver.

Note that the comment in the driver says it supports "SMU & 970FX based G5 Macs", but that's not true, that comment was copied from pmac64-cpufreq.c, which still exists and continues to support those machines.

---
 drivers/cpufreq/Kconfig.powerpc |   7 -
 drivers/cpufreq/Makefile        |   1 -
 drivers/cpufreq/maple-cpufreq.c | 242 --------------------------------
 3 files changed, 250 deletions(-)
 delete mode 100644 drivers/cpufreq/maple-cpufreq.c
Quoted 4 lines

The removal commit is in the powerpc/next branch:
https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/log/?h=next

I can take this via the powerpc tree if that's easiest, let me know.

Please take it via the powerpc tree:

Signature · 1 line
viresh
#2 lore raw
In reply to Michael Ellerman
Quoted 11 lines · Michael Ellerman

This driver is no longer buildable since the PPC_MAPLE platform was removed, see commit 62f8f307c80e ("powerpc/64: Remove maple platform").

Remove the driver.

Note that the comment in the driver says it supports "SMU & 970FX based G5 Macs", but that's not true, that comment was copied from pmac64-cpufreq.c, which still exists and continues to support those machines.

[...]

Applied to powerpc/next.

[1/1] cpufreq: maple: Remove maple driver

      https://git.kernel.org/powerpc/c/fae2987e67786a6358c0ef47189b12ff19e9543a

cheers