new cpufreq driver for NatSemi Geode
PATCH 1/1 new cpufreq driver for NatSemi Geode
I write a new cpufreq driver for NatSemi Geode.
This driver supports old Cyrix MediaGXm or NatSemi Geode GX series with CS5530,CS5530A, CS5520 and CS5510.
This driver detects a chipset and does thing that suitable for chip. I test it on MediaGXm 200MHz with CS5520 and Geode GX1 with CS5520.
My code based on Zwane Mwaikambo's patch. I re-write almost.
Please merge this driver into cpufreq project patchset.
A patch for 2.5.53 is attatched and you can download driver file only from
http://www.da-cha.org/geode/gx-suspmod.c
linux-2.5.53/arch/i386/Kconfig renamed from arch/i386/Kconfig +11 -0
@@ -985,6 +1003,17 @@ If in doubt, say N. +config X86_GX_SUSPMOD + tristate "Cyrix MediaGX/NatSemi Geode Suspend Modulation" + depends on CPU_FREQ + help + This add the CPUFreq driver for NatSemi Geode processors which + support suspend modulation. + + For details, take a look at linux/Documentation/cpufreq. + + If in doubt, say N. + endmenu
linux-2.5.53/arch/i386/defconfig renamed from arch/i386/defconfig +1 -0
@@ -65,6 +65,7 @@ CONFIG_X86_MCE=y # CONFIG_X86_MCE_NONFATAL is not set CONFIG_X86_MCE_P4THERMAL=y +# CONFIG_X86_GX_SUSPMOD is not set # CONFIG_TOSHIBA is not set # CONFIG_I8K is not set # CONFIG_MICROCODE is not set
linux-2.5.53/arch/i386/kernel/cpu/cpufreq/Makefile renamed from arch/i386/kernel/cpu/cpufreq/Makefile +2 -0
@@ -4,3 +4,5 @@ obj-$(CONFIG_X86_P4_CLOCKMOD) += p4-clockmod.o obj-$(CONFIG_ELAN_CPUFREQ) += elanfreq.o obj-$(CONFIG_X86_LONGRUN) += longrun.o +obj-$(CONFIG_X86_GX_SUSPMOD) += gx-suspmod.o +
linux-2.5.53/arch/i386/kernel/cpu/cpufreq/gx-suspmod.c renamed from arch/i386/kernel/cpu/cpufreq/gx-suspmod.c +467 -0
467 lines not on this page · raw message