GEODE: MFGPT clock event device support
PATCH 3/3 GEODE: MFGPT clock event device support
Add support for an MFGPT clock event device; this allows us to use MFGPTs as the basis for high-resolution timers.
Signed-off-by Jordan Crouse <[email protected]>
Signed-off-by Andres Salomon <[email protected]>
--- arch/i386/Kconfig | 10 +++ arch/i386/kernel/mfgpt.c | 160 +++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 169 insertions(+), 1 deletions(-)
arch/i386/Kconfig +10 -0
@@ -1190,6 +1190,16 @@ config SCx200HR_TIMER processor goes idle (as is done by the scheduler). The other workaround is idle=poll boot option. +config GEODE_MFGPT_TIMER + bool "Geode Multi-Function General Purpose Timer (MFGPT) events" + depends on MGEODE_LX && GENERIC_TIME && GENERIC_CLOCKEVENTS + default y + help + This driver provides a clock event source based on the MFGPT + timer(s) in the CS5535 and CS5536 companion chip for the geode. + MFGPTs have a better resolution and max interval than the + generic PIT, and are suitable for use as high-res timers. + config K8_NB def_bool y depends on AGP_AMD64
arch/i386/kernel/mfgpt.c +159 -1
181 lines not on this page · raw message
Signature · 1 line
1.5.2.2