ARM: tegra: asus-tf101: fix accelerometer mount matrix
Subsystems (2)
cover ARM: tegra: asus-tf101: fix accelerometer mount matrix
Accelerometer mount matrix used in tf101 downstream is inverted. This new matrix was generated on actual device using calibration script, like on other transformers.
Without this patch on DE which support orientation change based on accelerometer data display will be upside down (checked by a device owner).
Svyatoslav Ryhel (1):
ARM: tegra: asus-tf101: fix accelerometer mount matrix
arch/arm/boot/dts/tegra20-asus-tf101.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Signature · 1 line
2.34.1
PATCH 1/1 ARM: tegra: asus-tf101: fix accelerometer mount matrix
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 <[email protected]>
Signed-off-by Svyatoslav Ryhel <[email protected]>
--- arch/arm/boot/dts/tegra20-asus-tf101.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm/boot/dts/tegra20-asus-tf101.dts +3 -3
@@ -591,9 +591,9 @@ accelerometer@f { 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"; }; }; };
Signature · 1 line
2.34.1