From: nico@fluxnic.net (Nicolas Pitre)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 10/11] ARM: pxa: add 32KHz timer as clock source
Date: Fri, 12 Nov 2010 12:50:05 -0500 (EST) [thread overview]
Message-ID: <alpine.LFD.2.00.1011121246000.13911@xanadu.home> (raw)
In-Reply-To: <1289546260-6208-10-git-send-email-haojian.zhuang@marvell.com>
On Fri, 12 Nov 2010, Haojian Zhuang wrote:
> PXA silicons are using 3MHz timer as default clock source. But it'll be stopped
> counting in low power mode. Although 32KHz timer is slow, it can continue
> counting in low power mode. While low power mode is implemented as idle,
> stopped timer can't be accepted.
>
> Add 32KHz timer as an alternative clock source. User can switch clock source
> on demand.
Why are you doing this? What's wrong with having timers stopped when
in sleep mode? I don't think a 32K timer is precise enough for
runtime usage in general.
What you should do instead is to use the 32KHz timer to readjust OSCR
when the CPU comes out of sleep mode.
Nicolas
next prev parent reply other threads:[~2010-11-12 17:50 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-12 7:17 [PATCH 01/11] ARM: pxa: redefine the cpu_is_pxa3xx Haojian Zhuang
2010-11-12 7:17 ` [PATCH 02/11] ARM: pxa: redefine irqs.h Haojian Zhuang
2010-11-12 7:17 ` [PATCH 03/11] ARM: pxa: split pxa93x from pxa3xx Haojian Zhuang
2010-11-12 7:17 ` [PATCH 04/11] ARM: pxa: update to read ICHP Haojian Zhuang
2010-11-12 7:17 ` [PATCH 05/11] ARM: pxa: support pxa95x Haojian Zhuang
2010-11-12 7:17 ` [PATCH 06/11] ARM: pxa: support saarb platform Haojian Zhuang
2010-11-12 7:17 ` [PATCH 07/11] ARM: mmp: select CPU_PJ4 Haojian Zhuang
2010-11-12 7:17 ` [PATCH 08/11] ARM: pxa: sanitize IRQ registers access based on offset Haojian Zhuang
2010-11-12 7:17 ` [PATCH 09/11] ARM: pxa: auto compute shift and mult of timer Haojian Zhuang
2010-11-12 7:17 ` [PATCH 10/11] ARM: pxa: add 32KHz timer as clock source Haojian Zhuang
2010-11-12 7:17 ` [PATCH 11/11] ARM: pxa: add iwmmx support for PJ4 Haojian Zhuang
2010-11-12 18:43 ` Nicolas Pitre
2010-11-12 17:50 ` Nicolas Pitre [this message]
2010-11-16 5:07 ` [PATCH 10/11] ARM: pxa: add 32KHz timer as clock source Haojian Zhuang
2011-01-09 22:49 ` [PATCH 08/11] ARM: pxa: sanitize IRQ registers access based on offset Marek Vasut
2010-11-12 8:50 ` [PATCH 05/11] ARM: pxa: support pxa95x Haojian Zhuang
2010-11-12 8:34 ` [PATCH 04/11] ARM: pxa: update to read ICHP Eric Miao
2010-11-12 8:53 ` Haojian Zhuang
2010-11-12 8:07 ` [PATCH 03/11] ARM: pxa: split pxa93x from pxa3xx Eric Miao
2010-11-12 8:47 ` Haojian Zhuang
2010-11-12 8:02 ` [PATCH 02/11] ARM: pxa: redefine irqs.h Eric Miao
2010-11-12 8:00 ` [PATCH 01/11] ARM: pxa: redefine the cpu_is_pxa3xx Eric Miao
2010-11-16 14:24 ` Eric Miao
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=alpine.LFD.2.00.1011121246000.13911@xanadu.home \
--to=nico@fluxnic.net \
--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).