From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Subject: Re: [PATCH Resend V2] dt: add helper function to read u8 & u16 variables & arrays Date: Mon, 19 Nov 2012 09:28:49 -0700 Message-ID: <50AA5E41.3040705@wwwdotorg.org> References: <64c5278ebdec503f83e9b7002bf13affb7f3260f.1351225085.git.viresh.kumar@linaro.org> <50991C41.50705@gmail.com> <509FB25F.3030307@gmail.com> <509FFF8B.3010707@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org 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 List-Id: devicetree@vger.kernel.org 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?