summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSicelo A. Mhlongo <absicsz@gmail.com>2024-07-22 13:31:11 +0200
committerKevin Hilman <khilman@baylibre.com>2024-08-05 11:02:39 -0700
commit5062d9c0cbbc202e495e9b20f147f64ef5cc2897 (patch)
tree2d068d9c6822e61576a41b7e719e3a498a104ef2
parent8400291e289ee6b2bf9779ff1c83a291501f017b (diff)
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@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>
-rw-r--r--arch/arm/boot/dts/ti/omap/omap3-n900.dts2
1 files changed, 1 insertions, 1 deletions
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 @@
mount-matrix = "-1", "0", "0",
"0", "1", "0",
- "0", "0", "1";
+ "0", "0", "-1";
};
cam1: camera@3e {