From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Likely Subject: Re: [PATCH] powerpc/fsl: add device tree binding for QE firmware Date: Fri, 26 Mar 2010 12:44:52 -0600 Message-ID: References: <1269380552-10418-1-git-send-email-timur@freescale.com> <65327.84.105.60.153.1269481760.squirrel@gate.crashing.org> <4BAB7E67.6040707@freescale.com> <4BAB816F.5060405@firmworks.com> <4BAB9120.1060600@freescale.com> <4BACD011.5050609@freescale.com> <4BACFF7B.3010002@freescale.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <4BACFF7B.3010002-KZfg59tc24xl57MIdRCFDg@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org To: Timur Tabi Cc: Scott Wood , devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, linuxppc-dev-mnsaURCQ41sdnm+yROfE0A@public.gmane.org List-Id: devicetree@vger.kernel.org On Fri, Mar 26, 2010 at 12:39 PM, Timur Tabi wrote: > Grant Likely wrote: >>> Without the compatible property, the only way I'd know that the child n= ode contains a firmware is to look at the actual name of the child node, wh= ich (as Scott and I believe) is not better than a compatible property. >> If it is always a child of a qe node, then I've got no objections. > > I have no problem with putting the firmware node as a child of the QE nod= e and skipping the phandle property, but only as long as there's only one Q= E node. =A0Would you agree that this is bad: > > qe1: qe@e0080000 { > =A0 =A0 =A0 =A0compatible =3D "fsl,qe"; > =A0 =A0 =A0 =A0qefw: fsl,qe_firmware { > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0compatible=3D"fsl,qe-firmware"; > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0fsl,firmware =3D /bininc/("firmware-blob.b= in"); > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0fsl,qe-firmware-eccr =3D <0x00000000 0x000= 01230>; > =A0 =A0 =A0 =A0} > =A0 =A0 =A0 =A0... > } > > qe2: qe@e0090000 { > =A0 =A0 =A0 =A0compatible =3D "fsl,qe"; > =A0 =A0 =A0 =A0fsl,firmware-phandle =3D <&qefw>; > =A0 =A0 =A0 =A0... > } Nah. That looks totally fine. Not having the firmware under a qe node would look bad to me. g.