[PATCH 1/2] ARM: clps711x: Add cpuidle driver
Daniel Lezcano
daniel.lezcano at linaro.org
Mon Mar 24 13:15:02 EDT 2014
On 03/24/2014 05:44 PM, Alexander Shiyan wrote:
> Mon, 24 Mar 2014 16:34:44 +0100 от Daniel Lezcano <daniel.lezcano at linaro.org>:
>> On 03/22/2014 06:44 AM, Alexander Shiyan wrote:
>>> Add cpuidle support for ARM Cirrus Logic CLPS711X CPUs.
>>> This CPU has an unique internal register and write to this location
>>> will put the system into the Idle State by halting the clock to the
>>> processor until an interrupt is generated.
>>>
>>> Signed-off-by: Alexander Shiyan <shc_work at mail.ru>
>>> ---
> ...
>>> +static struct cpuidle_driver clps711x_idle_driver = {
>>> + .name = CLPS711X_CPUIDLE_NAME,
>>> + .owner = THIS_MODULE,
>>> + .states[0] = {
>>> + .name = "HALT",
>>> + .desc = "CLPS711X HALT",
>>> + .enter = clps711x_cpuidle_halt,
>>> + .exit_latency = 1,
>>
>> Did you forget target_residency ? Or just not defined it as it is 0 ?
>
> Yes, zero value.
Ok, thanks. The driver looks good. I will pick it for 3.16.
Thanks
-- Daniel
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
More information about the linux-arm-kernel
mailing list