ARM: tegra: asus-tf101: Fix accelerometer mount matrix
authorSvyatoslav Ryhel <clamor95@gmail.com>
Wed, 29 Mar 2023 09:04:02 +0000 (12:04 +0300)
committerThierry Reding <treding@nvidia.com>
Tue, 4 Apr 2023 12:32:07 +0000 (14:32 +0200)
Accelerometer mount matrix used in tf101 downstream is inverted.
This new matrix was generated on actual device using calibration
script, like on other transformers.

Tested-by: Robert Eckelmann <longnoserob@gmail.com>
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm/boot/dts/tegra20-asus-tf101.dts

index 3f1da75..c2a9c3f 100644 (file)
                                        vdd-supply = <&vdd_1v8_sys>;
                                        vddio-supply = <&vdd_1v8_sys>;
 
-                                       mount-matrix =   "1",  "0",  "0",
-                                                        "0",  "1",  "0",
-                                                        "0",  "0",  "1";
+                                       mount-matrix =  "-1",  "0",  "0",
+                                                        "0", "-1",  "0",
+                                                        "0",  "0", "-1";
                                };
                        };
                };