Skip to content

OMAP3 PM: CPUFreq driver for OMAP3

Rajendra Nayak linux-omap 1 version In review

Get series with b4
b4 am '00c701c94327$aec6cee0$LocalHost@wipultra1382'

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3OMAP3 PM: Replace spinlocks with mutex in SRFarch/arm/plat-omap/resource.c+16 -240 replies
2/3OMAP3 PM: CPUFreq driver for OMAP3arch/arm/mach-omap2/clock34xx.c arch/arm/mach-omap2/resource34xx.c arch/arm/plat-omap/cpu-omap.c+81 -62 replies
3/3OMAP3 PM: Update the min defconfig for 3430sdparch/arm/configs/omap_3430sdp_min_defconfig+27 -51 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/03] OMAP3 PM: CPUFreq driver for OMAP3

Hi,

This patch set implements the CPUFreq driver for OMAP3 platforms. I have these patches validated on 3430SDP using the omap_3430sdp_min_defconfig.

These patches apply on top of pm-20081106 (commit 0994b2df775ac04806ed)
+ [PATCH 00/08] OMAP3 SRF: OPP and Frequency resources.
"CPUFreq" and "PM layer implemented using SRF" are selected by default now in the omap_3430sdp_min_defconfig.

CPUFreq driver now scales only between OPP1 and OPP4 (110% overdrive). By default the governor selected is "perforamance" hence the bootup happens at OPP4. After bootup use this command to switch to ondemand governor
echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

The ondemand governor can be tuned for sampling rate (rate at which CPU load samples are taken) and up threshold using the following /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold

regards,
Rajendra