• Magnus Damm's avatar
    clocksource: SuperH MTU2 Timer driver · d5ed4c2e
    Magnus Damm authored
    This patch adds a MTU2 driver for the SuperH architecture.
    
    The MTU2 driver is a platform driver with early platform
    support to allow using a MTU2 channel as only clockevent
    during system bootup.
    
    Clocksource on sh2a is currently unsupported due to code
    generation issues with 64-bit math, so at this point only
    periodic clockevent support is in place.
    Signed-off-by: default avatarMagnus Damm <damm@igel.co.jp>
    Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
    d5ed4c2e
sh_mtu2.c 8.21 KB