:: [maemo-leste] [PATCH] ARM: dts: oma…
Top Page
Delete this message
Reply to this message
Author: Sicelo A. Mhlongo
Date:  
To: tony, linux-omap
CC: maemo-leste, robh, krzk+dt, conor+dt, devicetree, Sicelo A. Mhlongo
Subject: [maemo-leste] [PATCH] ARM: dts: omap3-n900: correct the accelerometer orientation
Negate the values reported for the accelerometer z-axis in order to
match Documentation/devicetree/bindings/iio/mount-matrix.txt.

Fixes: 14a213dcb004 ("ARM: dts: n900: use iio driver for accelerometer")

Signed-off-by: Sicelo A. Mhlongo <absicsz@???>
---
arch/arm/boot/dts/ti/omap/omap3-n900.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/ti/omap/omap3-n900.dts b/arch/arm/boot/dts/ti/omap/omap3-n900.dts
index 07c5b963af78..4bde3342bb95 100644
--- a/arch/arm/boot/dts/ti/omap/omap3-n900.dts
+++ b/arch/arm/boot/dts/ti/omap/omap3-n900.dts
@@ -781,7 +781,7 @@ accelerometer@1d {

         mount-matrix =     "-1",  "0",  "0",
                   "0",  "1",  "0",
-                  "0",  "0",  "1";
+                  "0",  "0",  "-1";
     };


     cam1: camera@3e {
-- 
2.45.2