From: Tony Lindgren <tony@atomide.com>
To: Kevin Hilman <khilman@deeprootsystems.com>
Cc: Lesly A M <leslyam@ti.com>,
linux-omap@vger.kernel.org, Nishanth Menon <nm@ti.com>,
David Derrick <dderrick@ti.com>,
Samuel Ortiz <sameo@linux.intel.com>
Subject: Re: [PATCH] MFD: TWL4030: changes for TRITON glitch fix
Date: Wed, 21 Apr 2010 14:22:03 -0700 [thread overview]
Message-ID: <20100421212202.GL18272@atomide.com> (raw)
In-Reply-To: <877ho1d8se.fsf@deeprootsystems.com>
* Kevin Hilman <khilman@deeprootsystems.com> [100420 16:01]:
> Lesly A M <leslyam@ti.com> writes:
>
> > Fix for TWL5030 Silicon Errata 27 & 28:
> > 27 - VDD1, VDD2, may have glitches when their output value is updated.
> > 28 - VDD1 and / or VDD2 DCDC clock may stop working when internal clock
> > is switched from internal to external.
> >
> > Workaround requires the TWL DCDCs to use HFCLKIN instead of internal oscillator.
> >
> > There is a chance for VDD1/VDD2 to collapse to 0 Volt,
> > if we switch the TWL DCDCs to internal oscillator form HFCLKIN
> > while VDD1/VDD2 is active. So during first time when we switch TWLDCDC to
> > HFCLKIN, TWL watchdog timer is used to recover if the VDD1/VDD2 stop working.
> >
> > Using HFCLKIN for TWL DCDCs uncovers another issue when going in and
> > out of OFF mode, if HFCLK is disabled in OFFMODE. So the sleep/wakeup
> > sequence and setuptimes are modified to make sure the switching will
> > happen only when HFCLKIN is stable.
> >
> > This fix is required for TWL5030 Silicon version less than or equal to ES1.1
> > Since the IDCODE register on TWL5030 Si is not updated correctly,
> > version check may not be correct. So if someone want to disable the
> > glitch fix changes during menuconfig, the changes are done under the macro
> > CONFIG_TWL5030_GLITCH_FIX.
> >
> > Changes taken from Nishanth Menons gaia glitch fix patch.
> >
> > Signed-off-by: Lesly A M <leslyam@ti.com>
> > Cc: Nishanth Menon <nm@ti.com>
> > Cc: David Derrick <dderrick@ti.com>
> > Cc: Samuel Ortiz <sameo@linux.intel.com>
> > ---
>
> Thanks for the much improved changelog.
>
> Also, this is better called an errata workaround instead of a glitch
> fix. I'd rather see "glitch" here replaced by the errata numbers.
> Down the road we'll be asking "which glitch?"
>
> As in the first review, I don't like the Kconfig option. This errata
> workaround should be in common code and enabled by an optional
> flag in board code. More on this below...
Me neither. This needs to be set dynamically based on the twl
version.
Tony
next prev parent reply other threads:[~2010-04-21 21:22 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-09 10:33 [PATCH] MFD: TWL4030: changes for TRITON glitch fix Lesly A M
2010-04-09 11:06 ` [PATCH v2] " Lesly Arackal Manuel
2010-04-20 23:05 ` [PATCH] " Kevin Hilman
2010-04-21 21:22 ` Tony Lindgren [this message]
2010-04-21 21:20 ` Tony Lindgren
-- strict thread matches above, loose matches on Subject: below --
2010-03-12 16:11 Lesly A M
2010-03-19 0:01 ` Kevin Hilman
2010-04-05 15:00 ` Lesly Arackal Manuel
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=20100421212202.GL18272@atomide.com \
--to=tony@atomide.com \
--cc=dderrick@ti.com \
--cc=khilman@deeprootsystems.com \
--cc=leslyam@ti.com \
--cc=linux-omap@vger.kernel.org \
--cc=nm@ti.com \
--cc=sameo@linux.intel.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