diff mbox series

ARM: dts: ux500-skomer: Correct accel mounting matrix

Message ID 20200719201603.3610389-1-linus.walleij@linaro.org (mailing list archive)
State Mainlined
Commit 537b91180dc296a95454287792e2c59baec60af5
Headers show
Series ARM: dts: ux500-skomer: Correct accel mounting matrix | expand

Commit Message

Linus Walleij July 19, 2020, 8:16 p.m. UTC
This corrects the mounting matrix for the BMA254
accelerometer to what makes PostmarketOS actually
orient the screen the right way on this device.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
 arch/arm/boot/dts/ste-ux500-samsung-skomer.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/ste-ux500-samsung-skomer.dts b/arch/arm/boot/dts/ste-ux500-samsung-skomer.dts
index c65594194cf2..a8d9783855df 100644
--- a/arch/arm/boot/dts/ste-ux500-samsung-skomer.dts
+++ b/arch/arm/boot/dts/ste-ux500-samsung-skomer.dts
@@ -378,8 +378,8 @@  accel@18 {
 				interrupt-parent = <&gpio7>;
 				interrupts = <0 IRQ_TYPE_EDGE_RISING>;
 
-				mount-matrix = "0", "1", "0",
-					       "-1", "0", "0",
+				mount-matrix = "0", "-1", "0",
+					      "1", "0", "0",
 					       "0", "0", "1";
 				vdd-supply = <&ab8500_ldo_aux1_reg>;
 				vddio-supply = <&ab8500_ldo_aux8_reg>;