Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756978Ab1FUWeU (ORCPT ); Tue, 21 Jun 2011 18:34:20 -0400 Received: from mail-gy0-f174.google.com ([209.85.160.174]:42826 "EHLO mail-gy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755657Ab1FUWeR convert rfc822-to-8bit (ORCPT ); Tue, 21 Jun 2011 18:34:17 -0400 MIME-Version: 1.0 In-Reply-To: <4E011678.4030208@firmworks.com> References: <1308410354-21387-1-git-send-email-shawn.guo@linaro.org> <1308410354-21387-2-git-send-email-shawn.guo@linaro.org> <20110618161934.GH8195@ponder.secretlab.ca> <20110619073000.GA23171@S2100-06.ap.freescale.net> <20110621135558.GB9228@S2101-09.ap.freescale.net> <4E00F290.2010303@firmworks.com> <4E011678.4030208@firmworks.com> From: Grant Likely Date: Tue, 21 Jun 2011 16:33:57 -0600 X-Google-Sender-Auth: _Zhhs27UK1oEh1ZXjMB7YVXwKow Message-ID: Subject: Re: [PATCH 1/3] serial/imx: add device tree support To: Mitch Bradley Cc: patches@linaro.org, netdev@vger.kernel.org, devicetree-discuss@lists.ozlabs.org, Jason Liu , linux-kernel@vger.kernel.org, Shawn Guo , Jeremy Kerr , Sascha Hauer , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1403 Lines: 39 On Tue, Jun 21, 2011 at 4:08 PM, Mitch Bradley wrote: > On 6/21/2011 9:38 AM, Grant Likely wrote: >> >> On Tue, Jun 21, 2011 at 1:35 PM, Mitch Bradley ?wrote: >>> >>> What is the problem with >>> >>> aliases{ >>> ? serial0 = "/uart@7000c000"; >>> } >>> >>> Properties in the alias node are supposed to have string values. >> >> ? >> >> Not sure I follow. ?Indeed, properties in the aliases node are string >> values. >> >> Are you referring to how I was proposing some dtc syntax for >> generating the alias strings? > > > The point is that if you refer to the node explicitly by its string name, > the need for a label disappears and the problem of overriding a default > alias disappears (assuming that a later redefinition of a property takes > precedence over an earlier one, as is the OFW convention). Ah, we're having an impedance mismatch. I'm thinking specifically about the device tree compiler and some syntactic sugar for using the label definition to generate /also/ create alias properties. The hairiness is related to that and the way that dtc is implemented, not with the final aliases themselves. g. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/