RE: [PATCH v3 3/3] clocksource: Add clockevent support to NPS400 driver

2016-11-01 Thread Thomas Gleixner
On Tue, 1 Nov 2016, Noam Camus wrote: > >> +static int nps_clkevent_set_next_event(unsigned long delta, > >> + struct clock_event_device *dev) { > >> + struct irq_desc *desc = irq_to_desc(nps_timer0_irq); > >> + struct irq_chip *chip =

RE: [PATCH v3 3/3] clocksource: Add clockevent support to NPS400 driver

2016-11-01 Thread Thomas Gleixner
On Tue, 1 Nov 2016, Noam Camus wrote: > >> +static int nps_clkevent_set_next_event(unsigned long delta, > >> + struct clock_event_device *dev) { > >> + struct irq_desc *desc = irq_to_desc(nps_timer0_irq); > >> + struct irq_chip *chip =

RE: [PATCH v3 3/3] clocksource: Add clockevent support to NPS400 driver

2016-11-01 Thread Noam Camus
> From: Thomas Gleixner [mailto:t...@linutronix.de] > Sent: Monday, October 31, 2016 8:13 PM >> >> -static unsigned long nps_timer_rate; >> +static unsigned long nps_timer1_freq; >This should be either in the previous patch or seperate. Will fix in V4 >> @@ -101,3 +101,215 @@ static

RE: [PATCH v3 3/3] clocksource: Add clockevent support to NPS400 driver

2016-11-01 Thread Noam Camus
> From: Thomas Gleixner [mailto:t...@linutronix.de] > Sent: Monday, October 31, 2016 8:13 PM >> >> -static unsigned long nps_timer_rate; >> +static unsigned long nps_timer1_freq; >This should be either in the previous patch or seperate. Will fix in V4 >> @@ -101,3 +101,215 @@ static

Re: [PATCH v3 3/3] clocksource: Add clockevent support to NPS400 driver

2016-10-31 Thread Thomas Gleixner
On Mon, 31 Oct 2016, Noam Camus wrote: > > -static unsigned long nps_timer_rate; > +static unsigned long nps_timer1_freq; This should be either in the previous patch or seperate. > static int nps_get_timer_clk(struct device_node *node, >unsigned long *timer_freq, >

Re: [PATCH v3 3/3] clocksource: Add clockevent support to NPS400 driver

2016-10-31 Thread Thomas Gleixner
On Mon, 31 Oct 2016, Noam Camus wrote: > > -static unsigned long nps_timer_rate; > +static unsigned long nps_timer1_freq; This should be either in the previous patch or seperate. > static int nps_get_timer_clk(struct device_node *node, >unsigned long *timer_freq, >