aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2016-03-05 21:30:29 +0900
committerMark Brown <broonie@kernel.org>2016-03-05 21:30:29 +0900
commit781aab8457610d0b4d60cd85bb22e609941be721 (patch)
tree48e5454bd303417dd8fe7d2c75f9b3f481f3fca1 /Documentation/devicetree
parentMerge remote-tracking branch 'regmap/fix/raw' into regmap-linus (diff)
parentMerge branch 'fix/mmio' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap into regmap-mmio (diff)
downloadlinux-dev-781aab8457610d0b4d60cd85bb22e609941be721.tar.xz
linux-dev-781aab8457610d0b4d60cd85bb22e609941be721.zip
Merge remote-tracking branch 'regmap/topic/mmio' into regmap-next
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r--Documentation/devicetree/bindings/regmap/regmap.txt11
1 files changed, 7 insertions, 4 deletions
diff --git a/Documentation/devicetree/bindings/regmap/regmap.txt b/Documentation/devicetree/bindings/regmap/regmap.txt
index b494f8b8ef72..e98a9652ccc8 100644
--- a/Documentation/devicetree/bindings/regmap/regmap.txt
+++ b/Documentation/devicetree/bindings/regmap/regmap.txt
@@ -5,15 +5,18 @@ Index Device Endianness properties
---------------------------------------------------
1 BE 'big-endian'
2 LE 'little-endian'
+3 Native 'native-endian'
For one device driver, which will run in different scenarios above
on different SoCs using the devicetree, we need one way to simplify
this.
-Required properties:
-- {big,little}-endian: these are boolean properties, if absent
- meaning that the CPU and the Device are in the same endianness mode,
- these properties are for register values and all the buffers only.
+Optional properties:
+- {big,little,native}-endian: these are boolean properties, if absent
+ then the implementation will choose a default based on the device
+ being controlled. These properties are for register values and all
+ the buffers only. Native endian means that the CPU and device have
+ the same endianness.
Examples:
Scenario 1 : CPU in LE mode & device in LE mode.