ARM: dts: ux500-skomer: Correct accel mounting matrix
authorLinus Walleij <linus.walleij@linaro.org>
Sun, 19 Jul 2020 20:16:02 +0000 (22:16 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 20 Jul 2020 08:47:27 +0000 (10:47 +0200)
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>
Link: https://lore.kernel.org/r/20200719201603.3610389-1-linus.walleij@linaro.org
arch/arm/boot/dts/ste-ux500-samsung-skomer.dts

index 8edef16..d6f6ac0 100644 (file)
                                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>;