Skip to contentSkip to conversation

cpufreq driver for the PXA255 processor.

PATCH In review Ian Campbell 1 participant 2 messages Oct 21, 2005 – Oct 26, 2005

Subsystems (5)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cpufreq driver for the PXA255 processor.

Hi Dave,

Below is a patch adding cpufreq support for the PXA255 Xscale processor. The driver was originally from Intrinsyc Software and spent some time in the old -bkpxa tree. Since then I've tweaked it a little and have been using it successfully for some time.

It was reviewed by several people on the list some time ago and I think it is ready to go in, I missed the boat for 2.6.14 due to the list being down, but I figure since 2.6.14 is due any day now it would be a good time to start sending stuff in preparation for 2.6.15 opening up.

arch/arm/Kconfig +7 -1
Index: 2.6/arch/arm/Kconfig
===================================================================
@@ -516,7 +516,7 @@
 
 endmenu
 
-if (ARCH_SA1100 || ARCH_INTEGRATOR || ARCH_OMAP1)
+if (ARCH_SA1100 || ARCH_INTEGRATOR || ARCH_OMAP1 || ARCH_PXA)
 
 menu "CPU Frequency scaling"
 
@@ -543,6 +543,12 @@
 
 	  If in doubt, say Y.
 
+config CPU_FREQ_PXA25x
+	bool
+	select CPU_FREQ_TABLE
+	depends on CPU_FREQ && PXA25x
+	default y
+
 endmenu
 
 endif
arch/arm/mach-pxa/Makefile +3 -0
Index: 2.6/arch/arm/mach-pxa/Makefile
===================================================================
@@ -22,6 +22,9 @@
 
 obj-$(CONFIG_LEDS) += $(led-y)
 
+# CPU freq support
+obj-$(CONFIG_CPU_FREQ_PXA25x) += cpu-pxa25x.o
+
 # Misc features
 obj-$(CONFIG_PM) += pm.o sleep.o
 
Documentation/cpu-freq/user-guide.txt +1 -0
Index: 2.6/Documentation/cpu-freq/user-guide.txt
===================================================================
@@ -45,6 +45,7 @@
 ARM Integrator
 ARM-SA1100
 ARM-SA1110
+Intel XScale PXA25x
 
 
 1.2 x86
arch/arm/mach-pxa/cpu-pxa25x.c new file +342 -0

342 lines not on this page · raw message

Signature · 4 lines
Ian Campbell, Senior Design Engineer
                                        Web: http://www.arcom.com
Arcom, Clifton Road, 			Direct: +44 (0)1223 403 465
Cambridge CB1 7EA, United Kingdom	Phone:  +44 (0)1223 411 200
#1 lore raw
Quoted 1 line · Ian Campbell

Below is a patch adding cpufreq support for the PXA255 Xscale processor.

Small update, makes a couple of things static and hence sparse clean.

arch/arm/Kconfig +7 -1
Index: 2.6/arch/arm/Kconfig
===================================================================
@@ -520,7 +520,7 @@
 
 endmenu
 
-if (ARCH_SA1100 || ARCH_INTEGRATOR || ARCH_OMAP1)
+if (ARCH_SA1100 || ARCH_INTEGRATOR || ARCH_OMAP1 || ARCH_PXA)
 
 menu "CPU Frequency scaling"
 
@@ -547,6 +547,12 @@
 
 	  If in doubt, say Y.
 
+config CPU_FREQ_PXA25x
+	bool
+	select CPU_FREQ_TABLE
+	depends on CPU_FREQ && PXA25x
+	default y
+
 endmenu
 
 endif
arch/arm/mach-pxa/Makefile +3 -0
Index: 2.6/arch/arm/mach-pxa/Makefile
===================================================================
@@ -23,6 +23,9 @@
 
 obj-$(CONFIG_LEDS) += $(led-y)
 
+# CPU freq support
+obj-$(CONFIG_CPU_FREQ_PXA25x) += cpu-pxa25x.o
+
 # Misc features
 obj-$(CONFIG_PM) += pm.o sleep.o
 
Documentation/cpu-freq/user-guide.txt +1 -0
Index: 2.6/Documentation/cpu-freq/user-guide.txt
===================================================================
@@ -45,6 +45,7 @@
 ARM Integrator
 ARM-SA1100
 ARM-SA1110
+Intel XScale PXA25x
 
 
 1.2 x86
arch/arm/mach-pxa/cpu-pxa25x.c new file +342 -0

342 lines not on this page · raw message

Signature · 4 lines
Ian Campbell, Senior Design Engineer
                                        Web: http://www.arcom.com
Arcom, Clifton Road, 			Direct: +44 (0)1223 403 465
Cambridge CB1 7EA, United Kingdom	Phone:  +44 (0)1223 411 200