Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2253380rwd; Wed, 17 May 2023 07:44:06 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4X3AQ1Om4zTOAZ4RBpegeGklpji2ZzMlohzDm6Zc+koCjSP97m+u6f5wHMQLOvwUlhoJvO X-Received: by 2002:a05:6a00:a84:b0:64c:a572:3953 with SMTP id b4-20020a056a000a8400b0064ca5723953mr1128355pfl.18.1684334645966; Wed, 17 May 2023 07:44:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684334645; cv=none; d=google.com; s=arc-20160816; b=M6atH1PsfiHIVEKUQehnIHVoke+Lht7gmly+3YnC0VyAkNkpLfeEDhGgXCC2wi7p32 HWvMAWsUSIRibEZzybKd2zymFf9D0xFtwehjTtCU2xtejAzBExCUR81DAuSOVVKsBJo3 yY6dy9aFbI7OlNqzPLwdDavSo+h2LvwRMBjPOSHp1JmGbl88WWEsmovobDTXYQw7tvoC 48vISULa0OuTrN7ImkYat4YpW4vy67jaSHEVLV46c3XfSoPX6TjWciV4yZMY1SXcAQhU 2WqZcgiBwtymDydTkMUNFCWhwBRUfZIOGazEJd9mfHIuSvUGN8u/K02bnJRUyeZ+qYEU ZAiQ== 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=rhkiIjPom+AxXYktEbUGoiA5T8CFiFkldMIkLPxRd/I=; b=dNK/FIFZZAXXXH1taBBGDZ0na410z5cFWDFekJogO4lDbUNBkeLBneLidNoraINKFF e+kJTGHNNxVWFf+eKKkeTl6ubJ/rh3x/oNmb7mxMtlGQxX76qDvBwfq6fj9OqTeD3RY2 iADiAD5Kn33pa3Ld5Ag2Plmx6+ydbHe80W6CYWC2Sy3/D0l5h270Nmp/Sip2Q4ChFWZl eL54V0lEH7C+DnxqaY/QJnGkqPnrnyzrQLf1au1aK6XINqY1El8E9UyHmZKz0oErTC5S C1alSOrUo4Rg8BYD713ykKGSj2nS38QBGCQHH6I5Nz6lOlKO+9e7u1eWsS60LDjtCq3U Ww9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20221208.gappssmtp.com header.s=20221208 header.b=btMjxiay; 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 s10-20020aa78bca000000b00643430939acsi21778628pfd.164.2023.05.17.07.43.54; Wed, 17 May 2023 07:44:05 -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=btMjxiay; 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 S229978AbjEQOPt (ORCPT + 99 others); Wed, 17 May 2023 10:15:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41492 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231373AbjEQOPr (ORCPT ); Wed, 17 May 2023 10:15:47 -0400 Received: from mail-ua1-x934.google.com (mail-ua1-x934.google.com [IPv6:2607:f8b0:4864:20::934]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 137B8E8 for ; Wed, 17 May 2023 07:15:45 -0700 (PDT) Received: by mail-ua1-x934.google.com with SMTP id a1e0cc1a2514c-783feefeedeso74911241.2 for ; Wed, 17 May 2023 07:15:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20221208.gappssmtp.com; s=20221208; t=1684332944; x=1686924944; 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=rhkiIjPom+AxXYktEbUGoiA5T8CFiFkldMIkLPxRd/I=; b=btMjxiay7nTs9qGr2zF9OAO0jpL42voTb/3qx7U+H6IjvybBo2YPtO8ipdMK5+vh2A 0oVFC9RDLnqBM7wIkRssr9lRFjlzCpvN0QnAy//EbHeJ1qJYB6qH62/p510KIYQqzd0/ vaiJ1In/L259P2iCso5nuf+Pmcp+e96jB3D2//famDOz2Ht8iSuuJW9GVT1+DEPnGs2/ UvLCJuFNXTA7zQ6KIoZ2P8ksaUuxhAMNObn3WTbmXYL+GhbGs850pVFCtZCvBiUi0TRU ISPxSRNz/U3C41t/l2Xz7RZv02kXsJJkw/gT+ZEF5gADx9H+/BAG9k7aqA64/KsCz+mF zl4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684332944; x=1686924944; 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=rhkiIjPom+AxXYktEbUGoiA5T8CFiFkldMIkLPxRd/I=; b=AJGvn5FCbFBfXGCETn/y4hh+ebYWvFAYXvyJXX5kaXKZlvWl6UCnHXLT1taNrT5Vkg xxElICHNIY0ZyiD3ItytwxfwxmdA845cElO9trthyGCpdpvmeJSXDdEX8klwGHOMfGV8 6yaFJUVRajQvKaKafgIZ3VErNRY//GBK359TII+k/WAUWtC7TLoaJMpoY4raML+1bHHx thz+/VB0WcZzpdz2xAZG7YuAqypWF/RIkJhYWXqTRSUImj+5fMn8/zT/0WRt1WJiMD6E i1OYA3Lqgl1+Z3NDY5q/BkjSah7f7mEpWDV0yfN9ZEZJFoF8g6u9FEQ8OPA2gqYQMCyx RGOQ== X-Gm-Message-State: AC+VfDzoiZzx+6Rx+aY0qsiy1IJatLMmkW2LeiHCx7hQTgbGL+j5K4f4 0l9dHx9JzNTj+NVlOAA83BGkTUEegmxaTlIL+RhftOwYFZOz5XIo X-Received: by 2002:a67:fd98:0:b0:434:7765:3330 with SMTP id k24-20020a67fd98000000b0043477653330mr16597840vsq.15.1684332944178; Wed, 17 May 2023 07:15:44 -0700 (PDT) MIME-Version: 1.0 References: <20230516110038.2413224-1-schnelle@linux.ibm.com> <20230516110038.2413224-10-schnelle@linux.ibm.com> In-Reply-To: <20230516110038.2413224-10-schnelle@linux.ibm.com> From: Bartosz Golaszewski Date: Wed, 17 May 2023 16:15:33 +0200 Message-ID: Subject: Re: [PATCH v4 09/41] 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 Tue, May 16, 2023 at 1:00=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. > > Co-developed-by: Arnd Bergmann > Signed-off-by: Arnd Bergmann > Signed-off-by: Niklas Schnelle > --- > Note: The HAS_IOPORT Kconfig option was added in v6.4-rc1 so > per-subsystem patches may be applied independently > > 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 > Applied, thanks! Bart