From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Gibson Subject: Re: [PATCH 8/9 V3] Add documentation for the new DTS language. Date: Tue, 2 Mar 2010 12:25:22 +1100 Message-ID: <20100302012522.GI23435@yookeroo> References: <20100222013004.GM29038@yookeroo> <9696D7A991D0824DBA8DFAC74A9C5FA305B2021A@az33exm25.fsl.freescale.net> <4288fc0b-79a4-42fd-9e77-573dbad79210@SG2EHSMHS004.ehs.local> <4B8C2C4C.8070901@freescale.com> <1012f9aa-1642-41ab-b8cd-a4ab4a7b269e@VA3EHSMHS024.ehs.local> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: 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: Stephen Neuendorffer Cc: Wood Scott-B07421 , devicetree-discuss-mnsaURCQ41sdnm+yROfE0A@public.gmane.org, Yoder Stuart-B08248 , Scott Wood , Jeremy Kerr , John Williams List-Id: devicetree@vger.kernel.org On Mon, Mar 01, 2010 at 04:13:30PM -0800, Stephen Neuendorffer wrote: [snip] > Yes... I think this should just be allowed... or at the very least I > don't see a reason to make this an error... It does occur to me > that it might be useful to explicitly note the 'extension' of a > previous node, which asserts that it *must* exist. i.e. > > foo { > bar + { > bar = 3; > } > } > > Here it is explicitly clear that bar is an incomplete definition? Hrm, interesting idea, and one that could have some merit. However, that specific syntax won't work, since '+' is a valid character in node and property names. -- 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