linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: David Gibson <david@gibson.dropbear.id.au>
To: "Mark A. Greer" <mgreer@mvista.com>
Cc: linuxppc-dev <Linuxppc-dev@ozlabs.org>
Subject: Re: [PATCH 1/8] powerpc: prpmc2800 - Convert dts file to v1
Date: Wed, 19 Dec 2007 09:38:31 +1100	[thread overview]
Message-ID: <20071218223831.GB12254@localhost.localdomain> (raw)
In-Reply-To: <20071218213506.GB30388@mag.az.mvista.com>

On Tue, Dec 18, 2007 at 02:35:06PM -0700, Mark A. Greer wrote:
> On Sat, Dec 15, 2007 at 09:03:35AM +1100, David Gibson wrote:
> > On Mon, Dec 10, 2007 at 05:37:38PM -0700, Mark A. Greer wrote:
> > > From: Mark A. Greer <mgreer@mvista.com>
> > > 
> > > Convert the prpmc2800.dts file to dts-v1.  Basically, this means
> > > converting the numeric constants to be 'C'-like (e.g., hexadecimal
> > > numbers start with '0x').
> > 
> > [snip]
> > >  				interrupt-parent = <&/mv64x60/pic>;
> > 
> > If you're converting to dts-v1, you should also convert any path
> > references like this to &{/mv64x60/pic} or else use a label.  Yes,
> > some early dts-v1 supporting dtc versions supported these as is, but
> > the idea is to try to forget that they existed and always require the
> > {} quoting in dts-v1.
> 
> I did convert to use labels in a later patch but it uses <&label> as
> well.  I can change them to &{label} that it appears you are suggesting
> (I haven't tested to see that they work yet though).

&label is fine, it's just &/full/path that needs changing.

I realised you removed all the &/full/path things in a later patch, so
the series as a whole will work.  But this patch alleges to convert to
dts-v1 of itself, but because it fails to requote the path references,
it doesn't.

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson

  reply	other threads:[~2007-12-18 22:38 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-11  0:31 [PATCH 0/8] powerpc: mv64x60/prpmc2800 - DTS updates, etc Mark A. Greer
2007-12-11  0:37 ` [PATCH 1/8] powerpc: prpmc2800 - Convert dts file to v1 Mark A. Greer
2007-12-14 22:03   ` David Gibson
2007-12-18 21:35     ` Mark A. Greer
2007-12-18 22:38       ` David Gibson [this message]
2007-12-11  0:37 ` [PATCH 2/8] powerpc: prpmc2800 - Add labels to dts file Mark A. Greer
2007-12-11  0:38 ` [PATCH 3/8] powerpc: mv64x60 - Replace marvell, mv64x60 with marvell, mv64360 Mark A. Greer
2007-12-11  0:38 ` [PATCH 4/8] powerpc: mv64x60 - Update ethernet DTS nodes Mark A. Greer
2007-12-11  0:38 ` [PATCH 5/8] powerpc: MPSC - Update DTS entries Mark A. Greer
2007-12-11  0:39 ` [PATCH 6/8] powerpc: mv64x60 - Update i2c DTS properties Mark A. Greer
2007-12-11  0:39 ` [PATCH 7/8] powerpc: mv64x60 - Remove timeout property for WDT Mark A. Greer
2007-12-11  0:39 ` [PATCH 8/8] powerpc: prpmc2800 - Miscellaneous DTS file fixups Mark A. Greer

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=20071218223831.GB12254@localhost.localdomain \
    --to=david@gibson.dropbear.id.au \
    --cc=Linuxppc-dev@ozlabs.org \
    --cc=mgreer@mvista.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;
as well as URLs for NNTP newsgroup(s).