• Anton Vorontsov's avatar
    powerpc/sysdev: implement FSL GTM support · 83ff9dcf
    Anton Vorontsov authored
    GTM stands for General-purpose Timers Module and able to generate
    timer{1,2,3,4} interrupts. These timers are used by the drivers that
    need time precise interrupts (like for USB transactions scheduling for
    the Freescale USB Host controller as found in some QE and CPM chips),
    or these timers could be used as wakeup events from the CPU deep-sleep
    mode.
    
    Things unimplemented:
    1. Cascaded (32 bit) timers (1-2, 3-4).
       This is straightforward to implement when needed, two timers should
       be marked as "requested" and configured as appropriate.
    2. Super-cascaded (64 bit) timers (1-2-3-4).
       This is also straightforward to implement when needed, all timers
       should be marked as "requested" and configured as appropriate.
    Signed-off-by: default avatarAnton Vorontsov <avorontsov@ru.mvista.com>
    Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
    83ff9dcf
fsl_gtm.h 1.39 KB