Skip to contentSkip to conversation

GEODE: MFGPT clock event device support

PATCH In review Andres Salomon 1 participant 1 message Jul 5, 2007

lore
Share & tools
lore
#0 lore raw

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.

---
 arch/i386/Kconfig        |   10 +++
 arch/i386/kernel/mfgpt.c |  160 +++++++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 169 insertions(+), 1 deletions(-)
arch/i386/Kconfig +10 -0
index d2f6a24..7be62ca 100644
@@ -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