
12 Oct
2018
12 Oct
'18
2 a.m.
On 4 October 2018 at 01:00, Mario Six mario.six@gdsys.cc wrote:
Add support for switching the endianness of regmap accesses via the "little-endian", "big-endian", and "native-endian" boolean properties in the device tree.
The default endianness is native endianness.
Signed-off-by: Mario Six mario.six@gdsys.cc
v9 -> v10:
- Switched to readb/writeb for 8-bit reads/writes
v8 -> v9: New in v9
drivers/core/regmap.c | 130 ++++++++++++++++++++++++++++++++++++++++++++++---- include/regmap.h | 14 ++++++ 2 files changed, 136 insertions(+), 8 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org