diff options
author | Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com> | 2018-03-28 08:44:43 +0300 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-03-29 10:30:08 +0300 |
commit | 147395ea40b36b8652b6df3e50a1cb745be75c93 (patch) | |
tree | cff675d65038b795eed64019a6aa2f18846d449d /Documentation/devicetree/bindings/mtd | |
parent | 55a999a04159dfb33d3d3d293a70cce766f6db27 (diff) | |
download | linux-147395ea40b36b8652b6df3e50a1cb745be75c93.tar.xz |
dt-bindings: mtd-physmap: Add endianness supports
Provide a way to specify the endianness to use when accessing a
memory-mapped flash.
Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Diffstat (limited to 'Documentation/devicetree/bindings/mtd')
-rw-r--r-- | Documentation/devicetree/bindings/mtd/mtd-physmap.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mtd/mtd-physmap.txt b/Documentation/devicetree/bindings/mtd/mtd-physmap.txt index 4a0a48bf4ecb..232fa12e90ef 100644 --- a/Documentation/devicetree/bindings/mtd/mtd-physmap.txt +++ b/Documentation/devicetree/bindings/mtd/mtd-physmap.txt @@ -41,6 +41,13 @@ additional (optional) property is defined: - erase-size : The chip's physical erase block size in bytes. + The device tree may optionally contain endianness property. + little-endian or big-endian : It Represents the endianness that should be used + by the controller to properly read/write data + from/to the flash. If this property is missing, + the endianness is chosen by the system + (potentially based on extra configuration options). + The device tree may optionally contain sub-nodes describing partitions of the address space. See partition.txt for more detail. |