:: [maemo-leste] [PATCH] ARM: dts: oma…
Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Sicelo A. Mhlongo
Fecha:  
A: tony, linux-omap
Cc: maemo-leste, robh, krzk+dt, conor+dt, devicetree, Sicelo A. Mhlongo
Asunto: [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