diff --git a/main/linux-postmarketos-allwinner/0013-fix-pogopin-i2c.patch b/main/linux-postmarketos-allwinner/0013-fix-pogopin-i2c.patch new file mode 100644 index 000000000..f5d387e40 --- /dev/null +++ b/main/linux-postmarketos-allwinner/0013-fix-pogopin-i2c.patch @@ -0,0 +1,17 @@ +diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi +index 086b5ebfa512..f929af5c34bb 100644 +--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi ++++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi +@@ -592,11 +592,7 @@ &pio { + vcc-pb-supply = <®_dcdc1>; + vcc-pc-supply = <®_dcdc1>; + vcc-pd-supply = <®_dcdc1>; +- /* pinctrl would enable this even if no camera is powered, +- * which is wrong/not necessary +- * +- * vcc-pe-supply = <®_aldo1>; (also used by pogo pins i2c) +- */ ++ vcc-pe-supply = <®_aldo1>; /* (also used by pogo pins i2c) */ + vcc-pf-supply = <®_dcdc1>; + vcc-pg-supply = <®_dldo4>; + vcc-ph-supply = <®_dcdc1>; diff --git a/main/linux-postmarketos-allwinner/APKBUILD b/main/linux-postmarketos-allwinner/APKBUILD index 9059ef01d..17a94bf7b 100644 --- a/main/linux-postmarketos-allwinner/APKBUILD +++ b/main/linux-postmarketos-allwinner/APKBUILD @@ -6,7 +6,7 @@ _flavor=postmarketos-allwinner _config="config-$_flavor.$CARCH" pkgname=linux-$_flavor pkgver=5.10.12_git20210130 -pkgrel=3 +pkgrel=4 _tag="orange-pi-5.10-20210130-2109" pkgdesc="Kernel fork with Pine64 patches (megi's tree, slightly patched)" arch="aarch64" @@ -38,6 +38,7 @@ source="$pkgname-$_tag.tar.gz::https://github.com/megous/linux/archive/$_tag.tar 0010-dts-pinephone-Add-pine64-pinephone-to-compat-list.patch 0011-dts-pinephone-drop-modem-power-node.patch 0012-dts-headphone-jack-detection.patch + 0013-fix-pogopin-i2c.patch " subpackages="$pkgname-dev" builddir="$srcdir/linux-$_tag" @@ -90,4 +91,5 @@ sha512sums="3cbab8dfc280cdbdfb84f028a41c649e43d57841e4cf9dd8c1476f07b733fc397558 6dee374e8459279e2e61894ab9146574283dad61605e4547a1258dd09e02646e46712059431b4086aebb95d24ab44c8b5dc21aa9d004f0190f864045a20b336a 0009-leds-gpio-set-max_brightness-to-1.patch 27c091b4fd306b5f6fbadac5881ecc5465804ea910eb299445f7d4f04d09e05b8cb708bf4ac24f9ae2a77afa287bfbebe691f6d90db189896c6951ff8f30bcf5 0010-dts-pinephone-Add-pine64-pinephone-to-compat-list.patch 1d0683871027bd13e03e469fc23c3394b3dbfb48115e19b03638f68970ccfa9583b70ab21d76e68973af803d5387f474f4fe58c90e58985f96c6aec8489aa96a 0011-dts-pinephone-drop-modem-power-node.patch -c93490ebfd7405df2784d78b45bc7ddf985cfa270d0d94c054002f582541f11d28fe216db849cae99d78c3250187d667f305f8a4848d505d0a69a0cbc559be82 0012-dts-headphone-jack-detection.patch" +c93490ebfd7405df2784d78b45bc7ddf985cfa270d0d94c054002f582541f11d28fe216db849cae99d78c3250187d667f305f8a4848d505d0a69a0cbc559be82 0012-dts-headphone-jack-detection.patch +e64d06272ce1e295d8bd444611216ac33c99ad200bdffa2c3e777e9045a744ec66f7908355c1d4a1a85a94f2c4dbc4c1e6ba0e0054348aef52dc8dd6350be444 0013-fix-pogopin-i2c.patch"