Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.1/patches/2229687/?format=api
{ "id": 2229687, "url": "http://patchwork.ozlabs.org/api/1.1/patches/2229687/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-gpio/patch/20260428155651.3252500-1-arnd@kernel.org/", "project": { "id": 42, "url": "http://patchwork.ozlabs.org/api/1.1/projects/42/?format=api", "name": "Linux GPIO development", "link_name": "linux-gpio", "list_id": "linux-gpio.vger.kernel.org", "list_email": "linux-gpio@vger.kernel.org", "web_url": "", "scm_url": "", "webscm_url": "" }, "msgid": "<20260428155651.3252500-1-arnd@kernel.org>", "date": "2026-04-28T15:56:19", "name": "mips: select legacy gpiolib interfaces where used", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "2a96a5f85c49fa8371dbe771001cd0909fdcd7b9", "submitter": { "id": 80402, "url": "http://patchwork.ozlabs.org/api/1.1/people/80402/?format=api", "name": "Arnd Bergmann", "email": "arnd@kernel.org" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linux-gpio/patch/20260428155651.3252500-1-arnd@kernel.org/mbox/", "series": [ { "id": 501887, "url": "http://patchwork.ozlabs.org/api/1.1/series/501887/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-gpio/list/?series=501887", "date": "2026-04-28T15:56:19", "name": "mips: select legacy gpiolib interfaces where used", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/501887/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2229687/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2229687/checks/", "tags": {}, "headers": { "Return-Path": "\n <linux-gpio+bounces-35715-incoming=patchwork.ozlabs.org@vger.kernel.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "linux-gpio@vger.kernel.org" ], "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256\n header.s=k20201202 header.b=dqR1kfeJ;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c0a:e001:db::12fc:5321; helo=sea.lore.kernel.org;\n envelope-from=linux-gpio+bounces-35715-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)", "smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org\n header.b=\"dqR1kfeJ\"", "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=10.30.226.201" ], "Received": [ "from sea.lore.kernel.org (sea.lore.kernel.org\n [IPv6:2600:3c0a:e001:db::12fc:5321])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g4lT72V8Vz1yHv\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 29 Apr 2026 01:58:03 +1000 (AEST)", "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sea.lore.kernel.org (Postfix) with ESMTP id 3868230BF116\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 28 Apr 2026 15:56:57 +0000 (UTC)", "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id ED6A53B95FD;\n\tTue, 28 Apr 2026 15:56:56 +0000 (UTC)", "from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org\n [10.30.226.201])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id AC1143CA4A3;\n\tTue, 28 Apr 2026 15:56:56 +0000 (UTC)", "by smtp.kernel.org (Postfix) with ESMTPSA id 794C3C32782;\n\tTue, 28 Apr 2026 15:56:54 +0000 (UTC)" ], "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1777391816; cv=none;\n b=Wgs8sJ2FJQv37GPgAIcihKV69E2YQOEYQnkGBLMGaxuAXRtE/98GszKIXryGx+CjT1UHpVbqR2d1vK6+++izNcOJD3v2UsOtEBIkqY9G8ZEt12PFS5XNgHDzr3H1T1EOFuIQbmaYu90nVgjiA6IQ4NeaYplWGea/NXXvc4Vw+2k=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1777391816; c=relaxed/simple;\n\tbh=IbUu3EsP9Li+cuVWPlIVW0Aqv6ymhM5gFfl2nsie23c=;\n\th=From:To:Cc:Subject:Date:Message-Id:MIME-Version;\n b=c1vSBQKSpN8Dhf29OrF37dE8eFyt7njnY0+6qslTJBoFFygBFTCBkDakmI/HZ+tGzTXEGUOf3ZjgOXvs9gHKGru+E4g8fE43v9VE6tPW4+jEHeXQ5qVHMvjhQihozSt8/WON+Wez22pJRSlhK1OSDMGU/3ZNoROCgQZzOBaNAQg=", "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org\n header.b=dqR1kfeJ; arc=none smtp.client-ip=10.30.226.201", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org;\n\ts=k20201202; t=1777391816;\n\tbh=IbUu3EsP9Li+cuVWPlIVW0Aqv6ymhM5gFfl2nsie23c=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=dqR1kfeJNpBCfQ0FYEA8s+Ze3sNIJqXCLxVgGE/vFKZLtY+wFLzKgLXdzkHI5M0r2\n\t nrtJ1vqhoFbvhOvll64yQgwv83D3k84Ar2kRbL+JK8/Z0KD4FEi2S6MrT3q4E6tRTl\n\t QhTw1PKPsfdLh4uR0Qg2jvFpwikHkiONf6Ard2+4RWvoxrhxXKhSRAR7h4b4gU+k8d\n\t 1bRPHUPzNTi1OAYboGQRmZkzyY0Ur7XjPNdufZgSWSeGsw5fg9HC4NRfXevrCDjQ8K\n\t VRW4vTfh667c1Pp1UlkpB2iN7j2ZFm1MQ8P9MBG0FwnDl8rciBnft26CDYM0P4Jh5f\n\t UtT5HSdXXI7SQ==", "From": "Arnd Bergmann <arnd@kernel.org>", "To": "Thomas Bogendoerfer <tsbogend@alpha.franken.de>,\n\tLinus Walleij <linusw@kernel.org>,\n\tBartosz Golaszewski <brgl@kernel.org>", "Cc": "Arnd Bergmann <arnd@arndb.de>,\n\tThomas Gleixner <tglx@kernel.org>,\n\tlinux-mips@vger.kernel.org,\n\tlinux-kernel@vger.kernel.org,\n\tlinux-gpio@vger.kernel.org", "Subject": "[PATCH] mips: select legacy gpiolib interfaces where used", "Date": "Tue, 28 Apr 2026 17:56:19 +0200", "Message-Id": "<20260428155651.3252500-1-arnd@kernel.org>", "X-Mailer": "git-send-email 2.39.5", "Precedence": "bulk", "X-Mailing-List": "linux-gpio@vger.kernel.org", "List-Id": "<linux-gpio.vger.kernel.org>", "List-Subscribe": "<mailto:linux-gpio+subscribe@vger.kernel.org>", "List-Unsubscribe": "<mailto:linux-gpio+unsubscribe@vger.kernel.org>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit" }, "content": "From: Arnd Bergmann <arnd@arndb.de>\n\nA few old machines have not been converted away from the old-style\ngpiolib interfaces. Make these select the new CONFIG_GPIOLIB_LEGACY\nsymbol so the code still works where it is needed but can be left\nout otherwise.\n\nThis is the list of all gpio_request() calls in mips:\n\n arch/mips/alchemy/devboards/db1000.c: gpio_request(19, \"sd0_cd\");\n arch/mips/alchemy/devboards/db1000.c: gpio_request(20, \"sd1_cd\");\n arch/mips/alchemy/devboards/db1200.c: gpio_request(215, \"otg-vbus\");\n arch/mips/bcm47xx/workarounds.c: err = gpio_request_one(usb_power, GPIOF_OUT_INIT_HIGH, \"usb_power\");\n arch/mips/bcm63xx/boards/board_bcm963xx.c: gpio_request_one(board.ephy_reset_gpio,\n arch/mips/txx9/rbtx4927/setup.c: gpio_request(15, \"sio-dtr\");\n\nMost of these should be easy enough to change to modern gpio descriptors\nor remove if they are no longer in use.\n\nSigned-off-by: Arnd Bergmann <arnd@arndb.de>\n---\n arch/mips/Kconfig | 5 +++++\n arch/mips/alchemy/Kconfig | 1 -\n arch/mips/txx9/Kconfig | 1 +\n 3 files changed, 6 insertions(+), 1 deletion(-)", "diff": "diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig\nindex 4364f3dba688..b91e62d69a5d 100644\n--- a/arch/mips/Kconfig\n+++ b/arch/mips/Kconfig\n@@ -206,6 +206,8 @@ config MIPS_ALCHEMY\n \tselect CSRC_R4K\n \tselect IRQ_MIPS_CPU\n \tselect DMA_NONCOHERENT\t\t# Au1000,1500,1100 aren't, rest is\n+\tselect GPIOLIB\n+\tselect GPIOLIB_LEGACY\n \tselect MIPS_FIXUP_BIGPHYS_ADDR if PCI\n \tselect SYS_HAS_CPU_MIPS32_R1\n \tselect SYS_SUPPORTS_32BIT_KERNEL\n@@ -307,6 +309,7 @@ config BCM47XX\n \tselect SYS_HAS_EARLY_PRINTK\n \tselect USE_GENERIC_EARLY_PRINTK_8250\n \tselect GPIOLIB\n+\tselect GPIOLIB_LEGACY\n \tselect LEDS_GPIO_REGISTER\n \tselect BCM47XX_NVRAM\n \tselect BCM47XX_SPROM\n@@ -330,6 +333,7 @@ config BCM63XX\n \tselect SYS_HAS_CPU_BMIPS4380\n \tselect SWAP_IO_SPACE\n \tselect GPIOLIB\n+\tselect GPIOLIB_LEGACY\n \tselect MIPS_L1_CACHE_SHIFT_4\n \tselect HAVE_LEGACY_CLK\n \thelp\n@@ -999,6 +1003,7 @@ config MIKROTIK_RB532\n \tselect SWAP_IO_SPACE\n \tselect BOOT_RAW\n \tselect GPIOLIB\n+\tselect GPIOLIB_LEGACY\n \tselect MIPS_L1_CACHE_SHIFT_4\n \thelp\n \t Support the Mikrotik(tm) RouterBoard 532 series,\ndiff --git a/arch/mips/alchemy/Kconfig b/arch/mips/alchemy/Kconfig\nindex 6ca81e1bd35c..cf5ad52c0a0f 100644\n--- a/arch/mips/alchemy/Kconfig\n+++ b/arch/mips/alchemy/Kconfig\n@@ -12,7 +12,6 @@ config MIPS_MTX1\n \n config MIPS_DB1XXX\n \tbool \"Alchemy DB1XXX / PB1XXX boards\"\n-\tselect GPIOLIB\n \tselect HAVE_PCI\n \tselect HAVE_PATA_PLATFORM\n \tselect SYS_SUPPORTS_LITTLE_ENDIAN\ndiff --git a/arch/mips/txx9/Kconfig b/arch/mips/txx9/Kconfig\nindex 7335efa4d528..92b759a434c0 100644\n--- a/arch/mips/txx9/Kconfig\n+++ b/arch/mips/txx9/Kconfig\n@@ -37,6 +37,7 @@ config SOC_TX4927\n \tselect IRQ_TXX9\n \tselect PCI_TX4927\n \tselect GPIO_TXX9\n+\tselect GPIOLIB_LEGACY\n \n config SOC_TX4938\n \tbool\n", "prefixes": [] }