linux-megous: add missing patch to git

This commit is contained in:
2024-07-15 00:22:48 +00:00
parent 0fafd81b79
commit d6bfef7657

View File

@@ -0,0 +1,24 @@
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi
index 0419a3408586..2f0c08fa378f 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi
@@ -661,6 +661,19 @@ lis3mdl: magnetometer@1e {
mount-matrix = "0", "1", "0",
"-1", "0", "0",
"0", "0", "1";
+ status = "disabled";
+ };
+
+ /* Alternative magnetometer */
+ af8133j: magnetometer@1c {
+ compatible = "voltafield,af8133j";
+ reg = <0x1c>;
+ reset-gpios = <&pio 1 1 GPIO_ACTIVE_LOW>;
+ avdd-supply = <&reg_dldo1>;
+ dvdd-supply = <&reg_dldo1>;
+ mount-matrix = "0", "-1", "0",
+ "-1", "0", "0",
+ "0", "0", "-1";
};
/* Light/proximity sensor */