linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "Li Yang" <LeoLi@freescale.com>
To: "Kumar Gala" <galak@kernel.crashing.org>
Cc: Tom Rini <trini@kernel.crashing.org>,
	Guennadi Liakhovetski <g.liakhovetski@gmx.de>,
	"linuxppc-dev@ozlabs.org" <linuxppc-dev@ozlabs.org>
Subject: Re: RFC: Location for Device Tree Sources?
Date: Thu, 3 Aug 2006 22:49:11 +0800	[thread overview]
Message-ID: <a0bc9bf80608030749x57eb81che2225e8a6499b41a@mail.gmail.com> (raw)
In-Reply-To: <A6047A42-78C4-4B38-B7B1-77B2C6E9A5CC@kernel.crashing.org>

On 8/3/06, Kumar Gala <galak@kernel.crashing.org> wrote:
>
> On Aug 2, 2006, at 1:57 PM, Tom Rini wrote:
>
> > On Wed, Aug 02, 2006 at 01:23:08PM -0500, Jon Loeliger wrote:
> >> On Wed, 2006-08-02 at 13:21, Tom Rini wrote:
> >>
> >>> Yes, as I said, I'm not totally sure we're at the stable point right
> >>> now, but I think that we are.  I'll add that maybe we need to think
> >>> about API changes and DTS format versions.  To quote from my post..
> >>>
> >>>>> X bugs) or a change that requires a dts version bump.
> >>>
> >>> Now it sounds like the IRQ thing was an "Oops, we should have
> >>> changed
> >>> the dts version" and bailed, noting what is wrong with the dts.
> >>
> >> This confuses me.  There hasn't been a change in the DTS
> >> format at all.  I've even updated the 8641HPCN DTS file
> >> across the IRQ updates and all is fine.  Same (DTS) format
> >> both before and after the IRQ changes.
> >>
> >> What have I missed here?
> >
> > Matthew said:
> >> The sandpoint (as far as I know) does not have a stable DTS. So in
> >> this
> >> case including the DTS in the kernel would reduce confusion. The same
> >> could be said for other boards where the DTS needed to be changed for
> >> the IRQ rework. The old DTS will no longer boot the new kernels.
> >> I'm not
> >> sure how much longer we will run into this problem though.
> >
> > Now, if we've had to change the contents of the DTS because of a
> > kernel
> > change, I'd say the DTS format changed as when I say format I mean not
> > only layout and naming, but what the contents are supposed to contain.
> >
> > And, so it's clear, I don't know if we're at the very stable format
> > (names/layout/content means...), but when we are at that point, what
> > Matthew noted should, IMHO, be a graceful (ie explained in the panic()
> > or something) death.
> >
> > And, so it's clear, I think (and hope!) we all agree on that last
> > part,
> > once we hit stability.
>
> Agree about the comments related to the stability of the API, I just
> dont think we are there yet.  We should revisit the issue when we
> removed arch/ppc, until that point I would say things are up in the air.
>
> For example, we still haven't closed on CPM descriptions and I'm sure
> we will go through several iterations before we get it right.  For
> more standard things like uart's, ethernet, pci we have the OF specs
> to model off of and are probably pretty stable.

I agree.  We are adding more and more device types under device tree
management.  There will be a process of evolution.
>
> Additionally, Ben and I have talked about making macro's in the dts's
> so we can build up a board or SOC description from standard building
> blocks so people dont get the simple things wrong.

What are the macros about? Like constant we used in source code?
>
> - kumar
- Leo

  reply	other threads:[~2006-08-03 14:49 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-01 20:32 RFC: Location for Device Tree Sources? Jon Loeliger
2006-08-01 21:00 ` Guennadi Liakhovetski
2006-08-01 21:01   ` Matthew McClintock
2006-08-02  0:35     ` Mark A. Greer
2006-08-02  0:42       ` Mark A. Greer
2006-08-02  1:12       ` Josh Boyer
2006-08-02  3:20         ` Grant Likely
2006-08-02 13:35           ` Kumar Gala
2006-08-02 16:38             ` Tom Rini
2006-08-02 18:09               ` Matthew McClintock
2006-08-02 18:16                 ` Vitaly Bordug
2006-08-02 18:21                 ` Tom Rini
2006-08-02 18:23                   ` Jon Loeliger
2006-08-02 18:57                     ` Tom Rini
2006-08-02 20:06                       ` Kumar Gala
2006-08-03 14:49                         ` Li Yang [this message]
2006-08-03 15:47               ` Li Yang
2006-08-02 18:24             ` Mark A. Greer
2006-08-02 18:23           ` Mark A. Greer
2006-08-02 18:21             ` Grant Likely
2006-08-02 18:49               ` Mark A. Greer
2006-08-02 19:03                 ` Josh Boyer
2006-08-02 19:26                   ` Kumar Gala
2006-08-02 18:22         ` Mark A. Greer
2006-08-02 18:22           ` Matthew McClintock
2006-08-02 18:42             ` Mark A. Greer
2006-08-02 18:25           ` Jon Loeliger
2006-08-02 18:34             ` Mark A. Greer
2006-08-02 18:41           ` Brent Cook
2006-08-02 18:51             ` Mark A. Greer
2006-08-03  0:35               ` Tom Rini
2006-08-02  3:35       ` Li Yang-r58472
2006-08-04  4:51 ` Paul Mackerras
2006-08-09 11:18 ` Benjamin Herrenschmidt
2006-08-09 12:56   ` Josh Boyer
2006-08-09 16:38     ` Mark A. Greer
2006-08-09 16:48       ` Jon Loeliger
2006-08-09 17:03         ` Mark A. Greer
2006-08-09 14:03   ` Wolfgang Denk
2006-08-09 16:05     ` Benjamin Herrenschmidt
2006-08-09 18:47       ` Andy Fleming
2006-08-09 19:17       ` Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2006-08-03  9:32 Milton Miller
2006-08-03 13:54 ` Tom Rini
2006-08-03 16:30   ` Milton Miller
2006-08-04  4:49   ` Paul Mackerras
2006-08-04 17:54     ` Tom Rini
2006-08-04 23:29       ` Paul Mackerras

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=a0bc9bf80608030749x57eb81che2225e8a6499b41a@mail.gmail.com \
    --to=leoli@freescale.com \
    --cc=g.liakhovetski@gmx.de \
    --cc=galak@kernel.crashing.org \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=trini@kernel.crashing.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).