diff mbox series

gpio: pmic-eic-sprd: Move Kconfig to MFD expanders

Message ID 20230216091909.1808306-1-linus.walleij@linaro.org
State New
Headers show
Series gpio: pmic-eic-sprd: Move Kconfig to MFD expanders | expand

Commit Message

Linus Walleij Feb. 16, 2023, 9:19 a.m. UTC
The Spreadtrum PMIC EIC interrupt controller is part of an
MFD expander and should thus be in the MFD GPIO expander
menu section with the rest. Move it.

Cc: Cixi Geng <cixi.geng1@unisoc.com>
Cc: Baolin Wang <baolin.wang@linux.alibaba.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
 drivers/gpio/Kconfig | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

Comments

Baolin Wang Feb. 16, 2023, 9:23 a.m. UTC | #1
On 2/16/2023 5:19 PM, Linus Walleij wrote:
> The Spreadtrum PMIC EIC interrupt controller is part of an
> MFD expander and should thus be in the MFD GPIO expander
> menu section with the rest. Move it.
> 
> Cc: Cixi Geng <cixi.geng1@unisoc.com>
> Cc: Baolin Wang <baolin.wang@linux.alibaba.com>
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

Looks good to me. Thanks Linus.
Reviewed-by: Baolin Wang <baolin.wang@linux.alibaba.com>

> ---
>   drivers/gpio/Kconfig | 16 ++++++++--------
>   1 file changed, 8 insertions(+), 8 deletions(-)
> 
> diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
> index c9f3ef56eb24..58b742a50fe0 100644
> --- a/drivers/gpio/Kconfig
> +++ b/drivers/gpio/Kconfig
> @@ -492,14 +492,6 @@ config GPIO_PL061
>   	help
>   	  Say yes here to support the PrimeCell PL061 GPIO device.
>   
> -config GPIO_PMIC_EIC_SPRD
> -	tristate "Spreadtrum PMIC EIC support"
> -	depends on MFD_SC27XX_PMIC || COMPILE_TEST
> -	depends on OF_GPIO
> -	select GPIOLIB_IRQCHIP
> -	help
> -	  Say yes here to support Spreadtrum PMIC EIC device.
> -
>   config GPIO_PXA
>   	bool "PXA GPIO support"
>   	depends on ARCH_PXA || ARCH_MMP || COMPILE_TEST
> @@ -1310,6 +1302,14 @@ config GPIO_PALMAS
>   	  Select this option to enable GPIO driver for the TI PALMAS
>   	  series chip family.
>   
> +config GPIO_PMIC_EIC_SPRD
> +	tristate "Spreadtrum PMIC EIC support"
> +	depends on MFD_SC27XX_PMIC || COMPILE_TEST
> +	depends on OF_GPIO
> +	select GPIOLIB_IRQCHIP
> +	help
> +	  Say yes here to support Spreadtrum PMIC EIC device.
> +
>   config GPIO_RC5T583
>   	bool "RICOH RC5T583 GPIO"
>   	depends on MFD_RC5T583
Bartosz Golaszewski March 6, 2023, 9:51 a.m. UTC | #2
On Thu, Feb 16, 2023 at 10:19 AM Linus Walleij <linus.walleij@linaro.org> wrote:
>
> The Spreadtrum PMIC EIC interrupt controller is part of an
> MFD expander and should thus be in the MFD GPIO expander
> menu section with the rest. Move it.
>
> Cc: Cixi Geng <cixi.geng1@unisoc.com>
> Cc: Baolin Wang <baolin.wang@linux.alibaba.com>
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> ---

Applied, thanks!

Bart
diff mbox series

Patch

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index c9f3ef56eb24..58b742a50fe0 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -492,14 +492,6 @@  config GPIO_PL061
 	help
 	  Say yes here to support the PrimeCell PL061 GPIO device.
 
-config GPIO_PMIC_EIC_SPRD
-	tristate "Spreadtrum PMIC EIC support"
-	depends on MFD_SC27XX_PMIC || COMPILE_TEST
-	depends on OF_GPIO
-	select GPIOLIB_IRQCHIP
-	help
-	  Say yes here to support Spreadtrum PMIC EIC device.
-
 config GPIO_PXA
 	bool "PXA GPIO support"
 	depends on ARCH_PXA || ARCH_MMP || COMPILE_TEST
@@ -1310,6 +1302,14 @@  config GPIO_PALMAS
 	  Select this option to enable GPIO driver for the TI PALMAS
 	  series chip family.
 
+config GPIO_PMIC_EIC_SPRD
+	tristate "Spreadtrum PMIC EIC support"
+	depends on MFD_SC27XX_PMIC || COMPILE_TEST
+	depends on OF_GPIO
+	select GPIOLIB_IRQCHIP
+	help
+	  Say yes here to support Spreadtrum PMIC EIC device.
+
 config GPIO_RC5T583
 	bool "RICOH RC5T583 GPIO"
 	depends on MFD_RC5T583