[{"id":3668970,"web_url":"http://patchwork.ozlabs.org/comment/3668970/","msgid":"<CAMRc=Mdwu85gghDjQEu4eP2HZxHjBFpph07q9SOfAifSDMtpVw@mail.gmail.com>","list_archive_url":null,"date":"2026-03-25T10:32:01","subject":"Re: [PATCH] gpio: fix up CONFIG_OF dependencies","submitter":{"id":92191,"url":"http://patchwork.ozlabs.org/api/people/92191/","name":"Bartosz Golaszewski","email":"brgl@kernel.org"},"content":"On Wed, 25 Mar 2026 11:01:14 +0100, Arnd Bergmann <arnd@kernel.org> said:\n> From: Arnd Bergmann <arnd@arndb.de>\n>\n> A number of GPIO drivers that used to have a CONFIG_OF_GPIO dependency now fail\n> to build on targets without CONFIG_OF:\n>\n> WARNING: unmet direct dependencies detected for GPIO_SYSCON\n>   Depends on [n]: GPIOLIB [=y] && HAS_IOMEM [=y] && MFD_SYSCON [=y] && OF [=n]\n>   Selected by [y]:\n>   - GPIO_SAMA5D2_PIOBU [=y] && GPIOLIB [=y] && HAS_IOMEM [=y] && MFD_SYSCON [=y] && (ARCH_AT91 || COMPILE_TEST [=y])\n>\n> drivers/gpio/gpio-mt7621.c: In function 'mediatek_gpio_bank_probe':\n> drivers/gpio/gpio-mt7621.c:254:20: error: 'struct gpio_chip' has no member named 'of_gpio_n_cells'\n>   254 |         rg->chip.gc.of_gpio_n_cells = 2;\n>       |                    ^\n> drivers/gpio/gpio-tegra186.c: In function 'tegra186_gpio_of_xlate':\n> drivers/gpio/gpio-tegra186.c:502:25: error: 'struct gpio_chip' has no member named 'of_gpio_n_cells'\n>   502 |         if (WARN_ON(chip->of_gpio_n_cells < 2))\n>       |                         ^~\n> drivers/gpio/gpio-lpc32xx.c: In function 'lpc32xx_gpio_probe':\n> drivers/gpio/gpio-lpc32xx.c:523:49: error: 'struct gpio_chip' has no member named 'of_xlate'\n>   523 |                         lpc32xx_gpiochip[i].chip.of_xlate = lpc32xx_of_xlate;\n>       |                                                 ^\n> drivers/gpio/gpio-spacemit-k1.c: In function 'spacemit_gpio_add_bank':\n> drivers/gpio/gpio-spacemit-k1.c:234:11: error: 'struct gpio_chip' has no member named 'of_gpio_n_cells'\n>   234 |         gc->of_gpio_n_cells     = 3;\n>       |           ^~\n>\n> Bring that back as a dependency.\n>\n> Fixes: 7803501e5754 (\"gpio: drop unneeded Kconfig dependencies on OF_GPIO\")\n> Signed-off-by: Arnd Bergmann <arnd@arndb.de>\n> ---\n> There may be more fallout from the change, this is just what I found immediately,\n> but you could already fold the changes into the broken patch while I look\n> for additional ones.\n> ---\n\nThanks and sorry for the breakage. However, I'm wondering if it wouldn't make\nsense to do the following:\n\ndiff --git a/include/linux/gpio/driver.h b/include/linux/gpio/driver.h\nindex 17511434ed077..ce0e0df68dbaa 100644\n--- a/include/linux/gpio/driver.h\n+++ b/include/linux/gpio/driver.h\n@@ -473,7 +473,6 @@ struct gpio_chip {\n \tstruct gpio_irq_chip irq;\n #endif /* CONFIG_GPIOLIB_IRQCHIP */\n\n-#if defined(CONFIG_OF_GPIO)\n \t/*\n \t * If CONFIG_OF_GPIO is enabled, then all GPIO controllers described in\n \t * the device tree automatically may have an OF translation\n@@ -516,7 +515,6 @@ struct gpio_chip {\n \t */\n \tint (*of_xlate)(struct gpio_chip *gc,\n \t\t\tconst struct of_phandle_args *gpiospec, u32 *flags);\n-#endif /* CONFIG_OF_GPIO */\n };\n\n char *gpiochip_dup_line_label(struct gpio_chip *gc, unsigned int offset);\n\nSymbols from linux/of.h are stubbed out and these drivers can build just fine\nwith !CONFIG_OF. This would naturally increase the build coverage.\n\nBartosz","headers":{"Return-Path":"\n <linux-gpio+bounces-34121-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=rQsLCgUR;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=172.105.105.114; helo=tor.lore.kernel.org;\n envelope-from=linux-gpio+bounces-34121-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=\"rQsLCgUR\"","smtp.subspace.kernel.org;\n arc=none smtp.client-ip=10.30.226.201"],"Received":["from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])\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 4fgk5r2Rzzz1xy3\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 25 Mar 2026 21:43:28 +1100 (AEDT)","from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby tor.lore.kernel.org (Postfix) with ESMTP id 4885A313750F\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 25 Mar 2026 10:32:05 +0000 (UTC)","from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id A38693B777D;\n\tWed, 25 Mar 2026 10:32:04 +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 656033B777C\n\tfor <linux-gpio@vger.kernel.org>; Wed, 25 Mar 2026 10:32:04 +0000 (UTC)","by smtp.kernel.org (Postfix) with ESMTPSA id 3C4E8C2BCB4\n\tfor <linux-gpio@vger.kernel.org>; Wed, 25 Mar 2026 10:32:04 +0000 (UTC)","by mail-lf1-f49.google.com with SMTP id\n 2adb3069b0e04-5a0fc5e2c59so6550559e87.1\n        for <linux-gpio@vger.kernel.org>;\n Wed, 25 Mar 2026 03:32:04 -0700 (PDT)","from 969154062570 named unknown by gmailapi.google.com with\n HTTPREST; Wed, 25 Mar 2026 03:32:01 -0700","from 969154062570 named unknown by gmailapi.google.com with\n HTTPREST; Wed, 25 Mar 2026 03:32:01 -0700"],"ARC-Seal":"i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1774434724; cv=none;\n b=tVpM4tiv/thbyZSFwHp1knwo6hDJTJPMkcu0DmdaT44CeUrGnRJpkXJuibLAk+FZ1o5db0N0nsdluhT8ByuC0qKjN5sTCUWcQ0VY8rDjFjbAPpJsmaP3faY02R7CSWdq7uBVe5RcWmKD5oAJytQdn2sINgoePb3uXwl/SABbu9w=","ARC-Message-Signature":"i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1774434724; c=relaxed/simple;\n\tbh=ocM1mdWqdcmXzLcIYmHxofHeePVA9vqDrQenuhbw7uQ=;\n\th=From:In-Reply-To:MIME-Version:References:Date:Message-ID:Subject:\n\t To:Cc:Content-Type;\n b=bECsPvaIUxugmhN33iaqmwZdKWGHN2Fsqm7Bn1fzn3d6wk9H24koP9Kb8QTtwzSmN6autqWyX0Yjbep6eybbsvCRuHlkU+8XJ8IVpnE9VbIW14YwBt3+HTVTnidXY3ictFTYY2RT3ZfWaRVeHPiO8bFnNjaiyyh4e/e9nXqSsQ4=","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=rQsLCgUR; 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=1774434724;\n\tbh=ocM1mdWqdcmXzLcIYmHxofHeePVA9vqDrQenuhbw7uQ=;\n\th=From:In-Reply-To:References:Date:Subject:To:Cc:From;\n\tb=rQsLCgURkLIEosDEkWhGLHl2g1Ra6qaeLKzy2cRqqnyXRcXcVKKwx3toJni6EMrux\n\t 2yTlCjJ/KdtIfr9nJlV3R9Uyw8RZjwSCEWZZ46F6kW+ognCmhXZTt+4caRkrSnV4pJ\n\t g4EKHg7lADOkIJM8Zy429vK7uL9pAvIYddbYoRTRMs0BHYvdVDX9uYgNCxGUfYD9zg\n\t KwaTmNGmGRK3/Fgg/iLtZ3V1Oeowegn1mvk53dgavo/7O2ptF2VSu4l/gEOC/UGQ10\n\t b27HeM60vA3MAPu4GdjcQl6p8kfoIuA4k6Bdijgtvn3EOmXmoLIi8zD+zePRhB70dz\n\t j8GibjkFw3IsQ==","X-Forwarded-Encrypted":"i=1;\n AJvYcCXShJtWpiNUVHicIUdg+wk8TYcELUjffquwyTdsMAmIVzscZqLgQ+ziXc+Juwm8aFj8z1i2gbMrowPl@vger.kernel.org","X-Gm-Message-State":"AOJu0YzXGDWlGlBuZa2Wmt+MbqBAZQ9ok3PGFuELoX10o9jy95xS340M\n\tcmaxYcWfA91Eh2RdLBb8nsOM4Qwv8PHKoqHHIpq1SCwhr4dEhL9O0HgYOQ3tD7JcmpezDHEgUAW\n\t9ATU+tcIBNJVDZw+4Fc5/lSE/W3UkCvx10Zps/qJ2WQ==","X-Received":"by 2002:a05:6512:220f:b0:5a1:34a3:757f with SMTP id\n 2adb3069b0e04-5a29b9958e6mr1037060e87.25.1774434722860; Wed, 25 Mar 2026\n 03:32:02 -0700 (PDT)","From":"Bartosz Golaszewski <brgl@kernel.org>","In-Reply-To":"<20260325100144.1696731-1-arnd@kernel.org>","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","References":"<20260325100144.1696731-1-arnd@kernel.org>","Date":"Wed, 25 Mar 2026 03:32:01 -0700","X-Gmail-Original-Message-ID":"\n <CAMRc=Mdwu85gghDjQEu4eP2HZxHjBFpph07q9SOfAifSDMtpVw@mail.gmail.com>","X-Gm-Features":"AaiRm53MDlZLZwdTwMSs-omwMVxdmGT3F6ltQ_Yfx4HD4BKPWevgMv5IzNZGH1g","Message-ID":"\n <CAMRc=Mdwu85gghDjQEu4eP2HZxHjBFpph07q9SOfAifSDMtpVw@mail.gmail.com>","Subject":"Re: [PATCH] gpio: fix up CONFIG_OF dependencies","To":"Arnd Bergmann <arnd@kernel.org>","Cc":"Arnd Bergmann <arnd@arndb.de>, Yixun Lan <dlan@kernel.org>,\n\tMatthias Brugger <matthias.bgg@gmail.com>,\n\tAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>,\n linux-gpio@vger.kernel.org,\n\tlinux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org,\n\tspacemit@lists.linux.dev, linux-arm-kernel@lists.infradead.org,\n\tlinux-mediatek@lists.infradead.org, Linus Walleij <linusw@kernel.org>,\n\tBartosz Golaszewski <brgl@kernel.org>","Content-Type":"text/plain; charset=\"UTF-8\""}},{"id":3668978,"web_url":"http://patchwork.ozlabs.org/comment/3668978/","msgid":"<1789ce66-5a18-4b54-bbad-3b2049f2c26d@app.fastmail.com>","list_archive_url":null,"date":"2026-03-25T10:41:04","subject":"Re: [PATCH] gpio: fix up CONFIG_OF dependencies","submitter":{"id":30,"url":"http://patchwork.ozlabs.org/api/people/30/","name":"Arnd Bergmann","email":"arnd@arndb.de"},"content":"On Wed, Mar 25, 2026, at 11:32, Bartosz Golaszewski wrote:\n> On Wed, 25 Mar 2026 11:01:14 +0100, Arnd Bergmann <arnd@kernel.org> said:\n>>\n>> WARNING: unmet direct dependencies detected for GPIO_SYSCON\n>>   Depends on [n]: GPIOLIB [=y] && HAS_IOMEM [=y] && MFD_SYSCON [=y] && OF [=n]\n>>   Selected by [y]:\n>>   - GPIO_SAMA5D2_PIOBU [=y] && GPIOLIB [=y] && HAS_IOMEM [=y] && MFD_SYSCON [=y] && (ARCH_AT91 || COMPILE_TEST [=y])\n>>\n>\n> Thanks and sorry for the breakage. However, I'm wondering if it wouldn't make\n> sense to do the following:\n>\n>\n> -#if defined(CONFIG_OF_GPIO)\n>  \t/*\n>  \t * If CONFIG_OF_GPIO is enabled, then all GPIO controllers described in\n>  \t * the device tree automatically may have an OF translation\n...\n> Symbols from linux/of.h are stubbed out and these drivers can build just fine\n> with !CONFIG_OF. This would naturally increase the build coverage.\n\nI don't think we need to worry about the build coverage here, CONFIG_OF\nis still included in x86 allmodconfig and half the randconfig builds,\nso the drivers get enough exposure either way.\n\nOn the other hand, dropping the build time check may help avoid\nfuture Kconfig dependency issues, so that still sounds like a\nreasonable suggestion. At least CONFIG_GPIO_SAMA5D2_PIOBU\nis going to need the 'depends on OF' regardless though to work\naround the other build error I cited above.\n\n     Arnd","headers":{"Return-Path":"\n <linux-gpio+bounces-34123-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=arndb.de header.i=@arndb.de header.a=rsa-sha256\n header.s=fm1 header.b=hIoYTVwG;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=messagingengine.com header.i=@messagingengine.com\n header.a=rsa-sha256 header.s=fm1 header.b=k9JBfeyU;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=172.105.105.114; helo=tor.lore.kernel.org;\n envelope-from=linux-gpio+bounces-34123-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)","smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de\n header.b=\"hIoYTVwG\";\n\tdkim=pass (2048-bit key) header.d=messagingengine.com\n header.i=@messagingengine.com header.b=\"k9JBfeyU\"","smtp.subspace.kernel.org;\n arc=none smtp.client-ip=103.168.172.150","smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=arndb.de","smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=arndb.de"],"Received":["from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fgkGK6GWHz1xy1\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 25 Mar 2026 21:50:49 +1100 (AEDT)","from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby tor.lore.kernel.org (Postfix) with ESMTP id 2E94130F9F9F\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 25 Mar 2026 10:41:42 +0000 (UTC)","from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 2DAAD3BBA07;\n\tWed, 25 Mar 2026 10:41:28 +0000 (UTC)","from fout-a7-smtp.messagingengine.com\n (fout-a7-smtp.messagingengine.com [103.168.172.150])\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 D18383B9DBB;\n\tWed, 25 Mar 2026 10:41:26 +0000 (UTC)","from phl-compute-04.internal (phl-compute-04.internal [10.202.2.44])\n\tby mailfout.phl.internal (Postfix) with ESMTP id 1C8E3EC008B;\n\tWed, 25 Mar 2026 06:41:26 -0400 (EDT)","from phl-imap-02 ([10.202.2.81])\n  by phl-compute-04.internal (MEProxy); Wed, 25 Mar 2026 06:41:26 -0400","by mailuser.phl.internal (Postfix, from userid 501)\n\tid CD83E700065; Wed, 25 Mar 2026 06:41:25 -0400 (EDT)"],"ARC-Seal":"i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1774435288; cv=none;\n b=DVXOUIqS3sY5T5ZxxXtMxV/VBexP7JnrPJQHpUFGsnRentOrT5N30ENilnaffWsNyOUXZSh00ieuxzxsbN7K2atIy1CtEkXyJJJL0RvES+65JbWc6gbw2vZ4fvRW7R4RSZXIoCMAm0RYP1l6JxhfcF9tUbshyoTRXI1CgC+6Y9g=","ARC-Message-Signature":"i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1774435288; c=relaxed/simple;\n\tbh=5JVNnXfAOSxbrwJgERtWwdI7qhgGCWCYs7yCi+xqRqk=;\n\th=MIME-Version:Date:From:To:Cc:Message-Id:In-Reply-To:References:\n\t Subject:Content-Type;\n b=an5LZgBD9H13vuUjiGTPbEJ5qUOnJ675Gxoidq7zjONbHTqfvYhTl/c1qK2YTJwa/wgR1/zday+RR4PBJy462X/SdNoU0qeZ4tSxTH/fGV61/0lVgJ/Cjrlj6b/G2mm1gRfKfJyhT1e+tRuWcD44dS37EW+aQYl8rSM7Oa4AoFI=","ARC-Authentication-Results":"i=1; smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=arndb.de;\n spf=pass smtp.mailfrom=arndb.de;\n dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de\n header.b=hIoYTVwG;\n dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com\n header.b=k9JBfeyU; arc=none smtp.client-ip=103.168.172.150","DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc\n\t:cc:content-transfer-encoding:content-type:content-type:date\n\t:date:from:from:in-reply-to:in-reply-to:message-id:mime-version\n\t:references:reply-to:subject:subject:to:to; s=fm1; t=1774435286;\n\t x=1774521686; bh=AcUhwk3rqiMKPq50OnIJ7QU2UyvK/5IjslJpVaZ0nD0=; b=\n\thIoYTVwGI4bcbO/0Hx0OtkRaT8drsHoKSzEN8QOGDKPfFe8F2vVTCbe5xuRjFgP/\n\tJMVbH3ojmaK//XjifU5t8mCLi9VjCbqASladM+m8eTUtHUjlKlf2gSeYUNE0ru6y\n\tJdk1UBGPN1/SZQepX9KIUnxkt52gpAwRmsyB6t+uVfOn7BIilQ4rYIBnhZltzMud\n\tNDrKql+R9pTAY8ZrWgzKl3HVN1fwl3sqrsX8881k52GoESgrzsSp7nGWl9R5nBTc\n\t6EeuOrkPQtBPtZ1zik6NRVUS3hiUVZYrykLIlSoGZ1VsEpnoUgrNBuImRPgrmU6W\n\t68rCn917tNpr+q1GMNsvZg==","v=1; a=rsa-sha256; c=relaxed/relaxed; d=\n\tmessagingengine.com; h=cc:cc:content-transfer-encoding\n\t:content-type:content-type:date:date:feedback-id:feedback-id\n\t:from:from:in-reply-to:in-reply-to:message-id:mime-version\n\t:references:reply-to:subject:subject:to:to:x-me-proxy\n\t:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1774435286; x=\n\t1774521686; bh=AcUhwk3rqiMKPq50OnIJ7QU2UyvK/5IjslJpVaZ0nD0=; b=k\n\t9JBfeyUy8ot9s/AZfT7qTXN5rh9CO/6AjTyssorp2ri8SNdME0RCx/qoy71B3Aly\n\t6a7A8egyk3uuNS9O84iDGZdbcGLK8BUeou16lkOyrDdJ9rd5t/mWCduol51WgDkW\n\tb2VfzPLKnw875J4AbhTbQPpgAUYVHb0TQxnpHcIK+dZPuORvUeKojHE/bsJsg0ap\n\t7M0PsVcFWDmBp22G09z7ZdNmVvG9bSBuVZR5V21jMTrdxLzkA7g9LEoqyBW0ZuZc\n\tGn88KmTbE+tOwlGY8qbHBcOtoNFEwQGaF+ruP/y7Tx93Rjgk4yg8m0QZMd2l8/Ug\n\tSuSzAOQDHuY97MdzHvL7Q=="],"X-ME-Sender":"<xms:1bvDaQYe3JeM4UhvQ0OEwfI2WcDl8Cb9je97ZH7zCZ9vo-lurQsdpg>\n    <xme:1bvDaWMAySiHuSbfamQuNRq-GDG4nnBo4NdedVngBgswu_7aMHJTjU_wAtW3SuZcC\n    IovSnk9E_kYrjC6uVcJHroTxRH2belNxltTHtOaz7c71Pn9DbyySVE>","X-ME-Proxy-Cause":"\n gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgdefvdegvdehucetufdoteggodetrf\n    dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu\n    rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf\n    gurhepofggfffhvfevkfgjfhfutgfgsehtjeertdertddtnecuhfhrohhmpedftehrnhgu\n    uceuvghrghhmrghnnhdfuceorghrnhgusegrrhhnuggsrdguvgeqnecuggftrfgrthhtvg\n    hrnhephfdthfdvtdefhedukeetgefggffhjeeggeetfefggfevudegudevledvkefhvdei\n    necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghrnh\n    gusegrrhhnuggsrdguvgdpnhgspghrtghpthhtohepuddvpdhmohguvgepshhmthhpohhu\n    thdprhgtphhtthhopegrnhhgvghlohhgihhorggttghhihhnohdruggvlhhrvghgnhhose\n    gtohhllhgrsghorhgrrdgtohhmpdhrtghpthhtohepmhgrthhthhhirghsrdgsghhgsehg\n    mhgrihhlrdgtohhmpdhrtghpthhtoheprghrnhgusehkvghrnhgvlhdrohhrghdprhgtph\n    htthhopegsrhhglheskhgvrhhnvghlrdhorhhgpdhrtghpthhtohepughlrghnsehkvghr\n    nhgvlhdrohhrghdprhgtphhtthhopehlihhnuhhsfieskhgvrhhnvghlrdhorhhgpdhrtg\n    hpthhtoheplhhinhhugidqrghrmhdqkhgvrhhnvghlsehlihhsthhsrdhinhhfrhgruggv\n    rggurdhorhhgpdhrtghpthhtoheplhhinhhugidqmhgvughirghtvghksehlihhsthhsrd\n    hinhhfrhgruggvrggurdhorhhgpdhrtghpthhtoheplhhinhhugidqrhhishgtvheslhhi\n    shhtshdrihhnfhhrrgguvggrugdrohhrgh","X-ME-Proxy":"<xmx:1bvDaSIidv0VH9EqpFf7lWU1nrpoHrkHXYrXOzJdVXpZFb5gLuDrnQ>\n    <xmx:1bvDad0HFZ81O1XtnWeWv6r8TXTtnnJOzlDE4Z__qYZagt-_I-HKeg>\n    <xmx:1bvDabU0OE4KgWfODjpt6QQ1J95WS496bcfA2IdkFOtSBvhmn963qw>\n    <xmx:1bvDaYxWpYq_wG9aRdGmys5MZZo3ErIccxXv68CwfEcbRYrTfWWkNg>\n    <xmx:1rvDaZgl7b-ZsH3SppgAoMe344kDy9kVd7DXZZcbGKYahqqXS0YhL3Z1>","Feedback-ID":"i56a14606:Fastmail","X-Mailer":"MessagingEngine.com Webmail Interface","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","X-ThreadId":"AK0r1PqEPgIR","Date":"Wed, 25 Mar 2026 11:41:04 +0100","From":"\"Arnd Bergmann\" <arnd@arndb.de>","To":"\"Bartosz Golaszewski\" <brgl@kernel.org>, \"Arnd Bergmann\" <arnd@kernel.org>","Cc":"\"Yixun Lan\" <dlan@kernel.org>,\n \"Matthias Brugger\" <matthias.bgg@gmail.com>,\n \"AngeloGioacchino Del Regno\" <angelogioacchino.delregno@collabora.com>,\n \"open list:GPIO SUBSYSTEM\" <linux-gpio@vger.kernel.org>,\n linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org,\n spacemit@lists.linux.dev, linux-arm-kernel@lists.infradead.org,\n linux-mediatek@lists.infradead.org, \"Linus Walleij\" <linusw@kernel.org>","Message-Id":"<1789ce66-5a18-4b54-bbad-3b2049f2c26d@app.fastmail.com>","In-Reply-To":"\n <CAMRc=Mdwu85gghDjQEu4eP2HZxHjBFpph07q9SOfAifSDMtpVw@mail.gmail.com>","References":"<20260325100144.1696731-1-arnd@kernel.org>\n <CAMRc=Mdwu85gghDjQEu4eP2HZxHjBFpph07q9SOfAifSDMtpVw@mail.gmail.com>","Subject":"Re: [PATCH] gpio: fix up CONFIG_OF dependencies","Content-Type":"text/plain","Content-Transfer-Encoding":"7bit"}},{"id":3669538,"web_url":"http://patchwork.ozlabs.org/comment/3669538/","msgid":"<CAMRc=MfwR9POm3OvuJTRcg8sO1y=LRdBMrbVLQ=eZD177r49qw@mail.gmail.com>","list_archive_url":null,"date":"2026-03-26T08:39:57","subject":"Re: [PATCH] gpio: fix up CONFIG_OF dependencies","submitter":{"id":92191,"url":"http://patchwork.ozlabs.org/api/people/92191/","name":"Bartosz Golaszewski","email":"brgl@kernel.org"},"content":"On Wed, Mar 25, 2026 at 11:41 AM Arnd Bergmann <arnd@arndb.de> wrote:\n>\n> On Wed, Mar 25, 2026, at 11:32, Bartosz Golaszewski wrote:\n> > On Wed, 25 Mar 2026 11:01:14 +0100, Arnd Bergmann <arnd@kernel.org> said:\n> >>\n> >> WARNING: unmet direct dependencies detected for GPIO_SYSCON\n> >>   Depends on [n]: GPIOLIB [=y] && HAS_IOMEM [=y] && MFD_SYSCON [=y] && OF [=n]\n> >>   Selected by [y]:\n> >>   - GPIO_SAMA5D2_PIOBU [=y] && GPIOLIB [=y] && HAS_IOMEM [=y] && MFD_SYSCON [=y] && (ARCH_AT91 || COMPILE_TEST [=y])\n> >>\n> >\n> > Thanks and sorry for the breakage. However, I'm wondering if it wouldn't make\n> > sense to do the following:\n> >\n> >\n> > -#if defined(CONFIG_OF_GPIO)\n> >       /*\n> >        * If CONFIG_OF_GPIO is enabled, then all GPIO controllers described in\n> >        * the device tree automatically may have an OF translation\n> ...\n> > Symbols from linux/of.h are stubbed out and these drivers can build just fine\n> > with !CONFIG_OF. This would naturally increase the build coverage.\n>\n> I don't think we need to worry about the build coverage here, CONFIG_OF\n> is still included in x86 allmodconfig and half the randconfig builds,\n> so the drivers get enough exposure either way.\n>\n> On the other hand, dropping the build time check may help avoid\n> future Kconfig dependency issues, so that still sounds like a\n> reasonable suggestion. At least CONFIG_GPIO_SAMA5D2_PIOBU\n> is going to need the 'depends on OF' regardless though to work\n> around the other build error I cited above.\n>\n>      Arnd\n\nFair enough, I'll queue this patch.\n\nBart","headers":{"Return-Path":"\n <linux-gpio+bounces-34190-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=ftVRdaDO;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c09:e001:a7::12fc:5321; helo=sto.lore.kernel.org;\n envelope-from=linux-gpio+bounces-34190-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=\"ftVRdaDO\"","smtp.subspace.kernel.org;\n arc=none smtp.client-ip=10.30.226.201"],"Received":["from sto.lore.kernel.org (sto.lore.kernel.org\n [IPv6:2600:3c09:e001:a7::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 4fhHMx0gF5z1y1G\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 26 Mar 2026 19:42:37 +1100 (AEDT)","from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sto.lore.kernel.org (Postfix) with ESMTP id 64AB7305983B\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 26 Mar 2026 08:40:13 +0000 (UTC)","from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 3C20D38E100;\n\tThu, 26 Mar 2026 08:40:12 +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 F290234D93B\n\tfor <linux-gpio@vger.kernel.org>; Thu, 26 Mar 2026 08:40:11 +0000 (UTC)","by smtp.kernel.org (Postfix) with ESMTPSA id B82F1C4AF09\n\tfor <linux-gpio@vger.kernel.org>; Thu, 26 Mar 2026 08:40:11 +0000 (UTC)","by mail-lf1-f43.google.com with SMTP id\n 2adb3069b0e04-5a1307438ddso827954e87.1\n        for <linux-gpio@vger.kernel.org>;\n Thu, 26 Mar 2026 01:40:11 -0700 (PDT)"],"ARC-Seal":"i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1774514412; cv=none;\n b=oiwLaUC5wyr+TFrHWyMsNaVYJVaN6ZGUj9FzkKj7RZFb7ioQyPUCVcJcBLy5BPEkwOB+a3ww5L7ef5aemXkhYmg7VIDDy4Fk3MNO9MxtjIqiQgYOYpp6dMS232ZHFqtBfuvUdsMDKNuvofk1Kobhknh5EqLctyoB0GkTFPdzjB0=","ARC-Message-Signature":"i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1774514412; c=relaxed/simple;\n\tbh=QfOa7OzRwwd4XlZR0+3Hhy9wDi0PAtKq+HHQAKzIr2Q=;\n\th=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject:\n\t To:Cc:Content-Type;\n b=cyZDXk3PZrc9LUMMXdgGQtVq5uCTKYAqooVlDU1wrSk2N11srSCnr3SP2YtSYvwqbKoSSw4c57vg6mq7BvzQ7oBy9a+IDyUHF07UfDmX8hg36Y4sDbskwk5oIcsMl/0M+Q3DWTwMlfEh3yHU/jmwBH+PbUz7RMbBeW8ZBTswTUA=","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=ftVRdaDO; 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=1774514411;\n\tbh=QfOa7OzRwwd4XlZR0+3Hhy9wDi0PAtKq+HHQAKzIr2Q=;\n\th=References:In-Reply-To:From:Date:Subject:To:Cc:From;\n\tb=ftVRdaDOnFGANoIrp9OBhja30/JqJdcf3WqhVM2IUvVXw1JgNZtfzpu2r9NuVwChu\n\t joOjJsjzXJUWLt+dRFKmTpkTngVjS8DFiBoJ1ku8K6YdkYhh15H9U+Yj2GDrKUaEPa\n\t Sw9pzt32LwMPHlNSpKHdfyI5x+h/+fpuWZY3hm3mQQQsUMdJKtH/Wy3RPLx5CSksGw\n\t zJVQOUPBX2D/joxJX1uJJ01gj+2Q/gRrNklw3vit3m6/D4jR/LSLPCV+ciIuMS1O0K\n\t 0Tqg46eygQg5MxDMp9zjKRDyxww15tORBncfdovtYuhN55HeyXHK/qz7TQnyMLjRty\n\t I2Wy4KJzpWdCg==","X-Forwarded-Encrypted":"i=1;\n AJvYcCUf5x/uTS3Q+kE38OUh1xMcBsS1QYTQvioaprmEB71QUL1zRQt5IZyadHyzZQ9XstNyI9Pajz8AAd8G@vger.kernel.org","X-Gm-Message-State":"AOJu0Yza8xFNZkouGkXMvfpW1aYVAtY04p4rMSDZmN/Tj9Fx7aJ4R1KA\n\t30fhhrug0pE//v4kCsBXB+ikk57QW0DjHHdRHfX2zWIHTSs/C5iF6wfnsGWjkWF8bZjnMnjD6Xy\n\th2atW7CVla817DCnQTk/748rcPgvsQmPDp2XUXN9DZA==","X-Received":"by 2002:a05:6512:a8f:b0:5a1:3da4:e92f with SMTP id\n 2adb3069b0e04-5a29b9ab6d8mr2497661e87.43.1774514410393; Thu, 26 Mar 2026\n 01:40:10 -0700 (PDT)","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","References":"<20260325100144.1696731-1-arnd@kernel.org>\n <CAMRc=Mdwu85gghDjQEu4eP2HZxHjBFpph07q9SOfAifSDMtpVw@mail.gmail.com>\n <1789ce66-5a18-4b54-bbad-3b2049f2c26d@app.fastmail.com>","In-Reply-To":"<1789ce66-5a18-4b54-bbad-3b2049f2c26d@app.fastmail.com>","From":"Bartosz Golaszewski <brgl@kernel.org>","Date":"Thu, 26 Mar 2026 09:39:57 +0100","X-Gmail-Original-Message-ID":"\n <CAMRc=MfwR9POm3OvuJTRcg8sO1y=LRdBMrbVLQ=eZD177r49qw@mail.gmail.com>","X-Gm-Features":"AQROBzDadLtwyr2raaFqkwGzyCOh9M5RUz_Gm02mFq1aGi1CGm9iwle9RVHpGLA","Message-ID":"\n <CAMRc=MfwR9POm3OvuJTRcg8sO1y=LRdBMrbVLQ=eZD177r49qw@mail.gmail.com>","Subject":"Re: [PATCH] gpio: fix up CONFIG_OF dependencies","To":"Arnd Bergmann <arnd@arndb.de>","Cc":"Arnd Bergmann <arnd@kernel.org>, Yixun Lan <dlan@kernel.org>,\n\tMatthias Brugger <matthias.bgg@gmail.com>,\n\tAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>,\n\t\"open list:GPIO SUBSYSTEM\" <linux-gpio@vger.kernel.org>,\n linux-kernel@vger.kernel.org,\n\tlinux-riscv@lists.infradead.org, spacemit@lists.linux.dev,\n\tlinux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org,\n\tLinus Walleij <linusw@kernel.org>","Content-Type":"text/plain; charset=\"UTF-8\"","Content-Transfer-Encoding":"quoted-printable"}},{"id":3669542,"web_url":"http://patchwork.ozlabs.org/comment/3669542/","msgid":"<177451445822.5060.11939390617609457696.b4-ty@oss.qualcomm.com>","list_archive_url":null,"date":"2026-03-26T08:41:00","subject":"Re: [PATCH] gpio: fix up CONFIG_OF dependencies","submitter":{"id":92196,"url":"http://patchwork.ozlabs.org/api/people/92196/","name":"Bartosz Golaszewski","email":"bartosz.golaszewski@oss.qualcomm.com"},"content":"On Wed, 25 Mar 2026 11:01:14 +0100, Arnd Bergmann wrote:\n> A number of GPIO drivers that used to have a CONFIG_OF_GPIO dependency now fail\n> to build on targets without CONFIG_OF:\n> \n> WARNING: unmet direct dependencies detected for GPIO_SYSCON\n>   Depends on [n]: GPIOLIB [=y] && HAS_IOMEM [=y] && MFD_SYSCON [=y] && OF [=n]\n>   Selected by [y]:\n>   - GPIO_SAMA5D2_PIOBU [=y] && GPIOLIB [=y] && HAS_IOMEM [=y] && MFD_SYSCON [=y] && (ARCH_AT91 || COMPILE_TEST [=y])\n> \n> [...]\n\nApplied, thanks!\n\n[1/1] gpio: fix up CONFIG_OF dependencies\n      https://git.kernel.org/brgl/c/af475c16bc02a08ed6af6ca0c920f98a45611fe6\n\nBest regards,","headers":{"Return-Path":"\n <linux-gpio+bounces-34191-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=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256\n header.s=qcppdkim1 header.b=kwqFVl0v;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com\n header.a=rsa-sha256 header.s=google header.b=TvcN3VLs;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c04:e001:36c::12fc:5321; helo=tor.lore.kernel.org;\n envelope-from=linux-gpio+bounces-34191-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)","smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com\n header.b=\"kwqFVl0v\";\n\tdkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com\n header.b=\"TvcN3VLs\"","smtp.subspace.kernel.org;\n arc=none smtp.client-ip=205.220.168.131","smtp.subspace.kernel.org;\n dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com","smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=oss.qualcomm.com"],"Received":["from tor.lore.kernel.org (tor.lore.kernel.org\n [IPv6:2600:3c04:e001:36c::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 4fhHQQ2xKYz1y1G\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 26 Mar 2026 19:44:46 +1100 (AEDT)","from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby tor.lore.kernel.org (Postfix) with ESMTP id 5088F30C9FE7\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 26 Mar 2026 08:41:13 +0000 (UTC)","from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id AF5513B8BC6;\n\tThu, 26 Mar 2026 08:41:06 +0000 (UTC)","from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com\n [205.220.168.131])\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 6BECA3B7B8C\n\tfor <linux-gpio@vger.kernel.org>; Thu, 26 Mar 2026 08:41:05 +0000 (UTC)","from pps.filterd (m0279863.ppops.net [127.0.0.1])\n\tby mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id\n 62Q8TrGM1811861\n\tfor <linux-gpio@vger.kernel.org>; Thu, 26 Mar 2026 08:41:04 GMT","from mail-qt1-f197.google.com (mail-qt1-f197.google.com\n [209.85.160.197])\n\tby mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4d4tkn1ct4-1\n\t(version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT)\n\tfor <linux-gpio@vger.kernel.org>; Thu, 26 Mar 2026 08:41:04 +0000 (GMT)","by mail-qt1-f197.google.com with SMTP id\n d75a77b69052e-50b802961ecso12762111cf.1\n        for <linux-gpio@vger.kernel.org>;\n Thu, 26 Mar 2026 01:41:04 -0700 (PDT)","from brgl-qcom.home ([2a01:cb1d:dc:7e00:92a5:ac13:cd81:9625])\n        by smtp.gmail.com with ESMTPSA id\n 5b1f17b1804b1-48722c845b8sm16608955e9.4.2026.03.26.01.41.01\n        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n        Thu, 26 Mar 2026 01:41:02 -0700 (PDT)"],"ARC-Seal":"i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1774514466; cv=none;\n b=mUuqvR3fSOLTx99ZkB1k6jGUZ8Zis27Rsl5zEyt1588GUeVt9+grM3bFFUCnW9skbvbB697BpHOdCI3LWQ0IVA/cHldTSnTeBjI5S8mckFOFNX8BlSZdYZanvzB5KTtkqn8TaC+6W09A0aVnzR+iRKI1p9oy3pbcqHjw0iK8zIw=","ARC-Message-Signature":"i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1774514466; c=relaxed/simple;\n\tbh=BTWdYF64zIa5F0wvNZbYT/vjVTO5AzLcuRatDC/hPHw=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version:Content-Type;\n b=NyTP7aqSJQ4B9wxiWUMBH3VgWwIVj8IVwoBj76UWomRM/a537UMtTm/BgrTMmBRirtESdn8IUcU+jPNjE2eWC1w2AeTCLQcw4VzdIpw6MJ8SlXmefflc/Krugl8Zcwec4O2Z3WjjXDYRhN0JUchC2XyONWOvYF2wHFkp3IToTmc=","ARC-Authentication-Results":"i=1; smtp.subspace.kernel.org;\n dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com;\n spf=pass smtp.mailfrom=oss.qualcomm.com;\n dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com\n header.b=kwqFVl0v;\n dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com\n header.b=TvcN3VLs; arc=none smtp.client-ip=205.220.168.131","DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h=\n\tcc:content-transfer-encoding:content-type:date:from:in-reply-to\n\t:message-id:mime-version:references:subject:to; s=qcppdkim1; bh=\n\tUahLMjjXP4HmY+1teJYFwYlE8SFM1tviQgqBvsmUzcw=; b=kwqFVl0va4Ro4+rt\n\tfFgR1pQCzXvp8Mms5DBXi0Ow2aYvPUaXH6hlIhO16WnSpOV8MwbNlmWjKWe9TKJE\n\tJ5coywcqs7VMaFOehqKnkiVjfyGA84VV0WzF2crMLMozmnJHtB31gFvTLueSbfT2\n\toJz/npWpybSJK7bmwLETA+J1htz3aqgcjl5OnJrb18YiV84BH13+p0O7sLaLxWWp\n\tqjvKUy1ZBqwJmFSvaZsWvbGKJlGUI/ksvGuSF852jMxu8vFHlEnGMIjHl/YKvGZ1\n\tYDL7/rX9w/6AkkPIYPuiFYRcd6YJpfYxMRNWh6hNffJVdy8pY1E6zmtANkTByNj1\n\t7zCBdw==","v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=oss.qualcomm.com; s=google; t=1774514464; x=1775119264;\n darn=vger.kernel.org;\n        h=content-transfer-encoding:mime-version:references:in-reply-to\n         :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n         :message-id:reply-to;\n        bh=UahLMjjXP4HmY+1teJYFwYlE8SFM1tviQgqBvsmUzcw=;\n        b=TvcN3VLszsD5YiWIeuryCRTU3bLdfLiqCvIlotyTUzJah8dRH17cMEHSTdKeSnlemO\n         E1xpCuC/CUDKlXbapEdoPb7hw9XtJ1826U6V5ERYdygrEEZqDG6Lu0OZS9tbHnkqOnjr\n         8Aie/qmj70VI9KYMHwx816ODGgxZPF+XvF/wAIuYYd1WPqrdjbzFeNPpDb0XY46dFb9J\n         na35oFx2a0G0/FqZpS03OolSE4SFurWEG9jtXd3LtbvjjZRBkyswA7JbMcp1GFCytvAk\n         zkRoKqpaK8IHlEU3j/525cwVX4gzZbOec8klpRmkbtWMZmBuKQUgc5t1ThBvVfPSPzQW\n         Ygfw=="],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=1e100.net; s=20251104; t=1774514464; x=1775119264;\n        h=content-transfer-encoding:mime-version:references:in-reply-to\n         :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n         :to:cc:subject:date:message-id:reply-to;\n        bh=UahLMjjXP4HmY+1teJYFwYlE8SFM1tviQgqBvsmUzcw=;\n        b=empW9jWc6QhCfNPpxAU3RoLVbj6DcDiWksi0zLN4wCp5c3l6nZcB3HVfRjudfotRtO\n         o5H2KU/1r6JzefSrRvQzoUOPN44ywrlOqtZjkszOVRrr4mpE5U1WWbXZ067eBodqdU0q\n         6yEDGuahLhNAXzzuwQZ9+IC59STcow0FXsQR9mRysbihoshz8dBxa4ctAjxgR2KPqIrK\n         Pqg/a+itH535M2Gd3akI23foeHKQ4oMstQaGrYL7jNKx8CxOUIXQxCW56qXmYwRIbx3k\n         vMx5tL+6B0frZ2ghcbhbXmPkT/fMAnKNXyy1EbHoVhjF+J27DlsrTqOLVxqoGfndqnNg\n         yBbw==","X-Forwarded-Encrypted":"i=1;\n AJvYcCW7R8Bd4VLJTGCWK7uMVzv+7EG6/VWwbV7JngxE3ATW269cwmTrvSj0LxeiUFkVohvk8DpW+V24c278@vger.kernel.org","X-Gm-Message-State":"AOJu0YzSdarYuC3fo1oAdacXgir1cKbk78cL1X4QnOEeyFagjILH+unT\n\t14ddBiTfJzfT2S/q3xVcgty2jec19efE3Bp7TP5kp6Mg3WKTGTBt1zFMPB8Fb2CokzP+dg1DsYb\n\to82bWhar88rwT5Rt09Jqdg2yBQtlLOrcdebrljOxCZghhQ5NmD5WZ3fnOPldejyIY","X-Gm-Gg":"ATEYQzz1QUBDhRnpMoW/hw2XM0xqBQSJFy6A7wkDVO9bOBUM4xcGYiiZrVB+ekUyNc1\n\tbl5VeGEWQkIrkwuK2ouDF4h7ATZX7J2hdkuvWmMyXLEbpcq0685eT6QM603dxfULHYiwrqKlsnV\n\tpXPcaGK3uSIEjY3S7pbrMDeJu2334vVBcwsXtLoaKRTE701H9/LxCivhRnichUhzLqsXmSqiYt4\n\tU4nGbsAmCTTPYXZVccN76abG2Yrmxyzn0eVp5lvYM4ABGSGGPxC7EFVI2CS2KB3t/ppmZc/h6IE\n\tzew21LZymOp5I8v/1cGqQXydUD5qyqIYh2QQuHpfcuAtX1kUDoPufs34d6uaW473kkxqwimEWk3\n\tKKbOs0qzJuDjyutAPfu0eFaw8DBlO4ON8MFhSNW6hBRL0ANKdAvI=","X-Received":["by 2002:ac8:7e92:0:b0:50b:44cc:2a95 with SMTP id\n d75a77b69052e-50b80e36ab3mr91222371cf.36.1774514463722;\n        Thu, 26 Mar 2026 01:41:03 -0700 (PDT)","by 2002:ac8:7e92:0:b0:50b:44cc:2a95 with SMTP id\n d75a77b69052e-50b80e36ab3mr91222121cf.36.1774514463190;\n        Thu, 26 Mar 2026 01:41:03 -0700 (PDT)"],"From":"Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>","To":"Linus Walleij <linusw@kernel.org>, Bartosz Golaszewski <brgl@kernel.org>,\n        Arnd Bergmann <arnd@kernel.org>","Cc":"Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>,\n        Arnd Bergmann <arnd@arndb.de>, Yixun Lan <dlan@kernel.org>,\n        Matthias Brugger <matthias.bgg@gmail.com>,\n        AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>,\n        linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org,\n        linux-riscv@lists.infradead.org, spacemit@lists.linux.dev,\n        linux-arm-kernel@lists.infradead.org,\n        linux-mediatek@lists.infradead.org","Subject":"Re: [PATCH] gpio: fix up CONFIG_OF dependencies","Date":"Thu, 26 Mar 2026 09:41:00 +0100","Message-ID":"<177451445822.5060.11939390617609457696.b4-ty@oss.qualcomm.com>","X-Mailer":"git-send-email 2.47.3","In-Reply-To":"<20260325100144.1696731-1-arnd@kernel.org>","References":"<20260325100144.1696731-1-arnd@kernel.org>","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-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"8bit","X-Proofpoint-Spam-Details-Enc":"AW1haW4tMjYwMzI2MDA2MiBTYWx0ZWRfX8Pc88NvHNFn+\n EBQuW5kfdcJQlXjjV2XUmMfIjrDmYmamfYVnMWNNVTC8D9ntwrIpMeHQByDeXJPSaOTJ6edg8bP\n wRMgVD0GyDJ/NF6JuluSd6TzMZfHjdGqd4QuWueHXf0SyqLC1g+27abaiyb22AzY2IiyyNESrlZ\n 1wUOT2Ec3DuThH9MuV2JHLQrdACtI093cyQu63n0r+GVZZqlIrkPEdB/zW402HVR4VvyiXPmv2j\n EbHcj38LYeeXE8LFPJGhyx4ezxz8M25Tqx/tWv5h2yGPa9rl10cDz4z6GC7fFHQM5q8pH5Go24i\n gJ4wgVeGvonBRP9H/tfXVLE7U/gtr4/0bQ+4MJ0CvFv4SzuIyJnIv16pM98ZNknT8jwiwKcHZGU\n mBlo4YEwhn5Idl7p4OfNXvjkQMaKdRFMGubXV6l0gLlUGSQEF6kNzl8P/EzO0WoqQIqP51wGlRP\n 3QuJJbJXkgNor7xnbAA==","X-Authority-Analysis":"v=2.4 cv=It8Tsb/g c=1 sm=1 tr=0 ts=69c4f120 cx=c_pps\n a=EVbN6Ke/fEF3bsl7X48z0g==:117 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10\n a=Yq5XynenixoA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22\n a=u7WPNUs3qKkmUXheDGA7:22 a=yOCtJkima9RkubShWh1s:22 a=VwQbUJbxAAAA:8\n a=EUspDBNiAAAA:8 a=faeRYzTSnDSNNYB9Nk0A:9 a=QEXdDO2ut3YA:10\n a=a_PwQJl-kcHnX1M80qC6:22","X-Proofpoint-GUID":"QEQFxC5U5MFcXIi2PsH1-A5JKnA-T3cZ","X-Proofpoint-ORIG-GUID":"QEQFxC5U5MFcXIi2PsH1-A5JKnA-T3cZ","X-Proofpoint-Virus-Version":"vendor=baseguard\n engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49\n definitions=2026-03-26_02,2026-03-24_01,2025-10-01_01","X-Proofpoint-Spam-Details":"rule=outbound_notspam policy=outbound score=0\n spamscore=0 phishscore=0 lowpriorityscore=0 bulkscore=0 adultscore=0\n malwarescore=0 priorityscore=1501 suspectscore=0 clxscore=1015\n impostorscore=0 classifier=typeunknown authscore=0 authtc= authcc=\n route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2603050001\n definitions=main-2603260062"}}]