]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ARM: dts: omap3-n900: correct the accelerometer orientation
authorSicelo A. Mhlongo <absicsz@gmail.com>
Mon, 22 Jul 2024 11:31:11 +0000 (13:31 +0200)
committerKevin Hilman <khilman@baylibre.com>
Mon, 5 Aug 2024 18:02:39 +0000 (11:02 -0700)
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@gmail.com>
Reviewed-By: Andreas Kemnade <andreas@kemnade.info>
Link: https://lore.kernel.org/r/20240722113137.3240847-1-absicsz@gmail.com
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm/boot/dts/ti/omap/omap3-n900.dts

index 07c5b963af78ab2347d2e8bb59b3c80937a8e396..4bde3342bb959794c39b202e01ad14d48c554d70 100644 (file)
 
                mount-matrix =   "-1",  "0",  "0",
                                  "0",  "1",  "0",
-                                 "0",  "0",  "1";
+                                 "0",  "0",  "-1";
        };
 
        cam1: camera@3e {