Patch "ARM: dts: omap3-n900: correct the accelerometer orientation" has been added to the 6.10-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    ARM: dts: omap3-n900: correct the accelerometer orientation

to the 6.10-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     arm-dts-omap3-n900-correct-the-accelerometer-orienta.patch
and it can be found in the queue-6.10 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 1ae73bb96d6bacfeb3dbdbc2225757125bfccf69
Author: Sicelo A. Mhlongo <absicsz@xxxxxxxxx>
Date:   Mon Jul 22 13:31:11 2024 +0200

    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@xxxxxxxxx>
    Reviewed-By: Andreas Kemnade <andreas@xxxxxxxxxxxx>
    Link: https://lore.kernel.org/r/20240722113137.3240847-1-absicsz@xxxxxxxxx
    Signed-off-by: Kevin Hilman <khilman@xxxxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/arch/arm/boot/dts/ti/omap/omap3-n900.dts b/arch/arm/boot/dts/ti/omap/omap3-n900.dts
index 07c5b963af78a..4bde3342bb959 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 {




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux