From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from outbound8-blu-R.bigfish.com (outbound-blu.frontbridge.com [65.55.251.16]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.bigfish.com", Issuer "*.bigfish.com" (not verified)) by ozlabs.org (Postfix) with ESMTP id DCD16DDE17 for ; Mon, 17 Dec 2007 17:05:33 +1100 (EST) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C84072.C83285F0" Subject: RE: Device Tree updates for xilinx. Date: Sun, 16 Dec 2007 22:04:46 -0800 References: <20071204012811.AD70CEF004D@mail134-dub.bigfish.com> <20071213233945.E8FFAA6007C@mail180-sin.bigfish.com> <20071216070404.GK21311@localhost.localdomain> <20071217045726.DD1881298046@mail127-sin.bigfish.com> <20071217052101.GC3477@localhost.localdomain> From: "Stephen Neuendorffer" To: "David Gibson" Message-Id: <20071217060512.36E9DB88046@mail181-blu.bigfish.com> Cc: linuxppc-dev@ozlabs.org, Michal Simek , git List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , This is a multi-part message in MIME format. ------_=_NextPart_001_01C84072.C83285F0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Thanks, I've updated the generator to reflect this. Steve -----Original Message----- From: David Gibson [mailto:david@gibson.dropbear.id.au] Sent: Sun 12/16/2007 9:21 PM To: Stephen Neuendorffer Cc: linuxppc-dev@ozlabs.org; Michal Simek; git Subject: Re: Device Tree updates for xilinx. =20 On Sun, Dec 16, 2007 at 08:58:18PM -0800, Stephen Neuendorffer wrote: >=20 > Since there don't seem to be any examples of this in the tree: do > you have a format preference? For the rest of the compatible lists, > I'm using something like: xlnx,ipname-version. So for the > microblaze, I'd prefer something like: >=20 > xlnx,microblaze-6.00.b Sounds reasonable. > For the powerpc, either ibm,ppc405 or ibm.ppc-405 would seem to be > more in character than PowerPC,405. Well, we could list both forms, but PowerPC,405 should be included since it's an established name. There's some history behind this: before the generic names convention, the node name was used to encode the most specific register interface for the device, and "compatible" was used to describe any other interfaces it was also compatible with. With the generic names convention, the name came to represent the general type of device, and "compatible" alone was used to describe the programming interface(s). In Apple and IBM device trees, while most things reflect the generic names convention, it seems the cpu nodes were left using the old convention - which is why that approach was copied and is currently used in all the dts files. So when converting nodes to the generic names convention, the old content of the node name should go into "compatible" verbatim as the first entry. In practice of course, I don't think anything looks at either the name or the compatible property for cpu nodes (nor do I think they should) - they'll just use the PVR. --=20 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 ------_=_NextPart_001_01C84072.C83285F0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: Device Tree updates for xilinx.

Thanks, I've updated the generator to reflect = this.

Steve

-----Original Message-----
From: David Gibson [mailto:david@gibson.dropbear.= id.au]
Sent: Sun 12/16/2007 9:21 PM
To: Stephen Neuendorffer
Cc: linuxppc-dev@ozlabs.org; Michal Simek; git
Subject: Re: Device Tree updates for xilinx.

On Sun, Dec 16, 2007 at 08:58:18PM -0800, Stephen Neuendorffer = wrote:
>
> Since there don't seem to be any examples of this in the tree: = do
> you have a format preference?  For the rest of the compatible = lists,
> I'm using something like: xlnx,ipname-version.  So for the
> microblaze, I'd prefer something like:
>
> xlnx,microblaze-6.00.b

Sounds reasonable.

> For the powerpc, either ibm,ppc405 or ibm.ppc-405 would seem to = be
> more in character than PowerPC,405.

Well, we could list both forms, but PowerPC,405 should be included
since it's an established name.  There's some history behind = this:
before the generic names convention, the node name was used to = encode
the most specific register interface for the device, and = "compatible"
was used to describe any other interfaces it was also compatible = with.

With the generic names convention, the name came to represent the
general type of device, and "compatible" alone was used to = describe
the programming interface(s).  In Apple and IBM device trees, = while
most things reflect the generic names convention, it seems the cpu
nodes were left using the old convention - which is why that = approach
was copied and is currently used in all the dts files.  So when
converting nodes to the generic names convention, the old content of
the node name should go into "compatible" verbatim as the = first entry.

In practice of course, I don't think anything looks at either the = name
or the compatible property for cpu nodes (nor do I think they = should)
- they'll just use the PVR.

--
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


------_=_NextPart_001_01C84072.C83285F0--