On 18 July 2013 15:56, Mark Rutland [off-list ref] wrote:
When you say look up the apb-clock node, I assume they find it via their
clocks property with of_clk_get or similar, rather than scanning the
tree for a "moxart,moxa-apb-clock" node specifically?
Yes, all use of_clk_get(node, 0), which is fortunate because e.g.
clocksource is already merged with linaro's clockevent drivers tree.
That should mean I can get away with only changing the DT files :)
Given the above, I think it would make more sense to have core-clock
registered, and have it passed to the devices currently passed
apb-clock.
OK, I'll return with an updated version.
Best regards,
Jonas