Re: [PATCH v7 3/3] gpio: nuvoton: Add Nuvoton NPCM sgpio driver
From: Linus Walleij
Date: Thu Nov 02 2023 - 08:49:29 EST
Hi Jim,
thanks for your patch!
I saw that Andy already provided some good feedback but couldn't help
but to notice this:
On Wed, Nov 1, 2023 at 3:52 AM Jim Liu <jim.t90615@xxxxxxxxx> wrote:
> Changes for v6:
> - Remove bus-frequency property set
> - Use GPIO_GENERIC
(...)
> +config GPIO_NPCM_SGPIO
> + bool "Nuvoton SGPIO support"
> + depends on (ARCH_NPCM || COMPILE_TEST) && OF_GPIO
> + select GPIO_GENERIC
You select GPIO_GENERIC but you don't actually use it.
If you were using it, your code would be calling bgpio_init()
and it does not.
Yours,
Linus Walleij