Viresh Kumar
be193249b4
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 <viresh.kumar@linaro.org>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
2012-11-20 22:58:55 -06:00
..
2012-10-08 07:14:06 +09:00
2012-10-17 12:31:15 +01:00
2012-10-14 13:39:34 -07:00
2012-10-23 10:23:49 -04:00
2012-10-08 13:50:13 +10:30
2012-11-20 22:58:55 -06:00
2012-10-07 21:06:33 +10:00
2012-10-29 14:14:48 -04:00
2012-10-07 00:30:56 -04:00
2012-10-13 10:57:01 +09:00
2012-10-30 11:07:10 +01:00
2012-10-02 14:16:08 -07:00
2012-10-31 12:38:31 -04:00
2012-11-09 06:41:46 +01:00
2012-10-12 10:21:02 +09:00
2012-11-10 06:56:21 +01:00
2012-10-17 12:31:15 +01:00