[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <b348a306-3043-4ccc-9067-81759ab29143@www.fastmail.com>
Date: Wed, 07 Sep 2022 12:14:38 +0200
From: "Arnd Bergmann" <arnd@...db.de>
To: "Bartosz Golaszewski" <brgl@...ev.pl>,
"Christophe Leroy" <christophe.leroy@...roup.eu>
Cc: "Linus Walleij" <linus.walleij@...aro.org>,
"Geert Uytterhoeven" <geert+renesas@...der.be>,
Keerthy <j-keerthy@...com>,
"Russell King" <linux@...linux.org.uk>,
"Jonathan Corbet" <corbet@....net>,
"Thomas Gleixner" <tglx@...utronix.de>,
"Ingo Molnar" <mingo@...hat.com>, "Borislav Petkov" <bp@...en8.de>,
"Dave Hansen" <dave.hansen@...ux.intel.com>,
"H. Peter Anvin" <hpa@...or.com>,
"Catalin Marinas" <catalin.marinas@....com>,
"Will Deacon" <will@...nel.org>,
"Davide Ciminaghi" <ciminaghi@...dd.com>,
"Linux Kernel Mailing List" <linux-kernel@...r.kernel.org>,
"open list:GPIO SUBSYSTEM" <linux-gpio@...r.kernel.org>,
"Linux ARM" <linux-arm-kernel@...ts.infradead.org>,
Linux-Arch <linux-arch@...r.kernel.org>,
linux-doc <linux-doc@...r.kernel.org>, x86@...nel.org
Subject: Re: [PATCH v2 0/9] gpio: Get rid of ARCH_NR_GPIOS (v2)
On Wed, Sep 7, 2022, at 11:58 AM, Bartosz Golaszewski wrote:
> On Fri, Sep 2, 2022 at 2:42 PM Christophe Leroy <christophe.leroy@...roup.eu> wrote:
>>
>> Documentation/driver-api/gpio/legacy.rst | 5 -
>> arch/arm/Kconfig | 21 --
>> arch/arm/include/asm/gpio.h | 1 -
>> arch/arm64/Kconfig | 12 -
>> arch/x86/Kconfig | 5 -
>> drivers/gpio/Kconfig | 8 -
>> drivers/gpio/Makefile | 1 -
>> drivers/gpio/gpio-aggregator.c | 7 +-
>> drivers/gpio/gpio-davinci.c | 3 -
>> drivers/gpio/gpio-sta2x11.c | 411 -----------------------
>> drivers/gpio/gpiolib.c | 13 +-
>> include/asm-generic/gpio.h | 55 ++-
>> 12 files changed, 33 insertions(+), 509 deletions(-)
>> delete mode 100644 drivers/gpio/gpio-sta2x11.c
For the arch/arm*/Kconfig and include/asm-generic changes:
Acked-by: Arnd Bergmann <arnd@...db.de>
sta2x11 is an x86 driver, so not my area, but I think it would be
best to kill off the entire platform rather than just its gpio
driver, since everything needs to work together and it's clearly
not functional at the moment.
$ git grep -l STA2X11
Documentation/admin-guide/media/pci-cardlist.rst
arch/x86/Kconfig
arch/x86/include/asm/sta2x11.h
arch/x86/pci/Makefile
arch/x86/pci/sta2x11-fixup.c
drivers/ata/ahci.c
drivers/gpio/Kconfig
drivers/gpio/Makefile
drivers/gpio/gpio-sta2x11.c
drivers/i2c/busses/Kconfig
drivers/media/pci/Makefile
drivers/media/pci/sta2x11/Kconfig
drivers/media/pci/sta2x11/Makefile
drivers/media/pci/sta2x11/sta2x11_vip.c
drivers/media/pci/sta2x11/sta2x11_vip.h
drivers/mfd/Kconfig
drivers/mfd/Makefile
drivers/mfd/sta2x11-mfd.c
include/linux/mfd/sta2x11-mfd.h
Removing the other sta2x11 bits (mfd, media, x86) should
probably be done through the respective tree, but it would
be good not to forget those.
Arnd
Powered by blists - more mailing lists