[v4,0/4] gpio: vf610: allow disabling the vf610 driver

Message ID 20240124205900.14791-1-martin@kaiser.cx
Headers
Series gpio: vf610: allow disabling the vf610 driver |

Message

Martin Kaiser Jan. 24, 2024, 8:58 p.m. UTC
  The vf610 gpio driver is enabled by default for all i.MX machines,
without any option to disable it in a board-specific config file.

Change gpio's Kconfig to allow disabling this driver. Disable it by
default unless we have a vf610 soc. Enable it in the defconfigs
for the i.MX chips that need it.

While at it, enable COMPILE_TEST for the vf610 gpio driver.

Martin Kaiser (4):
  gpio: vf610: allow disabling the vf610 driver
  gpio: vf610: enable COMPILE_TEST
  ARM: imx_v6_v7_defconfig: enable the vf610 gpio driver
  arm64: defconfig: enable the vf610 gpio driver

 arch/arm/configs/imx_v6_v7_defconfig | 1 +
 arch/arm64/configs/defconfig         | 1 +
 drivers/gpio/Kconfig                 | 5 +++--
 3 files changed, 5 insertions(+), 2 deletions(-)
  

Comments

Peng Fan Jan. 26, 2024, 3:36 a.m. UTC | #1
> Subject: [PATCH v4 0/4] gpio: vf610: allow disabling the vf610 driver
> 
> The vf610 gpio driver is enabled by default for all i.MX machines, without any
> option to disable it in a board-specific config file.
> 
> Change gpio's Kconfig to allow disabling this driver. Disable it by default
> unless we have a vf610 soc. Enable it in the defconfigs for the i.MX chips that
> need it.
> 
> While at it, enable COMPILE_TEST for the vf610 gpio driver.
> 
> Martin Kaiser (4):
>   gpio: vf610: allow disabling the vf610 driver
>   gpio: vf610: enable COMPILE_TEST
>   ARM: imx_v6_v7_defconfig: enable the vf610 gpio driver
>   arm64: defconfig: enable the vf610 gpio driver

Reviewed-by: Peng Fan <peng.fan@nxp.com>
> 
>  arch/arm/configs/imx_v6_v7_defconfig | 1 +
>  arch/arm64/configs/defconfig         | 1 +
>  drivers/gpio/Kconfig                 | 5 +++--
>  3 files changed, 5 insertions(+), 2 deletions(-)
> 
> --
> 2.39.2