From: Matt Sealey <matt@genesi-usa.com>
To: Jon Loeliger <jdl@freescale.com>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: use of fsl, in lite5200b.dts in git current
Date: Sat, 10 Nov 2007 14:09:25 +0000 [thread overview]
Message-ID: <4735BB95.1080800@genesi-usa.com> (raw)
In-Reply-To: <47336A38.1020807@freescale.com>
Jon Loeliger wrote:
> Matt Sealey wrote:
>
>> this is a ridiculous
>> amount of specificity in a device tree,
>
> Except that some of that information _is_ specified elsewhere in other properties. Speed, for example.
Which is fine..
>> and it also does not match the
>> datasheet (MPC7448 is the name of the chip).
>
> Because the data sheets are _soooo_ reliable. :-)
Be careful or I'll start looking for the datasheets with your name on it :)
>> Indeed, so.. at some point we should all sit down and hammer out the
>> major issues in describing something like the MPC5121E because right
>> now Genesi has a vested interest in that.
>
> You understand that _that_ is being worked on as we, er, speak?
Yeah I've seen it, recognise your name from the top of the device tree
definition, and I must say, it's not the most ideal...
>> If we could all agree on how it should be mapped out, with an example
>> tree which shows *every damn thing available* so platform developers
>> can pick and choose and OF developers can use it as a reference, it
>> would make a much happier process.
>
> Right. It's being nailed down, but it is a slow, community process...
Why? Freescale's chip, open standards, just design it right, and tell
the community they should be conforming with it.
The slow community process would have had the Efika come out this
month instead of this time last year if we had waited to fix the
device tree to "the right way to do it".
The device tree, hardware description in general, is down to the
silicon vendor and ODM, and should provide description of the
hardware which allows any driver (not just the ones in the BSP)
to get enough information from the tree where necessary.
I don't see that in the MPC5200 tree and I still don't see it in
the examples of the MPC5121E tree.
I also note the few users of the MPC5121E that there are outside
of Freescale, aren't involved (ahem) in this process unless they
join these mailing lists. You can't discuss anything on here with
that chip, it's locked down by NDA, release date tenuous, feature
state tenuous.. documentation is in draft/preliminary and nobody
else has it.
>> By the way while I was poking around the tree today I noticed that
>> there is a PCI errata fixup handled by a Kconfig in there. Why?
>
> Happens occasionally. And other places as well.
>
>> Surely
>> this is something you check the PVR/SVR for and switch on that for
>> a runtime solution,
>
> That's not always fine-grained enough to base a decision on it.
It is in this case isn't it? The errata states that it only appears
on that particular revision.
>> and not trick users with the possibility of
>> forgetting to enable some obscure "PCI errata fix" configuration
>> item? (CONFIG_PPC_MPC5200_BUGFIX)
>
> It should be in the defconfig. :-)
It shouldn't be a configuration option at all in my opinion :)
You either fix the bug or you don't, if you have to fix it in a
generic, multi-chip (5200/5200B) API like the PCI stuff, it
should be handled on a if/else basis. There's practically no benefit
to having it as a configuration option and being able to compile
it out, in fact.. it rather makes the whole presence of the fix
more complicated (to support 5200 and 5200B you need to compile
in the fix, and that means 5200B chips are implementing it when
they don't need to - and you need to recompile to fix it).
--
Matt Sealey <matt@genesi-usa.com>
Genesi, Manager, Developer Relations
next prev parent reply other threads:[~2007-11-10 14:07 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-07 21:55 use of fsl, in lite5200b.dts in git current Jon Smirl
2007-11-07 22:17 ` Matt Sealey
2007-11-07 22:18 ` Jon Smirl
2007-11-08 20:40 ` Jon Smirl
2007-11-08 20:47 ` Scott Wood
2007-11-08 20:51 ` Jon Smirl
2007-11-08 20:56 ` Scott Wood
2007-11-08 21:53 ` Jon Smirl
2007-11-08 22:03 ` Scott Wood
2007-11-08 22:17 ` Jon Smirl
2007-11-08 22:30 ` Scott Wood
2007-11-08 20:50 ` Grant Likely
2007-11-07 22:21 ` Jon Smirl
2007-11-08 0:30 ` Matt Sealey
2007-11-08 2:15 ` Jon Smirl
2007-11-08 16:28 ` Scott Wood
2007-11-08 17:04 ` Jon Smirl
2007-11-08 19:48 ` Matt Sealey
2007-11-08 19:57 ` Jon Loeliger
2007-11-10 14:09 ` Matt Sealey [this message]
2007-11-08 20:39 ` Jon Smirl
2007-11-08 3:14 ` 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=4735BB95.1080800@genesi-usa.com \
--to=matt@genesi-usa.com \
--cc=jdl@freescale.com \
--cc=linuxppc-embedded@ozlabs.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.