[PATCH 33/46] davinci: add generic CPUFreq driver for DaVinci

Kevin Hilman khilman at deeprootsystems.com
Mon Nov 2 12:20:51 EST 2009


"Nori, Sekhar" <nsekhar at ti.com> writes:

> On Sat, Oct 17, 2009 at 00:39:37, Kevin Hilman wrote:
>> From: Sekhar Nori <nsekhar at ti.com>
>>
>> Adds a basic CPUFreq driver for DaVinci devices registering with the
>> kernel CPUFreq infrastructure.
>>
>> Support is added for both frequency and voltage regulation.
>>
>> Signed-off-by: Sekhar Nori <nsekhar at ti.com>
>> Signed-off-by: Kevin Hilman <khilman at deeprootsystems.com>
>> ---
>>  arch/arm/mach-davinci/Kconfig                |    1 +
>>  arch/arm/mach-davinci/Makefile               |    3 +
>>  arch/arm/mach-davinci/cpufreq.c              |  219 ++++++++++++++++++++++++++
>>  arch/arm/mach-davinci/include/mach/cpufreq.h |   25 +++
>>  4 files changed, 248 insertions(+), 0 deletions(-)
>>  create mode 100644 arch/arm/mach-davinci/cpufreq.c
>>  create mode 100644 arch/arm/mach-davinci/include/mach/cpufreq.h
>>
>> diff --git a/arch/arm/mach-davinci/Kconfig b/arch/arm/mach-davinci/Kconfig
>> index 7b6dddf..6c81b6c 100644
>> --- a/arch/arm/mach-davinci/Kconfig
>> +++ b/arch/arm/mach-davinci/Kconfig
>> @@ -32,6 +32,7 @@ config ARCH_DAVINCI_DA830
>>          bool "DA830/OMAP-L137 based system"
>>       select CP_INTC
>>       select ARCH_DAVINCI_DA8XX
>> +     select ARCH_HAS_CPUFREQ
>
> Kevin,
>
> This config option has mistakenly been selected for DA830
> instead of DA850.
>

Thanks Sekhar,

I'll fix in davinci-next.

Kevin



More information about the linux-arm-kernel mailing list