31 lines
973 B
Diff
31 lines
973 B
Diff
From 8e8d45b349efa3048bd1cd0400b7820de29cc805 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Ond=C5=99ej=20Jirman?= <megi@xff.cz>
|
|
Date: Tue, 8 Sep 2020 15:31:26 +0200
|
|
Subject: [PATCH 094/389] arm64: dts: sun50i-a64-pinephone: Add mount matrix
|
|
for accelerometer
|
|
|
|
Port from pine64 kernel.
|
|
|
|
Signed-off-by: Ondrej Jirman <megi@xff.cz>
|
|
---
|
|
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 ff1182be8434..9bf23a57172f 100644
|
|
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi
|
|
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi
|
|
@@ -503,6 +503,9 @@ accelerometer@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.35.3
|
|
|