commit | 40f5ca02e7b5e7880e09a3f656face4c061acfd2 | [log] [tgz] |
---|---|---|
author | Ćukasz Majewski <l.majewski@samsung.com> | Tue Nov 13 03:21:53 2012 +0000 |
committer | Anatolij Gustschin <agust@denx.de> | Wed Nov 14 11:21:07 2012 +0100 |
tree | 15eaff3cf40bbebbde4914d88c3890a6530b48ba | |
parent | 8a69187e7eb5610b4e3978a20127395cecaf55c3 [diff] |
pmic:i2c: Add I2C sensor byte order (big/little) to PMIC framework Since the pmic_reg_read is the u32 value, the order in which bytes are placed to form u32 value is important. Support for big and little sensor endianess is added. Moreover calls to [leXX|beXX]_to_cpu have been added to support little and big endian SoCs. Signed-off-by: Lukasz Majewski <l.majewski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>