Commit 5062d9c0 authored by Sicelo A. Mhlongo's avatar Sicelo A. Mhlongo Committed by Kevin Hilman
Browse files

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: 14a213dc ("ARM: dts: n900: use iio driver for accelerometer")

Signed-off-by: default avatarSicelo A. Mhlongo <absicsz@gmail.com>
Reviewed-By: default avatarAndreas Kemnade <andreas@kemnade.info>
Link: https://lore.kernel.org/r/20240722113137.3240847-1-absicsz@gmail.com


Signed-off-by: default avatarKevin Hilman <khilman@baylibre.com>
parent 8400291e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -781,7 +781,7 @@ accelerometer@1d {

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

	cam1: camera@3e {