linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: daniel.lezcano@linaro.org (Daniel Lezcano)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] ARM: clps711x: Add cpuidle driver
Date: Mon, 24 Mar 2014 18:15:02 +0100	[thread overview]
Message-ID: <53306816.1090809@linaro.org> (raw)
In-Reply-To: <1395679441.129942365@f386.i.mail.ru>

On 03/24/2014 05:44 PM, Alexander Shiyan wrote:
> Mon, 24 Mar 2014 16:34:44 +0100 ?? Daniel Lezcano <daniel.lezcano@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@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

      reply	other threads:[~2014-03-24 17:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-22  5:44 [PATCH 1/2] ARM: clps711x: Add cpuidle driver Alexander Shiyan
2014-03-22  5:44 ` [PATCH 2/2] ARM: clps711x: Switch CLPS711X subarch to use " Alexander Shiyan
2014-03-26 11:03   ` Daniel Lezcano
2014-03-26 11:09     ` Alexander Shiyan
2014-03-26 11:23       ` Daniel Lezcano
2014-03-24 15:34 ` [PATCH 1/2] ARM: clps711x: Add " Daniel Lezcano
2014-03-24 16:44   ` Alexander Shiyan
2014-03-24 17:15     ` Daniel Lezcano [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53306816.1090809@linaro.org \
    --to=daniel.lezcano@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).