[PATCH Resend V2] dt: add helper function to read u8 & u16 variables & arrays
Rajanikanth HV
rajanikanth.hv at linaro.org
Mon Nov 19 17:35:47 EST 2012
On 19 November 2012 12:00, Viresh Kumar <viresh.kumar at linaro.org> 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];
"
>
> And simply passing 0x50, 0x60 etc.. will make them u32 instead of
> u8. i.e. they will be stored as 0x00000050, etc.
>
> --
> viresh
More information about the devicetree-discuss
mailing list