RE: [RFC PATCH 1/5] arm:omap1/2/3/4:Convert 32k-Sync clocksource driver to platform_driver |
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: RE: [RFC PATCH 1/5] arm:omap1/2/3/4:Convert 32k-Sync clocksource driver to platform_driver
- From: "Hiremath, Vaibhav" <hvaibhav@xxxxxx>
- Date: Wed, 18 Jan 2012 13:34:55 +0000
- Accept-language: en-US
- Cc: "linux-omap@xxxxxxxxxxxxxxx" <linux-omap@xxxxxxxxxxxxxxx>, "Hilman, Kevin" <khilman@xxxxxx>, "paul@xxxxxxxxx" <paul@xxxxxxxxx>, "Cousson, Benoit" <b-cousson@xxxxxx>, "tony@xxxxxxxxxxx" <tony@xxxxxxxxxxx>, "johnstul@xxxxxxxxxx" <johnstul@xxxxxxxxxx>, "Balbi, Felipe" <balbi@xxxxxx>, "tglx@xxxxxxxxxxxxx" <tglx@xxxxxxxxxxxxx>, "DebBarma, Tarun Kanti" <tarun.kanti@xxxxxx>, "linux-arm-kernel@xxxxxxxxxxxxxxxxxxx" <linux-arm-kernel@xxxxxxxxxxxxxxxxxxx>
- In-reply-to: <20120118115952.GM16726@n2100.arm.linux.org.uk>
- Thread-topic: [RFC PATCH 1/5] arm:omap1/2/3/4:Convert 32k-Sync clocksource driver to platform_driver
On Wed, Jan 18, 2012 at 17:29:52, Russell King - ARM Linux wrote:
> On Wed, Jan 18, 2012 at 04:58:02PM +0530, Vaibhav Hiremath wrote:
> > Convert counter_32k clocksource driver to standard platform_driver
> > and move it drivers/clocksource/ directory.
> >
> > Also, rename it to more generic name "omap-32k.c".
>
> NAK. sched_clock is supposed to be available early. Platform device
> driver initialization is FAR too late.
>
Russell,
Sched_clock is available very early during boot sequence. Initially gp-timer
(dmtimer) will get registered as a clocksource. Please refer to the file
mach-omap2/timer.c
32k_sync timer (omap-32k.c) will come get registered during arch_init.
Just FYI, the way I tested it is, I used kernel parameter
"clocksourse=counter-32k", the switch from gp-timer to 32k timer
will happen once it gets registered.
Thanks,
Vaibhav
> Note that some of the code you're moving has changed in current kernels.
>
--
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]