Skip to content

Commit 5062d9c

Browse files
sicelokhilman
authored andcommitted
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: 14a213d ("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>
1 parent 8400291 commit 5062d9c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/arm/boot/dts/ti/omap/omap3-n900.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,7 @@
781781

782782
mount-matrix = "-1", "0", "0",
783783
"0", "1", "0",
784-
"0", "0", "1";
784+
"0", "0", "-1";
785785
};
786786

787787
cam1: camera@3e {

0 commit comments

Comments
 (0)