Re: [PATCH V3 4/4] clocksource: mips-gic: Add device-tree support

2014-11-04 Thread Andrew Bresticker
Hi Mark, >> +static void __init gic_clocksource_of_init(struct device_node *node) >> +{ >> + if (of_property_read_u32(node, "clock-frequency", &gic_frequency)) { >> + pr_err("GIC frequency not specified.\n"); >> + return; >> + } >> + gic_timer_irq = irq_of_parse

Re: [PATCH V3 4/4] clocksource: mips-gic: Add device-tree support

2014-10-29 Thread Mark Rutland
On Wed, Oct 29, 2014 at 12:12:42AM +, Andrew Bresticker wrote: > Parse the GIC timer frequency and interrupt from the device-tree. > > Signed-off-by: Andrew Bresticker > --- > New for v3. > --- > drivers/clocksource/Kconfig | 1 + > drivers/clocksource/mips-gic-timer.c | 37 >

[PATCH V3 4/4] clocksource: mips-gic: Add device-tree support

2014-10-28 Thread Andrew Bresticker
Parse the GIC timer frequency and interrupt from the device-tree. Signed-off-by: Andrew Bresticker --- New for v3. --- drivers/clocksource/Kconfig | 1 + drivers/clocksource/mips-gic-timer.c | 37 +--- 2 files changed, 31 insertions(+), 7 deletions(-) d