ARM: dts: ux500: Fix Janice accelerometer mounting matrix
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 9 Jun 2022 08:35:16 +0000 (10:35 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 23 Jun 2022 14:51:29 +0000 (16:51 +0200)
This was fixed wrong so fix it again. Now verified by using
iio-sensor-proxy monitor-sensor test program.

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

index e6d4fd0eb5f429088c914ab0183b571bacaee511..ed5c79c3d04b0ce85b6f527eb17fef373bf6e27d 100644 (file)
                                        accelerometer@8 {
                                                compatible = "bosch,bma222";
                                                reg = <0x08>;
-                                               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