From 434e7af46d1125bc7e2b294e36ccbbea5bc49882 Mon Sep 17 00:00:00 2001 From: Clayton Craft Date: Fri, 21 Aug 2026 12:33:17 -0700 Subject: [PATCH] linux-postmarketos-asahi: upgrade to 7.1.9-1 Signed-off-by: Clayton Craft Part-of: --- ...em-apple-spmi-nvmem-Fix-CFI-failures.patch | 38 ------------------- .../testing/linux-postmarketos-asahi/APKBUILD | 8 ++-- .../config-postmarketos-asahi.aarch64 | 5 ++- 3 files changed, 7 insertions(+), 44 deletions(-) delete mode 100644 device/testing/linux-postmarketos-asahi/0001-nvmem-apple-spmi-nvmem-Fix-CFI-failures.patch diff --git a/device/testing/linux-postmarketos-asahi/0001-nvmem-apple-spmi-nvmem-Fix-CFI-failures.patch b/device/testing/linux-postmarketos-asahi/0001-nvmem-apple-spmi-nvmem-Fix-CFI-failures.patch deleted file mode 100644 index dae93f36e..000000000 --- a/device/testing/linux-postmarketos-asahi/0001-nvmem-apple-spmi-nvmem-Fix-CFI-failures.patch +++ /dev/null @@ -1,38 +0,0 @@ ---- a/drivers/nvmem/apple-spmi-nvmem.c -+++ b/drivers/nvmem/apple-spmi-nvmem.c -@@ -18,6 +18,24 @@ static const struct regmap_config apple_spmi_regmap_config = { - .max_register = 0xffff, - }; - -+static int apple_spmi_nvmem_read(void *priv, -+ unsigned int offset, -+ void *val, -+ size_t bytes) -+{ -+ struct regmap *map = priv; -+ return regmap_bulk_read(map, offset, val, bytes); -+} -+ -+static int apple_spmi_nvmem_write(void *priv, -+ unsigned int offset, -+ void *val, -+ size_t bytes) -+{ -+ struct regmap *map = priv; -+ return regmap_bulk_write(map, offset, val, bytes); -+} -+ - static int apple_spmi_nvmem_probe(struct spmi_device *sdev) - { - struct regmap *regmap; -@@ -28,8 +46,8 @@ static int apple_spmi_nvmem_probe(struct spmi_device *sdev) - .word_size = 1, - .stride = 1, - .size = 0xffff, -- .reg_read = (void *)regmap_bulk_read, -- .reg_write = (void *)regmap_bulk_write, -+ .reg_read = apple_spmi_nvmem_read, -+ .reg_write = apple_spmi_nvmem_write, - }; - - regmap = devm_regmap_init_spmi_ext(sdev, &apple_spmi_regmap_config); diff --git a/device/testing/linux-postmarketos-asahi/APKBUILD b/device/testing/linux-postmarketos-asahi/APKBUILD index 20895b2f3..9accbfe88 100644 --- a/device/testing/linux-postmarketos-asahi/APKBUILD +++ b/device/testing/linux-postmarketos-asahi/APKBUILD @@ -1,6 +1,6 @@ maintainer="Clayton Craft " pkgname=linux-postmarketos-asahi -pkgver=7.1.8_p1 +pkgver=7.1.9_p1 pkgrel=0 _rel=${pkgver#*_p} _kver=${pkgver%_p*} @@ -53,7 +53,6 @@ source=" $pkgname-$_asahiver.tar.gz::https://github.com/AsahiLinux/linux/archive/refs/tags/asahi-$_asahiver.tar.gz config-postmarketos-asahi.aarch64 - 0001-nvmem-apple-spmi-nvmem-Fix-CFI-failures.patch enable-dynamic-ftrace.patch " builddir="$srcdir/linux-asahi-$_asahiver" @@ -88,8 +87,7 @@ package() { } sha512sums=" -3b7a6fdfb3ac57319da772224ceaae35f6c3e7bf6904bbbd69e31b251f6c9a00e1aafca934bf79438f25e793ff48027777b2ea298eab49accd73890d6d616429 linux-postmarketos-asahi-7.1.8-1.tar.gz -3e6d99a27842c9e18b7b62e91e3c43d16a9cb394734f08e918e018ca119922ea85302508f49f4510b962cd42e09ecb6f242a9ad615ae27576e3183c3793bc1b1 config-postmarketos-asahi.aarch64 -8d205300cfabe192b53ed1cc644b087e76421eb973e1b2a31d657e4f2676badebdfcf6b0865569c43b4b904935435f6e729c3a8d4a6221fb5792e40ec1017a0f 0001-nvmem-apple-spmi-nvmem-Fix-CFI-failures.patch +86820081776dc1d1114dbe64cf0599d8b5e45bfccd89d3600999023bad43f7f8ec5ff4ddb28bf3b10215537c809d3c1261e6b834f3ce23fcee3ceff22b252870 linux-postmarketos-asahi-7.1.9-1.tar.gz +601a717ccd8d7e4ab6b01ff03defbc2611ceded5d24906c93f75e8df25cef186e9eb32530fcae07160802bedc3c5b06f8290ad27bf27b789c37faabea629fd10 config-postmarketos-asahi.aarch64 e8b595f3e076896dc38f249c8908d58e2e6a858eaa77fe1e680f27db0e76d3d74c0b5dfebb7a4c57d546fee0b0f6eb81a38b20dfd72f985c9d02f28d79a5eceb enable-dynamic-ftrace.patch " diff --git a/device/testing/linux-postmarketos-asahi/config-postmarketos-asahi.aarch64 b/device/testing/linux-postmarketos-asahi/config-postmarketos-asahi.aarch64 index d38bf748d..abf7c7f12 100644 --- a/device/testing/linux-postmarketos-asahi/config-postmarketos-asahi.aarch64 +++ b/device/testing/linux-postmarketos-asahi/config-postmarketos-asahi.aarch64 @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/arm64 7.1.8 Kernel Configuration +# Linux/arm64 7.1.9 Kernel Configuration # CONFIG_CC_VERSION_TEXT="Alpine clang version 22.1.8" CONFIG_GCC_VERSION=0 @@ -4045,11 +4045,13 @@ CONFIG_PINCTRL_RP1=m # end of Renesas pinctrl drivers CONFIG_GPIOLIB_LEGACY=y +CONFIG_HAVE_SHARED_GPIOS=y CONFIG_GPIOLIB=y CONFIG_GPIOLIB_FASTPATH_LIMIT=512 CONFIG_OF_GPIO=y CONFIG_GPIO_ACPI=y CONFIG_GPIOLIB_IRQCHIP=y +CONFIG_GPIO_SHARED=y # CONFIG_DEBUG_GPIO is not set CONFIG_GPIO_CDEV=y # CONFIG_GPIO_CDEV_V1 is not set @@ -4149,6 +4151,7 @@ CONFIG_GPIO_AGGREGATOR=m # CONFIG_GPIO_MOCKUP is not set # CONFIG_GPIO_VIRTIO is not set # CONFIG_GPIO_SIM is not set +CONFIG_GPIO_SHARED_PROXY=m # end of Virtual GPIO drivers #