From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Gibson Subject: Re: hex number case in dts files. Date: Fri, 10 Feb 2012 11:19:21 +1100 Message-ID: <20120210001921.GA10536@truffala.fritz.box> References: <20120209180411.GA5654@codeaurora.org> <4F340E71.7070004@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <4F340E71.7070004-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org To: Rob Herring Cc: David Brown , devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: devicetree@vger.kernel.org On Thu, Feb 09, 2012 at 12:20:33PM -0600, Rob Herring wrote: > On 02/09/2012 12:04 PM, David Brown wrote: > > I've noticed an inconsistency in the case of letters in hex constants > > in various dts files. The ones that are actually numbers probably > > don't really matter, the but the node names are case sensitive > > strings, and in some sense do matter. > > > > I ask because some people I've spoken with internally seem to have > > strong opinions about what case hex constants should be, and it'd be > > nice to be able to have some guideline about this. Historically, I've > > always seen DT hex values in lowercase. > > > > Lower case should be used for dts files. Yes, the node names should always have the hex done in lower case. I have plans to put more checks in for how reg is encoded into node names, but just need to get time. -- 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