aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorDragan Simic <[email protected]>2024-09-19 21:15:26 +0200
committerChen-Yu Tsai <[email protected]>2024-11-10 16:04:57 +0800
commit2496b2aaacf137250f4ca449f465e2cadaabb0e8 (patch)
tree1a0312062607ebd7f66eb7c66f6ab230ba1eb8fb /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parent844c35cea6b2d36608c3026c7d29a4f5350b7ad9 (diff)
arm64: dts: allwinner: pinephone: Add mount matrix to accelerometer
The way InvenSense MPU-6050 accelerometer is mounted on the user-facing side of the Pine64 PinePhone mainboard, which makes it rotated 90 degrees counter- clockwise, [1] requires the accelerometer's x- and y-axis to be swapped, and the direction of the accelerometer's y-axis to be inverted. Rectify this by adding a mount-matrix to the accelerometer definition in the Pine64 PinePhone dtsi file. [1] https://files.pine64.org/doc/PinePhone/PinePhone%20mainboard%20bottom%20placement%20v1.1%2020191031.pdf Fixes: 91f480d40942 ("arm64: dts: allwinner: Add initial support for Pine64 PinePhone") Cc: [email protected] Suggested-by: Ondrej Jirman <[email protected]> Suggested-by: Andrey Skvortsov <[email protected]> Signed-off-by: Dragan Simic <[email protected]> Reviewed-by: Andrey Skvortsov <[email protected]> Link: https://patch.msgid.link/129f0c754d071cca1db5d207d9d4a7bd9831dff7.1726773282.git.dsimic@manjaro.org [[email protected]: Replaced Helped-by with Suggested-by] Signed-off-by: Chen-Yu Tsai <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions