Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753816Ab2KSQ24 (ORCPT ); Mon, 19 Nov 2012 11:28:56 -0500 Received: from avon.wwwdotorg.org ([70.85.31.133]:44907 "EHLO avon.wwwdotorg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753796Ab2KSQ2z (ORCPT ); Mon, 19 Nov 2012 11:28:55 -0500 Message-ID: <50AA5E41.3040705@wwwdotorg.org> Date: Mon, 19 Nov 2012 09:28:49 -0700 From: Stephen Warren User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121028 Thunderbird/16.0.2 MIME-Version: 1.0 To: Viresh Kumar CC: Rajanikanth HV , "linaro-dev@lists.linaro.org Devel" , andriy.shevchenko@intel.com, Patch Tracking , devicetree-discuss@lists.ozlabs.org, spear-devel@list.st.com, linux-kernel@vger.kernel.org, Rob Herring Subject: Re: [PATCH Resend V2] dt: add helper function to read u8 & u16 variables & arrays References: <64c5278ebdec503f83e9b7002bf13affb7f3260f.1351225085.git.viresh.kumar@linaro.org> <50991C41.50705@gmail.com> <509FB25F.3030307@gmail.com> <509FFF8B.3010707@gmail.com> In-Reply-To: X-Enigmail-Version: 1.4.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 851 Lines: 19 On 11/18/2012 11:41 PM, Viresh Kumar wrote: > On 19 November 2012 12:05, Rajanikanth HV wrote: >> On 19 November 2012 12:00, Viresh Kumar wrote: >>> Firstly you tried square braces [ ], I am not sure if that is allowed. >>> Can you point me to the specification? >> http://www.devicetree.org/Device_Tree_Usage >> " >> a-byte-data-property = [0x01 0x23 0x34 0x56]; >> " > > Ok, but what about 16 bit then {} :) Support for byte- and word- properties is relatively recent I believe (or at least, the /bits/ syntax is). Which dtc version are you using? -- 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/