summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/gpio/gpio-mpc8xxx.txt
diff options
context:
space:
mode:
authorLi Yang2015-12-04 23:55:04 +0100
committerKevin Hilman2015-12-12 01:13:02 +0100
commitedb70e29f3c3e3b1064a7b7a5d129c8f32762e6f (patch)
treefcdf44faddb055e9feefb73457760b8127d6fec3 /Documentation/devicetree/bindings/gpio/gpio-mpc8xxx.txt
parentARM64: dts: ls2080a: fix eSDHC endianness (diff)
downloadkernel-qcow2-linux-edb70e29f3c3e3b1064a7b7a5d129c8f32762e6f.tar.gz
kernel-qcow2-linux-edb70e29f3c3e3b1064a7b7a5d129c8f32762e6f.tar.xz
kernel-qcow2-linux-edb70e29f3c3e3b1064a7b7a5d129c8f32762e6f.zip
dt-bindings: define little-endian property for QorIQ GPIO
The GPIO block on different QorIQ chips could have registers in different endianess. Define the property to specify which endian is used by the hardware. Signed-off-by: Liu Gang <Gang.Liu@freescale.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Li Yang <leoli@freescale.com> Signed-off-by: Kevin Hilman <khilman@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/gpio/gpio-mpc8xxx.txt')
-rw-r--r--Documentation/devicetree/bindings/gpio/gpio-mpc8xxx.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/gpio/gpio-mpc8xxx.txt b/Documentation/devicetree/bindings/gpio/gpio-mpc8xxx.txt
index f2455c50533d..120bc4971cf3 100644
--- a/Documentation/devicetree/bindings/gpio/gpio-mpc8xxx.txt
+++ b/Documentation/devicetree/bindings/gpio/gpio-mpc8xxx.txt
@@ -11,6 +11,10 @@ Required properties:
0 = active high
1 = active low
+Optional properties:
+- little-endian : GPIO registers are used as little endian. If not
+ present registers are used as big endian by default.
+
Example:
gpio0: gpio@1100 {