public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Paul Walmsley <paul@pwsan.com>
To: linux-omap@vger.kernel.org
Cc: Paul Walmsley <paul@pwsan.com>,
	Khasim Syed Mohammed <khasim@ti.com>,
	Koen Kooi <k.kooi@student.utwente.nl>,
	Steve Sakoman <sakoman@gmail.com>,
	Richard Woodruff <r-woodruff2@ti.com>,
	Tony Lindgren <tony@atomide.com>,
	Philip Balister <philip@balister.org>,
	Dirk Behme <dirk.behme@googlemail.com>
Subject: [PATCH 2/2] BeagleBoard: make Beagle use GPTIMER12 for system ticks
Date: Mon, 11 Aug 2008 17:34:50 -0600	[thread overview]
Message-ID: <20080811233423.3046.42669.stgit@localhost.localdomain> (raw)
In-Reply-To: <20080811233109.3046.54050.stgit@localhost.localdomain>

There is suspicion that the 32kHz input clock to the OMAP may be noisy
on BeagleBoards.  On OMAP2/3 GPTIMER1, this can cause the timer
counter register to warp to unknown values or miss interrupt
conditions.  So, use GPTIMER12 instead, which apparently has its own
secure 32kHz oscillator and will hopefully not be prone to the
suspected sys_32k glitches.

This is only a workaround.  If sys_32k is noisy, other system peripherals
may be affected.

This workaround is a collective product of several people, most notably
Philip Balister <philip@balister.org>, Dirk Behme <dirk.behme@googlemail.com>,
Koen Kooi <k.kooi@student.utwente.nl>, Tony Lindgren <tony@atomide.com>,
Steve Sakoman <sakoman@gmail.com>, Khasim Syed Mohammed <khasim@ti.com>
Richard Woodruff <r-woodruff2@ti.com>.  I apologize if there is anyone whom
I've missed.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Khasim Syed Mohammed <khasim@ti.com>
Cc: Koen Kooi <k.kooi@student.utwente.nl>
Cc: Steve Sakoman <sakoman@gmail.com>
Cc: Richard Woodruff <r-woodruff2@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Philip Balister <philip@balister.org>
Cc: Dirk Behme <dirk.behme@googlemail.com>
---

 arch/arm/configs/omap3_beagle_defconfig |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/arch/arm/configs/omap3_beagle_defconfig b/arch/arm/configs/omap3_beagle_defconfig
index e1b16d0..7805995 100644
--- a/arch/arm/configs/omap3_beagle_defconfig
+++ b/arch/arm/configs/omap3_beagle_defconfig
@@ -182,8 +182,8 @@ CONFIG_OMAP_BOOT_REASON=y
 # CONFIG_OMAP_MCBSP is not set
 # CONFIG_OMAP_MMU_FWK is not set
 # CONFIG_OMAP_MBOX_FWK is not set
-CONFIG_OMAP_MPU_TIMER=y
-# CONFIG_OMAP_32K_TIMER is not set
+# CONFIG_OMAP_MPU_TIMER is not set
+CONFIG_OMAP_32K_TIMER=y
 CONFIG_OMAP_DM_TIMER=y
 # CONFIG_OMAP_LL_DEBUG_UART1 is not set
 # CONFIG_OMAP_LL_DEBUG_UART2 is not set
@@ -198,6 +198,7 @@ CONFIG_ARCH_OMAP3430=y
 # CONFIG_MACH_OMAP_3430SDP is not set
 # CONFIG_MACH_OMAP3EVM is not set
 CONFIG_MACH_OMAP3_BEAGLE=y
+CONFIG_OMAP_TICK_GPTIMER=12
 
 #
 # Boot options



  parent reply	other threads:[~2008-08-11 23:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-11 23:34 [PATCH 0/2] OMAP3 timer: switch Beagle clockevents source to GPTIMER12 Paul Walmsley
2008-08-11 23:34 ` [PATCH 1/2] OMAP2/3 GPTIMER: allow system tick GPTIMER to be configurable at build Paul Walmsley
2008-08-11 23:34 ` Paul Walmsley [this message]
2008-08-11 23:39   ` [PATCH 2/2] BeagleBoard: make Beagle use GPTIMER12 for system ticks Paul Walmsley
2008-08-13 13:36 ` [PATCH 0/2] OMAP3 timer: switch Beagle clockevents source to GPTIMER12 Tony Lindgren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080811233423.3046.42669.stgit@localhost.localdomain \
    --to=paul@pwsan.com \
    --cc=dirk.behme@googlemail.com \
    --cc=k.kooi@student.utwente.nl \
    --cc=khasim@ti.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=philip@balister.org \
    --cc=r-woodruff2@ti.com \
    --cc=sakoman@gmail.com \
    --cc=tony@atomide.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox