Skip to content

Instantly share code, notes, and snippets.

@ayufan
Created January 14, 2021 09:57
Show Gist options
  • Save ayufan/3d5f1b924451861858d8a04c7955bee8 to your computer and use it in GitHub Desktop.
Save ayufan/3d5f1b924451861858d8a04c7955bee8 to your computer and use it in GitHub Desktop.
diff
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-device.dts b/arch/arm64/boot/dts/rockchip/rk3399-device.dts
index e4afa22cf658..3344ce45d5c8 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-device.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3399-device.dts
@@ -658,6 +658,11 @@ accelerometer@68 {
interrupts = <RK_PC6 IRQ_TYPE_LEVEL_LOW>;
vdd-supply = <&vcc_1v8>;
vddio-supply = <&vcc_1v8>;
+
+ mount-matrix =
+ "0", "1", "0",
+ "-1", "0", "0",
+ "0", "0", "1";
};
lis3mdl: magnetometer@1e {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment