devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: omap3-n900: correct the accelerometer orientation
@ 2024-07-22 11:31 Sicelo A. Mhlongo
  2024-07-27 18:41 ` Sicelo
  2024-08-05 18:08 ` Kevin Hilman
  0 siblings, 2 replies; 6+ messages in thread
From: Sicelo A. Mhlongo @ 2024-07-22 11:31 UTC (permalink / raw)
  To: tony, linux-omap
  Cc: maemo-leste, robh, krzk+dt, conor+dt, devicetree,
	Sicelo A. Mhlongo

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>
---
 arch/arm/boot/dts/ti/omap/omap3-n900.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 @@ accelerometer@1d {
 
 		mount-matrix =	 "-1",  "0",  "0",
 				  "0",  "1",  "0",
-				  "0",  "0",  "1";
+				  "0",  "0",  "-1";
 	};
 
 	cam1: camera@3e {
-- 
2.45.2


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-08-05 18:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-22 11:31 [PATCH] ARM: dts: omap3-n900: correct the accelerometer orientation Sicelo A. Mhlongo
2024-07-27 18:41 ` Sicelo
2024-07-28  8:06   ` Andreas Kemnade
2024-07-29 20:40     ` Sicelo
2024-08-01  6:14       ` Andreas Kemnade
2024-08-05 18:08 ` Kevin Hilman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).