From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from az33egw02.freescale.net (az33egw02.freescale.net [192.88.158.103]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "az33egw02.freescale.net", Issuer "Thawte Premium Server CA" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id 314D3B7CE7 for ; Sat, 27 Mar 2010 05:39:58 +1100 (EST) Received: from az33smr02.freescale.net (az33smr02.freescale.net [10.64.34.200]) by az33egw02.freescale.net (8.14.3/az33egw02) with ESMTP id o2QIdtRw028459 for ; Fri, 26 Mar 2010 11:39:55 -0700 (MST) Received: from az33exm25.fsl.freescale.net (az33exm25.am.freescale.net [10.64.32.16]) by az33smr02.freescale.net (8.13.1/8.13.0) with ESMTP id o2QIdxgC000893 for ; Fri, 26 Mar 2010 13:39:59 -0500 (CDT) Message-ID: <4BACFF7B.3010002@freescale.com> Date: Fri, 26 Mar 2010 13:39:55 -0500 From: Timur Tabi MIME-Version: 1.0 To: Grant Likely Subject: Re: [PATCH] powerpc/fsl: add device tree binding for QE firmware References: <1269380552-10418-1-git-send-email-timur@freescale.com> <4BAA4C8A.70104@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> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Cc: Mitch Bradley , Scott Wood , devicetree-discuss@lists.ozlabs.org, linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Grant Likely wrote: >> Without the compatible property, the only way I'd know that the child node contains a firmware is to look at the actual name of the child node, which (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 node and skipping the phandle property, but only as long as there's only one QE node. Would you agree that this is bad: qe1: qe@e0080000 { compatible = "fsl,qe"; qefw: fsl,qe_firmware { compatible="fsl,qe-firmware"; fsl,firmware = /bininc/("firmware-blob.bin"); fsl,qe-firmware-eccr = <0x00000000 0x00001230>; } ... } qe2: qe@e0090000 { compatible = "fsl,qe"; fsl,firmware-phandle = <&qefw>; ... } -- Timur Tabi Linux kernel developer at Freescale