diff options
author | 2014-04-02 18:09:07 +0800 | |
---|---|---|
committer | 2014-04-14 16:58:15 +0100 | |
commit | 4aa8c0694c731e03eb660b92a3afe14859142381 (patch) | |
tree | b8289710b9f9190acbddd6e9fdfb9f76b80529f8 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Linux 3.15-rc1 (diff) | |
download | linux-dev-4aa8c0694c731e03eb660b92a3afe14859142381.tar.xz linux-dev-4aa8c0694c731e03eb660b92a3afe14859142381.zip |
regmap: implement LE formatting/parsing for 16/32-bit values.
Allow busses to request little endianness formatting and
parsing for 16- and 32-bit values. This will be useful to
support regmap-mmio.
For the following the scenarios using the regmap-mmio,
for example:
Index CPU Device Endianess flag for values
----------------------------------------------------------
1 LE LE REGMAP_ENDIAN_DEFAULT/NATIVE
2 LE BE REGMAP_ENDIAN_BIG
3 BE BE REGMAP_ENDIAN_DEFAULT/NATIVE
4 BE LE REGMAP_ENDIAN_LITTLE
For one device driver, which will support all the cases above,
needs two boolean properties in DT node like: 'big-endian'
for case 2 and 'little-endian' for case 4, and for cases 1
and 3 they all will be absent.
Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions