From: Viresh Kumar Date: Tue, 20 Nov 2012 04:45:19 +0000 (+0530) Subject: dt: add helper function to read u8 & u16 variables & arrays X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~89^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be193249b4178158c0f697cb452b2bbf0cb16361;p=pandora-kernel.git dt: add helper function to read u8 & u16 variables & arrays This adds following helper routines: - of_property_read_u8_array() - of_property_read_u16_array() - of_property_read_u8() - of_property_read_u16() This expects arrays from DT to be passed as: - u8 array: property = /bits/ 8 <0x50 0x60 0x70>; - u16 array: property = /bits/ 16 <0x5000 0x6000 0x7000>; Signed-off-by: Viresh Kumar Reviewed-by: Stephen Warren Signed-off-by: Rob Herring --- Reading git-diff-tree failed