Re: [PATCH 1/3] ARM: OMAP2+: 32k-counter: Use hwmod lookup to check presence of 32k timer |
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: [PATCH 1/3] ARM: OMAP2+: 32k-counter: Use hwmod lookup to check presence of 32k timer
- From: "Shilimkar, Santosh" <santosh.shilimkar@xxxxxx>
- Date: Tue, 10 Apr 2012 15:21:45 +0530
- Cc: Jon Hunter <jon-hunter@xxxxxx>, "Hiremath, Vaibhav" <hvaibhav@xxxxxx>, Tony Lindgren <tony@xxxxxxxxxxx>, "Hilman, Kevin" <khilman@xxxxxx>, Paul Walmsley <paul@xxxxxxxxx>, "Cousson, Benoit" <b-cousson@xxxxxx>, "marc.zyngier@xxxxxxx" <marc.zyngier@xxxxxxx>, Ming Lei <tom.leiming@xxxxxxxxx>, "Balbi, Felipe" <balbi@xxxxxx>, "johnstul@xxxxxxxxxx" <johnstul@xxxxxxxxxx>, "linux-omap@xxxxxxxxxxxxxxx" <linux-omap@xxxxxxxxxxxxxxx>, "DebBarma, Tarun Kanti" <tarun.kanti@xxxxxx>, "linux-arm-kernel@xxxxxxxxxxxxxxxxxxx" <linux-arm-kernel@xxxxxxxxxxxxxxxxxxx>
- In-reply-to: <20120410092904.GE25053@n2100.arm.linux.org.uk>
On Tue, Apr 10, 2012 at 2:59 PM, Russell King - ARM Linux
<linux@xxxxxxxxxxxxxxxx> wrote:
> On Tue, Apr 10, 2012 at 02:27:36PM +0530, Santosh Shilimkar wrote:
>> On Tuesday 10 April 2012 02:14 PM, Russell King - ARM Linux wrote:
>> > On Mon, Apr 09, 2012 at 03:18:22PM -0500, Jon Hunter wrote:
>> >> True, but we would always want to use the 32k timer if CONFIG_PM is
>> >> specified. So what I am saying is that if a device has a 32ksync timer
>> >> and CONFIG_PM is defined, we always want to use the 32ksync timer and a
>> >> gptimer should never be used.
>> >
>> > Why? What if you want to have PM enabled, and you also want to use the
>> > kernels high resolution timers, or you want more accurate timing than
>> > the 30.5us tick interval of the 32k timer?
>>
>> You might have missed the earlier comments on the thread. High
>> resolution GP timer(sysclk) will stop in deeper power states and
>> hence it can't be used with PM enabled usecases.
>
> Which means folk should be given the choice at boot time between running
> with the deeper power states and having a higher resolution timing source,
> rather than denying them the higher resolution timing source when PM is
> enabled.
Good point. My point is such facilities is already part of the kernel and
there is no need to add a new one. The last proposal was allowing user to
choose gptimer as a clocksource and then you already have facility to
disable C-state now so, all should work in general
Regards
Santosh
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux Arm (vger)]
[ARM Kernel]
[ARM MSM]
[Linux Tegra]
[Maemo Users]
[Linux USB Devel]
[Video for Linux]
[Linux Audio Users]
[Photo]
[Yosemite News]
[Yosemite Photos]
[Free Online Dating]
[Linux Kernel]
[Linux SCSI]
[XFree86]