summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSicelo A. Mhlongo <absicsz@gmail.com>2024-07-22 13:31:11 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-09-04 13:28:30 +0200
commit8aaca1c9fb9a61d74e09dd02601088da380c2da4 (patch)
treeea96e532981a94aec906d11c908bd38fcc8c3064 /arch
parentd54696813cf4f2c71abfc73a071b8430f09917cb (diff)
ARM: dts: omap3-n900: correct the accelerometer orientation
[ Upstream commit 5062d9c0cbbc202e495e9b20f147f64ef5cc2897 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch')
-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 d33485341251..036e472b77be 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 {