[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAKohponUt4264UaxM2Wr41=fbPJkUCFhKhOapjPQC=OYDuyMbQ@mail.gmail.com>
Date: Mon, 19 Nov 2012 09:24:58 +0530
From: Viresh Kumar <viresh.kumar@...aro.org>
To: Rob Herring <robherring2@...il.com>
Cc: rob.herring@...xeda.com, grant.likely@...retlab.ca,
linaro-dev@...ts.linaro.org, andriy.shevchenko@...el.com,
patches@...aro.org, devicetree-discuss@...ts.ozlabs.org,
spear-devel@...t.st.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH Resend V2] dt: add helper function to read u8 & u16
variables & arrays
On 12 November 2012 09:03, Viresh Kumar <viresh.kumar@...aro.org> wrote:
> On 12 November 2012 01:12, Rob Herring <robherring2@...il.com> wrote:
>> I don't think the size is stored in the dtb. It is only in the dts. You
>> need to define the size in the binding definitions and use '/bits/'
>> annotation. With this the data is packed. Then the array function used
>> should match what the binding defines.
Hi Rob,
Can you please help me in getting the correct format to do this from dts.
I tried:
data1 = /bits/ 8 <0x50 0x60 0x70>;
as written in your earlier mail... but it didn't worked. Tried to
search too, but
couldn't find it.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists