diff options
| author | Ondrej Jirman <megi@xff.cz> | 2026-07-25 13:19:07 +0200 |
|---|---|---|
| committer | Chen-Yu Tsai <wens@kernel.org> | 2026-07-28 22:32:27 +0800 |
| commit | dfc735fd93e4814e65894916ec5f807f25a391d1 (patch) | |
| tree | 650cf7a228aea846757e704af1696a50944f0eca /tools/perf/scripts/python/bin/task-analyzer-record | |
| parent | 75dc83d420aa134b88bb1900fb08d7745f698bff (diff) | |
arm64: dts: allwinner: sun50i-a64-pinephone: Fix mpu6050 mount matrix
The current mount matrix for mpu6050 is wrong. The mount matrix is a
simple transform from the sensor coordinate space to the device
coordinate space described in DT, where, looking at the screen, X
points to the right, Y to the top, and Z towards the user.
The mpu6050 is mounted like this (looking at the screen from the
front; the sensor is on the near side of the PCB, so its Z axis
points towards the user; o marks the pin 1 corner):
+Xs
^
|
+------+
+Ys <--| |
| o |
+------+
so this gives:
Xd = -Ys [0, -1, 0]
Yd = Xs [1, 0, 0]
Zd = Zs [0, 0, 1]
Fixes: 2496b2aaacf1 ("arm64: dts: allwinner: pinephone: Add mount matrix to accelerometer")
Signed-off-by: Ondrej Jirman <megi@xff.cz>
Link: https://patch.msgid.link/20260725111909.2244868-1-megi@xff.cz
Signed-off-by: Chen-Yu Tsai <wens@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/task-analyzer-record')
0 files changed, 0 insertions, 0 deletions
