Thread (1 message) 1 message, 1 author, 2012-09-07

[RFC RESEND 1/4] arm/dts: OMAP: Add timer nodes

From: Jon Hunter <hidden>
Date: 2012-09-07 02:09:28
Also in: linux-devicetree, linux-omap

On 09/06/2012 08:45 AM, Rob Herring wrote:
On 07/23/2012 10:24 AM, Jon Hunter wrote:
[snip]
quoted
Do you have any inputs on the above? Does it make sense to reserve timer
resources for kernel system timers in device-tree?
This issue is not unique to omap. So if we do specify clockevent and
clocksource in dts, then it should be in a common way. I think using
"linux,clockevent" either as an alias name or property within the timer
node would work. I don't have a strong preference, but I tend to lean
toward an alias. Primarily this is because we are already using aliases
for similar purposes.

However, I still think this could be done by looking at properties.
There's not really any reason you can't check properties at timer init
stage. The FDT has already been un-flattened. What are the features or
lack of features you care about to determine which timer to use?
I agree. Currently, I am looking into implementing something that will
use timer properties to select the system timers for the kernel and not
require us to select them in the device-tree. Once I have something
working I will send out for review.

Cheers
Jon
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help