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 <[email protected]> Reviewed-By: Andreas Kemnade <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Kevin Hilman <[email protected]>
1 parent 8400291 commit 5062d9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)