Path: blob/master/Documentation/arm/Samsung-S3C24XX/CPUfreq.txt
10823 views
S3C24XX CPUfreq support1=======================23Introduction4------------56The S3C24XX series support a number of power saving systems, such as7the ability to change the core, memory and peripheral operating8frequencies. The core control is exported via the CPUFreq driver9which has a number of different manual or automatic controls over the10rate the core is running at.1112There are two forms of the driver depending on the specific CPU and13how the clocks are arranged. The first implementation used as single14PLL to feed the ARM, memory and peripherals via a series of dividers15and muxes and this is the implementation that is documented here. A16newer version where there is a separate PLL and clock divider for the17ARM core is available as a separate driver.181920Layout21------2223The code core manages the CPU specific drivers, any data that they24need to register and the interface to the generic drivers/cpufreq25system. Each CPU registers a driver to control the PLL, clock dividers26and anything else associated with it. Any board that wants to use this27framework needs to supply at least basic details of what is required.2829The core registers with drivers/cpufreq at init time if all the data30necessary has been supplied.313233CPU support34-----------3536The support for each CPU depends on the facilities provided by the37SoC and the driver as each device has different PLL and clock chains38associated with it.394041Slow Mode42---------4344The SLOW mode where the PLL is turned off altogether and the45system is fed by the external crystal input is currently not46supported.474849sysfs50-----5152The core code exports extra information via sysfs in the directory53devices/system/cpu/cpu0/arch-freq.545556Board Support57-------------5859Each board that wants to use the cpufreq code must register some basic60information with the core driver to provide information about what the61board requires and any restrictions being placed on it.6263The board needs to supply information about whether it needs the IO bank64timings changing, any maximum frequency limits and information about the65SDRAM refresh rate.6667686970Document Author71---------------7273Ben Dooks, Copyright 2009 Simtec Electronics74Licensed under GPLv2757677