1 Device-Tree binding for regmap
3 The endianness mode of CPU & Device scenarios:
4 Index Device Endianness properties
5 ---------------------------------------------------
9 For one device driver, which will run in different scenarios above
10 on different SoCs using the devicetree, we need one way to simplify
14 - {big,little}-endian: these are boolean properties, if absent
15 meaning that the CPU and the Device are in the same endianness mode,
16 these properties are for register values and all the buffers only.
19 Scenario 1 : CPU in LE mode & device in LE mode.
22 reg = <0x40031000 0x1000>;
26 Scenario 2 : CPU in LE mode & device in BE mode.
29 reg = <0x40031000 0x1000>;
34 Scenario 3 : CPU in BE mode & device in BE mode.
37 reg = <0x40031000 0x1000>;
41 Scenario 4 : CPU in BE mode & device in LE mode.
44 reg = <0x40031000 0x1000>;