[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdaZK+0r5VfyAzp-4wYkdANQ68pMnwZAobusnkZS1qaN8w@mail.gmail.com>
Date: Mon, 11 Jul 2022 10:42:07 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Henning Schild <henning.schild@...mens.com>
Cc: linux-kernel@...r.kernel.org, linux-gpio@...r.kernel.org,
Bartosz Golaszewski <brgl@...ev.pl>,
Tasanakorn Phaipool <tasanakorn@...il.com>,
Sheng-Yuan Huang <syhuang3@...oton.com>,
Kuan-Wei Ho <cwho@...oton.com>,
Andy Shevchenko <andy.shevchenko@...il.com>
Subject: Re: [PATCH v2 1/1] gpio: nct6116d: add new driver for several Nuvoton
super io chips
On Mon, Jul 4, 2022 at 3:06 PM Henning Schild
<henning.schild@...mens.com> wrote:
> This patch adds gpio support for several Nuvoton NCTXXX chips. These
> Super-I/O chips offer multiple functions of which several already have
> drivers in the kernel, i.e. hwmon and watchdog.
>
> Signed-off-by: Henning Schild <henning.schild@...mens.com>
(...)
> drivers/gpio/Kconfig | 9 +
(...)
> --- a/drivers/gpio/Kconfig
> +++ b/drivers/gpio/Kconfig
> @@ -457,6 +457,15 @@ config GPIO_MXS
> select GPIO_GENERIC
> select GENERIC_IRQ_CHIP
>
> +config GPIO_NCT6116D
> + tristate "Nuvoton Super-I/O GPIO support"
> + help
> + This option enables support for GPIOs found on Nuvoton Super-I/O
> + chips NCT5104D, NCT6106D, NCT6116D, NCT6122D.
> +
> + To compile this driver as a module, choose M here: the module will
> + be called gpio-nct6116d.
> +
> config GPIO_OCTEON
This driver is put among the memory-mapped GPIO drivers
in Kconfig despite it is using port-mapped IO.
Move it to the right section with the other port-mapped IO
GPIO drivers that begins like this:
menu "Port-mapped I/O GPIO drivers"
depends on X86 # Unconditional I/O space access
Yours,
Linus Walleij
Powered by blists - more mailing lists