From: Tony Lindgren <tony@atomide.com>
To: Russell King - ARM Linux <linux@arm.linux.org.uk>
Cc: Kalle Valo <kalle.valo@nokia.com>,
Jarkko Nikula <jarkko.nikula@nokia.com>,
Felipe Balbi <me@felipebalbi.com>, Paul Walmsley <paul@pwsan.com>,
linux-omap@vger.kernel.org
Subject: Re: OMAP support in mainline?
Date: Sun, 21 Sep 2008 12:04:49 -0700 [thread overview]
Message-ID: <20080921190446.GF7961@atomide.com> (raw)
In-Reply-To: <20080921185103.GB17746@flint.arm.linux.org.uk>
* Russell King - ARM Linux <linux@arm.linux.org.uk> [080921 11:51]:
> On Sun, Sep 21, 2008 at 11:42:33AM -0700, Tony Lindgren wrote:
> > * Russell King - ARM Linux <linux@arm.linux.org.uk> [080917 13:33]:
> > > On Wed, Sep 17, 2008 at 09:57:25AM -0700, Tony Lindgren wrote:
> > > > If any ATAGs are needed, such as for the serial console, it needs to
> > > > be a generic ATAG for whole arch/arm.
> > >
> > > Why is it needed for serial console anyway? We already have a cross-
> > > architecture way of defining the console - it's the 'console=' argument
> > > given to the kernel at boot time via the argument string.
> >
> > In this case the hardware changes when the device is connected to a
> > service jig. The serial port won't work without an external level
> > converter that is on the jig.
>
> If the external level converter is missing, UARTs behave in exactly the
> same way as if the cable isn't connected (provided they have the pull-up
> on the RXD line to keep it at mark state.)
Yeah but 8250 does not know anything about the clock fwk right now. And
unless the service jig is connected, you want to have uarts powered down
and clocks off as they block core retention during idle.
Hmm, does 8250.c even currently know about serial ports that should be
ignored and kept powered down?
> > I guess console= could set UPF_DEAD or something similar for 8250.c to
> > ignore that port rather than leave it out of the plat_serial8250_port.
>
> Well, by passing an ATAG, you're saying that the boot loader has this
> knowledge. So, if the boot loader has this knowledge, why can't it
> pass the relevant 'console=' argument appropriate to the hardware
> configuration?
>
> If it's already doing this via an ATAG, there's no reason it can't do
> it via the command line.
Sure console= could be used. Currently the user must tell the bootloader
to enable "RD mode" over USB, which then tells the kernel to enable the
serial port.
It would be nice to specify all the ports and the status (enabled or
disabled) during uart low-level setup code. Current solution of adding
ports depending on the mode also rearranges the order of the ports,
which is not nice.
Regards,
Tony
next prev parent reply other threads:[~2008-09-21 19:02 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-16 14:56 OMAP support in mainline? Kalle Valo
2008-09-16 15:13 ` Paul Walmsley
2008-09-16 18:41 ` Felipe Balbi
2008-09-16 23:25 ` Tony Lindgren
2008-09-17 5:20 ` Jarkko Nikula
2008-09-17 5:55 ` David Brownell
2008-09-17 7:16 ` Koen Kooi
2008-09-17 12:24 ` Steve Sakoman
2008-09-17 13:23 ` Koen Kooi
2008-09-18 9:55 ` Felipe Balbi
2008-09-18 10:00 ` Pandita, Vikram
2008-09-18 11:16 ` Koen Kooi
2008-09-18 11:24 ` Felipe Balbi
2008-09-18 11:51 ` Pandita, Vikram
2008-09-18 11:53 ` Igor Stoppa
2008-09-18 12:01 ` Pandita, Vikram
2008-09-18 13:36 ` Woodruff, Richard
2008-09-18 16:46 ` David Brownell
2008-09-19 8:49 ` Igor Stoppa
2008-09-19 13:50 ` Woodruff, Richard
2008-09-21 15:02 ` Felipe Contreras
2008-09-21 16:34 ` Woodruff, Richard
2008-09-18 16:31 ` David Brownell
2008-09-19 14:07 ` Koen Kooi
2008-09-19 16:09 ` MUSB not workin in .27rc6, was: " Koen Kooi
2008-09-19 21:24 ` Felipe Balbi
2008-09-19 21:34 ` Koen Kooi
2008-09-19 21:47 ` Felipe Balbi
2008-09-20 0:49 ` David Brownell
2008-09-20 1:12 ` Felipe Balbi
2008-09-20 1:48 ` Måns Rullgård
2008-09-19 19:10 ` Philip Balister
2008-09-19 20:57 ` Ashwin Bihari
2008-09-19 21:02 ` Koen Kooi
2008-09-17 6:32 ` Kalle Valo
2008-09-17 16:53 ` Tony Lindgren
2008-09-17 16:57 ` Tony Lindgren
2008-09-17 20:32 ` Russell King - ARM Linux
2008-09-21 18:42 ` Tony Lindgren
2008-09-21 18:51 ` Russell King - ARM Linux
2008-09-21 19:04 ` Tony Lindgren [this message]
2008-09-17 6:18 ` Budhee Jamaich
-- strict thread matches above, loose matches on Subject: below --
2008-10-03 7:20 Nathan Monson
2008-10-03 7:52 ` Felipe Balbi
2008-10-03 8:36 ` David Brownell
2008-10-04 1:23 ` Nathan Monson
2008-10-04 1:40 ` David Brownell
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=20080921190446.GF7961@atomide.com \
--to=tony@atomide.com \
--cc=jarkko.nikula@nokia.com \
--cc=kalle.valo@nokia.com \
--cc=linux-omap@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=me@felipebalbi.com \
--cc=paul@pwsan.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