aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/timer-atmel-tcb.c
AgeCommit message (Collapse)Author
2019-08-27clocksource: tcb_clksrc: Reference `tc' properlyAlexandre Belloni
Use `tc' is denfined locally, reference it as a pointer. Use `atmel_tcb_divisors' in setup_clkevents() which is the same struct like `atmel_tc_divisors' but already defined locally in the file. With this change, the driver no longer depends on ATMEL_TCLIB. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Link: https://lore.kernel.org/r/20190821161934.GE27031@piout.net [bigeasy: proper incremental patch] Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-07-22clocksource: TCLIB: Allow higher clock rates for clock eventsBenedikt Spranger
As default the TCLIB uses the 32KiHz base clock rate for clock events. Add a compile time selection to allow higher clock resulution. (fixed up by Sami Pietikäinen <Sami.Pietikainen@wapice.com>) Signed-off-by: Benedikt Spranger <b.spranger@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2019-07-22arm: at91: do not disable/enable clocks in a rowSebastian Andrzej Siewior
Currently the driver will disable the clock and enable it one line later if it is switching from periodic mode into one shot. This can be avoided and causes a needless warning on -RT. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
2019-05-02clocksource/drivers/timer-atmel-tcb: Convert tc_clksrc_suspend|resume() to ↵kbuild test robot
static Statisticize tc_clksrc_suspend and tc_clksrc_resume. Signed-off-by: kbuild test robot <lkp@intel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
2019-05-02clocksource/drivers/tcb_clksrc: Rename the file for consistencyAlexandre Belloni
For the sake of consistency, let's rename the file to a name similar to other file names in this directory. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>