From dba57875df46b0ae5267a40f6ebbc80c3c2f8bc3 Mon Sep 17 00:00:00 2001 From: Ondrej Jirman Date: Tue, 8 Sep 2020 15:31:26 +0200 Subject: [PATCH 106/351] arm64: dts: sun50i-a64-pinephone: Add mount matrix for accelerometer Port from pine64 kernel. Signed-off-by: Ondrej Jirman --- arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi index 9b23112904ce..53e24f71a5ed 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi @@ -475,6 +475,9 @@ mpu6050@68 { interrupts = <7 5 IRQ_TYPE_EDGE_RISING>; /* PH5 */ vdd-supply = <®_dldo1>; vddio-supply = <®_dldo1>; + mount-matrix = "0", "1", "0", + "-1", "0", "0", + "0", "0", "-1"; }; }; -- 2.34.0