From: Prabhakar Kushwaha Date: Wed, 28 Mar 2018 05:44:43 +0000 (+0530) Subject: dt-bindings: mtd-physmap: Add endianness supports X-Git-Tag: v4.17-rc1~100^2~6 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=147395ea40b36b8652b6df3e50a1cb745be75c93;p=users%2Fjedix%2Flinux-maple.git 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 Reviewed-by: Rob Herring Signed-off-by: Boris Brezillon --- diff --git a/Documentation/devicetree/bindings/mtd/mtd-physmap.txt b/Documentation/devicetree/bindings/mtd/mtd-physmap.txt index 4a0a48bf4ecb8..232fa12e90efa 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.