diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2019-01-26 02:49:19 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2019-04-23 17:02:13 +0300 |
commit | 13e0b4059b984a1c63cae5604e1f665472751ea1 (patch) | |
tree | b1330012448bda34ea2a073abb304870cd6c6201 /include/linux/platform_data | |
parent | 55ec465e733e60d2d524bd42ff19b66ed21f01df (diff) | |
download | linux-13e0b4059b984a1c63cae5604e1f665472751ea1.tar.xz |
clocksource/drivers/ixp4xx: Add driver
This adds a new slightly rewritten timer driver for the
Intel IXP4xx clocksource, clockevent and delay timer.
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include/linux/platform_data')
-rw-r--r-- | include/linux/platform_data/timer-ixp4xx.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/linux/platform_data/timer-ixp4xx.h b/include/linux/platform_data/timer-ixp4xx.h new file mode 100644 index 000000000000..ee92ae7edaed --- /dev/null +++ b/include/linux/platform_data/timer-ixp4xx.h @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __TIMER_IXP4XX_H +#define __TIMER_IXP4XX_H + +#include <linux/ioport.h> + +void __init ixp4xx_timer_setup(resource_size_t timerbase, + int timer_irq, + unsigned int timer_freq); + +#endif |