CLOCKSOURCE: Add Pistachio clocksource-only driver
authorEzequiel Garcia <[email protected]>
Fri, 7 Aug 2015 15:39:31 +0000 (16:39 +0100)
committerRalf Baechle <[email protected]>
Thu, 3 Sep 2015 10:08:07 +0000 (12:08 +0200)
commit84583983c31983068429d82e6f9262009d584549
tree7c8619b08e31ac40a37d8d4ed054145a63f63b33
parentd6ed2b9b60cb03091e0c84c270d145a475606297
CLOCKSOURCE: Add Pistachio clocksource-only driver

The Pistachio SoC provides four general purpose timers, and allow
to implement a clocksource driver.

This driver can be used as a replacement for the MIPS GIC and MIPS R4K
clocksources and sched clocks, which are clocked from the CPU clock.

Given the general purpose timers are clocked from an independent clock,
this new clocksource driver will be useful to introduce CPUFreq support
for Pistachio machines.

Signed-off-by: Ezequiel Garcia <[email protected]>
Signed-off-by: Govindraj Raja <[email protected]>
Reviewed-by: Thomas Gleixner <[email protected]>
Acked-by: Daniel Lezcano <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: Andrew Bresticker <[email protected]>
Cc: James Hartley <[email protected]>
Cc: Damien Horsley <[email protected]>
Cc: James Hogan <[email protected]>
Cc: Ezequiel Garcia <[email protected]>
Cc: Ezequiel Garcia <[email protected]>
Patchwork: https://patchwork.linux-mips.org/patch/10899/
Signed-off-by: Ralf Baechle <[email protected]>
drivers/clocksource/Kconfig
drivers/clocksource/Makefile
drivers/clocksource/time-pistachio.c [new file with mode: 0644]