linux-megous: add missing patch to git
This commit is contained in:
24
pkgs/additional/linux-megous/pinephone-1_2b-af8133j.patch
Normal file
24
pkgs/additional/linux-megous/pinephone-1_2b-af8133j.patch
Normal 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 = <®_dldo1>;
|
||||||
|
+ dvdd-supply = <®_dldo1>;
|
||||||
|
+ mount-matrix = "0", "-1", "0",
|
||||||
|
+ "-1", "0", "0",
|
||||||
|
+ "0", "0", "-1";
|
||||||
|
};
|
||||||
|
|
||||||
|
/* Light/proximity sensor */
|
Reference in New Issue
Block a user