ARM: dts: ux500: Fix Gavini accelerometer mounting matrix
authorLinus Walleij <linus.walleij@linaro.org>
Sat, 11 Jun 2022 20:51:38 +0000 (22:51 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 23 Jun 2022 14:52:51 +0000 (16:52 +0200)
This was fixed wrong so fix it. Now verified by using
iio-sensor-proxy monitor-sensor test program.

Link: https://lore.kernel.org/r/20220611205138.491513-1-linus.walleij@linaro.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/boot/dts/ste-ux500-samsung-gavini.dts

index 53062d5..806da3f 100644 (file)
                                        accelerometer@18 {
                                                compatible = "bosch,bma222e";
                                                reg = <0x18>;
-                                               mount-matrix = "0", "1", "0",
-                                                              "-1", "0", "0",
+                                               mount-matrix = "0", "-1", "0",
+                                                              "1", "0", "0",
                                                               "0", "0", "1";
                                                vddio-supply = <&ab8500_ldo_aux2_reg>; // 1.8V
                                                vdd-supply = <&ab8500_ldo_aux1_reg>; // 3V