Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4002704rwd; Tue, 23 May 2023 01:25:32 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5eZkoWlbUzZBlj/OxA07X8JaPnKueiKRdFJIS9jBB+9jVC6PmjkKt7ZARiUQQU37Chf2SN X-Received: by 2002:a05:6a20:6a1a:b0:10c:2349:459d with SMTP id p26-20020a056a206a1a00b0010c2349459dmr3677408pzk.11.1684830332467; Tue, 23 May 2023 01:25:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684830332; cv=none; d=google.com; s=arc-20160816; b=qKz0bFOY248Oo6SCu0vJYsQB9tJtxz68N8XZi6zuRhurtZBlaeHruUG/2MFCQcy/6a GhQdgCRFbxIuGAfDautka0vcu1h+yA6dBju4BHYC1KibWri4FdeWmwfs0/1XBzbhdYiD MIz0lkqD3LYKoaJ59pvDvuD2K6EeL8+AHVseLwTsap3ypt9I9HlC+OAIvCx0wgyn1LhR aRcpRCC6Pt9arVJbHQL1fBxIQDMrjA/IvHGvx7N+walwIY+HXavmNLMdDhS6nUJAU+Wn iqcX8S408w/TIm7ctYQDmVOHLn7btFgEIQbEsDISYAW2tfYj+h0bb9iCgARDLiV2lMJe iUug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=ekkX5ovoO1DzJHorTtfGF/BFqQaZlWm6jALsPFR/4AA=; b=N5jM/8BNnHGtfPQSAsxUeR6NPYCcZ+aguqTY8zQAE9UlronyR6Z0tkG3NbGmSAI3Eh AHlh2H06O7I/u4/54b8uvKmZKnIdqxX9Gx4MyQX66G2MbP+ohhSLDQQmovxi52NcG6Q/ dknxcBCMVnRe7npL+nSbJndim5ezKh70LlXt84PIXISYoKP0/KAfA8/gn/5YYKB+6T3L WiuPx58s7FXk8yBHq7pISzq1aKwJMlF5bJX+BDro7quMtfbXuD/xXsOMQqyOO146wyf2 0Ql5wassd2ULZdwDb+FKKdW2v48E5ErU0UNmW3oaXhzQ+7u6k6MZdpvyZ4OIb/z38HOB 9t7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20221208.gappssmtp.com header.s=20221208 header.b=e9R6QFUt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e7-20020a63aa07000000b0052c47df208dsi1077331pgf.326.2023.05.23.01.25.20; Tue, 23 May 2023 01:25:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20221208.gappssmtp.com header.s=20221208 header.b=e9R6QFUt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235888AbjEWIS5 (ORCPT + 99 others); Tue, 23 May 2023 04:18:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39018 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236151AbjEWISM (ORCPT ); Tue, 23 May 2023 04:18:12 -0400 Received: from mail-vk1-xa2a.google.com (mail-vk1-xa2a.google.com [IPv6:2607:f8b0:4864:20::a2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 283C2E5D for ; Tue, 23 May 2023 01:16:07 -0700 (PDT) Received: by mail-vk1-xa2a.google.com with SMTP id 71dfb90a1353d-456d241fcdcso1904658e0c.0 for ; Tue, 23 May 2023 01:16:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20221208.gappssmtp.com; s=20221208; t=1684829766; x=1687421766; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=ekkX5ovoO1DzJHorTtfGF/BFqQaZlWm6jALsPFR/4AA=; b=e9R6QFUt8iG4VMgXDNLKpBFcZWuvpjp8djRXoItHJYGP9mbhrfLBweV3gxtM8JcVC/ 2I1MbkIiIY2DoxsigjupTNGZJ6jq1gC5LWd7XJthhipFE9b1NTLi0nXkO4oyMPJWslUd R+43UM2TydbecRvpGyeDxsJRtURNcjwwdXxTl0AYHNf2zAbM202PEF/TZy1xoyWzpiJK Bm7ELQzbbzEcWAJ6JvW+GaJ9x2gdplkbuxndVNpNypYlMODVZIyBOtzxs7hmm22HwLCZ TEaPmcNLWcHYTJAoM7lShNgU2yZ1vDL36m+22YE58HanHBziQIrs3ce0JiYm9fdNuopb HkSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684829766; x=1687421766; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ekkX5ovoO1DzJHorTtfGF/BFqQaZlWm6jALsPFR/4AA=; b=lItP/kIGoYy7Q6z9yMi+fkLI9wsNA6qmcYXxjlhFptbAIzK88cxTQJz/jwmXbvlAUX ON6bEs4l6Sy2nlrZwvRe+QDqCYQ+CanfAVwQoU+muziX8edxfZ9orjmxTsD+7KKJpaPf UD32hYv/RyLM7r6Nnk/WAvzZhpf+bS0KL8mFAXl/4XabHfiPH9xZZr92Flezxqka5vb+ Z0+O06xFzEVcpl1SY6VNjwr71YC8FQ5CqX8RFyfAiXJ21XMArng971q87CDZrjnLL/JY bd/pPGvZGPNtPvj5V+B2NIs61bzI4lx/5r2iGJPucpvY2vVYmxtXPWJ+CQfu+9fMmCuv KbFA== X-Gm-Message-State: AC+VfDx6InE+2vTEPTlqakVpaw4966kpr41TTm1n2qXynW643IOfFThD IATHf4FMcp2sEJdhQyjyrE/GJoocf81JfWPOtWFX4w== X-Received: by 2002:a1f:6046:0:b0:456:ffb8:8901 with SMTP id u67-20020a1f6046000000b00456ffb88901mr4334382vkb.15.1684829766186; Tue, 23 May 2023 01:16:06 -0700 (PDT) MIME-Version: 1.0 References: <20230522105049.1467313-1-schnelle@linux.ibm.com> <20230522105049.1467313-12-schnelle@linux.ibm.com> In-Reply-To: <20230522105049.1467313-12-schnelle@linux.ibm.com> From: Bartosz Golaszewski Date: Tue, 23 May 2023 10:15:55 +0200 Message-ID: Subject: Re: [PATCH v5 11/44] gpio: add HAS_IOPORT dependencies To: Niklas Schnelle Cc: Arnd Bergmann , Linus Walleij , Greg Kroah-Hartman , Bjorn Helgaas , =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , Mauro Carvalho Chehab , Alan Stern , "Rafael J. Wysocki" , Geert Uytterhoeven , Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-pci@vger.kernel.org, Arnd Bergmann , linux-gpio@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 22, 2023 at 12:51=E2=80=AFPM Niklas Schnelle wrote: > > In a future patch HAS_IOPORT=3Dn will result in inb()/outb() and friends > not being declared. We thus need to add HAS_IOPORT as dependency for > those drivers using them. > > Reviewed-by: Linus Walleij > Co-developed-by: Arnd Bergmann > Signed-off-by: Arnd Bergmann > Signed-off-by: Niklas Schnelle > --- > drivers/gpio/Kconfig | 26 +++++++++++++------------- > 1 file changed, 13 insertions(+), 13 deletions(-) > > diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig > index 5521f060d58e..a470ec8d617b 100644 > --- a/drivers/gpio/Kconfig > +++ b/drivers/gpio/Kconfig > @@ -704,18 +704,6 @@ config GPIO_VISCONTI > help > Say yes here to support GPIO on Tohisba Visconti. > > -config GPIO_VX855 > - tristate "VIA VX855/VX875 GPIO" > - depends on (X86 || COMPILE_TEST) && PCI > - select MFD_CORE > - select MFD_VX855 > - help > - Support access to the VX855/VX875 GPIO lines through the GPIO l= ibrary. > - > - This driver provides common support for accessing the device. > - Additional drivers must be enabled in order to use the > - functionality of the device. > - > config GPIO_WCD934X > tristate "Qualcomm Technologies Inc WCD9340/WCD9341 GPIO controll= er driver" > depends on MFD_WCD934X && OF_GPIO > @@ -835,7 +823,19 @@ config GPIO_IDT3243X > endmenu > > menu "Port-mapped I/O GPIO drivers" > - depends on X86 # Unconditional I/O space access > + depends on X86 && HAS_IOPORT # I/O space access > + > +config GPIO_VX855 > + tristate "VIA VX855/VX875 GPIO" > + depends on PCI > + select MFD_CORE > + select MFD_VX855 > + help > + Support access to the VX855/VX875 GPIO lines through the GPIO l= ibrary. > + > + This driver provides common support for accessing the device. > + Additional drivers must be enabled in order to use the > + functionality of the device. > > config GPIO_I8255 > tristate > -- > 2.39.2 > I already applied v4. Has this changed since the last version? If not, then you can drop it now from your series. Bart