author | Mario Six <mario.six@gdsys.cc> | |
Mon, 15 Oct 2018 07:24:14 +0000 (09:24 +0200) | ||
committer | Simon Glass <sjg@chromium.org> | |
Wed, 14 Nov 2018 17:16:27 +0000 (09:16 -0800) | ||
commit | 9b77fe3b80b038af7114f7dae4934773bb026f8e | |
tree | 81d0fa83f731c7e56df5b93955e58a1bb0d7592f | tree | snapshot (tar.xz tar.gz zip) |
parent | 45ef7f55c79f67be8bf0b4e6de549269c1fd4971 | commit | diff |
regmap: Add endianness support
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>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
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>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
drivers/core/regmap.c | diff | blob | history | |
include/regmap.h | diff | blob | history |