From: Chen-Yu Tsai <wens@xxxxxxxx> On Thu, 19 Sep 2024 21:15:26 +0200, Dragan Simic wrote: > 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. > > [...] Applied to dt-for-6.13 in git@xxxxxxxxxx:linux-sunxi/linux-sunxi.git, thanks! Helped-by tags were replaced with Suggested-by, as requested. [1/1] arm64: dts: allwinner: pinephone: Add mount matrix to accelerometer commit: 2496b2aaacf137250f4ca449f465e2cadaabb0e8 Best regards, -- Chen-Yu Tsai <wens@xxxxxxxx>