From: w.sang@pengutronix.de (Wolfram Sang)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm: mach-imx: enable all uart clocks for DEBUG_LL
Date: Tue, 30 Aug 2011 17:55:06 +0200 [thread overview]
Message-ID: <20110830155506.GD2053@pengutronix.de> (raw)
In-Reply-To: <20110830152725.GC19359@S2100-06.ap.freescale.net>
On Tue, Aug 30, 2011 at 11:27:26PM +0800, Shawn Guo wrote:
> On Tue, Aug 30, 2011 at 10:56:07PM +0800, Shawn Guo wrote:
> > On Thu, Aug 25, 2011 at 12:57:36PM +0200, Wolfram Sang wrote:
> > > If you want to move the DEBUG_LL uart, simply changing the base address
> > > in debug-macro.S will not be enough. One needs to enable the correct
> > > clock during clock init, too, otherwise the kernel remains silent. This
> > > is too easy to forget, so enable all uart clocks for DEBUG_LL to save
> > > precious developer time.
> > >
> > I guess the patch is not welcomed from the power management POV.
Anything prefixed with DEBUG_* should be kinda safe from that POV :)
> > Shouldn't bootloader have enabled the clock for debug uart anyway?
> >
> Hmm, bootloader should be the only one who can enable the clock for
> DEBUG_LL uart, as DEBUG_LL could be used at the very early point of
> kernel booting.
That would mean: remove all #ifdef CONFIG_DEBUG_LL and make sure the
clock won't get turned off during init. Sounds better to me, yet have to
have another look...
Thanks!
--
Pengutronix e.K. | Wolfram Sang |
Industrial Linux Solutions | http://www.pengutronix.de/ |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20110830/c8df64e6/attachment.sig>
prev parent reply other threads:[~2011-08-30 15:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-25 10:57 [PATCH] arm: mach-imx: enable all uart clocks for DEBUG_LL Wolfram Sang
2011-08-30 14:56 ` Shawn Guo
2011-08-30 15:27 ` Shawn Guo
2011-08-30 15:55 ` Wolfram Sang [this message]
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=20110830155506.GD2053@pengutronix.de \
--to=w.sang@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
/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;
as well as URLs for NNTP newsgroup(s).