From: Grant Likely <grant.likely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org>
To: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Cc: Olof Johansson <olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org>,
"bones-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org"
<bones-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org>,
"devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org"
<devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org>,
"linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [PATCH 1/2] ARM: Tegra: dt: Split out separate Tegra SoC DT
Date: Mon, 2 May 2011 14:15:54 -0600 [thread overview]
Message-ID: <BANLkTikC9bAWiGsLP48djMB-jTR767JeNg@mail.gmail.com> (raw)
In-Reply-To: <74CDBE0F657A3D45AFBB94109FB122FF0497F1B198-C7FfzLzN0UxDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
On Mon, May 2, 2011 at 12:00 PM, Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> wrote:
> Olof Johansson wrote at Sunday, May 01, 2011 8:56 AM:
>> On Fri, Apr 29, 2011 at 10:12:30PM -0600, Stephen Warren wrote:
>> > tegra250.dts describes everything within the Tegra SoC, but leaves all
>> > optional devices disabled.
>> >
>> > tegra-harmony.dts is now the configuration of the SoC for the board,
>> > i.e. it enables the optional devices that are required for the board,
>> > and provides any required platform data for those devics.
>> >
>> > The prevents every Tegra board having to repeat all the basic internal
>> > SoC wiring.
>> >
>> > Signed-off-by: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
>>
>> Acked-by: Olof Johansson <olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org>
>>
>> A mostly unrelated question below.
>>
>> [...]
>>
>> > + serial@70006000 {
>> > + compatible = "nvidia,tegra250-uart";
>>
>> I know this is how Grant specified it, but shouldn't these also have
>> a compat for ns16550?
>
> At present, I'm not sure it is technically compatible. If you look at
> drivers/tty/serial/of_serial.c, you'll see:
>
> static struct of_device_id __devinitdata of_platform_serial_table[] = {
> ...
> { .compatible = "ns16550", .data = (void *)PORT_16550, },
> ...
> { .compatible = "nvidia,tegra250-uart", .data = (void *)PORT_XSCALE, },
>
> That PORT_XSCALE is different to the ns16550 entry. Arguably, that
> field should be something that comes from the device tree, just
> like e.g. reg-shift, but it certainly doesn't right now.
>
> Grant, what are your thoughts on this?
Heh, when I added that line I just mirrored the 'type' of 16550 as
detected by the 8250.c driver when it probes and made a mental note
that it should be revisited. I don't know the hardware very well, so
I cannot easily say what the right thing to do is, but making it
ns16550 compatible does seem to make sense.
g.
next prev parent reply other threads:[~2011-05-02 20:15 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-30 4:12 [PATCH 1/2] ARM: Tegra: dt: Split out separate Tegra SoC DT Stephen Warren
[not found] ` <1304136751-11629-1-git-send-email-swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2011-04-30 4:12 ` [PATCH 2/2] ARM: Tegra: Seaboard: Add devicetree support Stephen Warren
[not found] ` <1304136751-11629-2-git-send-email-swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2011-05-01 14:38 ` Olof Johansson
[not found] ` <20110501143825.GB19918-O5ziIzlqnXUVNXGz7ipsyg@public.gmane.org>
2011-05-01 14:46 ` Grant Likely
[not found] ` <BANLkTimOJFxQGmPHMb2KPKQikL2sWZoQKQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-05-01 14:57 ` Olof Johansson
2011-05-01 14:55 ` [PATCH 1/2] ARM: Tegra: dt: Split out separate Tegra SoC DT Olof Johansson
[not found] ` <20110501145546.GC19918-O5ziIzlqnXUVNXGz7ipsyg@public.gmane.org>
2011-05-02 18:00 ` Stephen Warren
[not found] ` <74CDBE0F657A3D45AFBB94109FB122FF0497F1B198-C7FfzLzN0UxDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
2011-05-02 20:15 ` Grant Likely [this message]
[not found] ` <BANLkTikC9bAWiGsLP48djMB-jTR767JeNg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-05-12 16:40 ` Stephen Warren
[not found] ` <74CDBE0F657A3D45AFBB94109FB122FF04986AA33D-C7FfzLzN0UxDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
2011-05-12 23:01 ` Grant Likely
[not found] ` <BANLkTimHcXOZa61yC5F=TDoiaUk4cA3=4g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-05-13 19:28 ` Stephen Warren
[not found] ` <74CDBE0F657A3D45AFBB94109FB122FF04986AA65C-C7FfzLzN0UxDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
2011-05-13 22:56 ` Grant Likely
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=BANLkTikC9bAWiGsLP48djMB-jTR767JeNg@mail.gmail.com \
--to=grant.likely-s3s/wqlpoipyb63q8fvjnq@public.gmane.org \
--cc=bones-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org \
--cc=devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org \
--cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org \
--cc=swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.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).