arm64: remove select PINCTRL_ROCKCHIP from ARCH_ROCKCHIP
authorJianqun Xu <jay.xu@rock-chips.com>
Fri, 5 Mar 2021 00:39:06 +0000 (08:39 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 15 Mar 2021 15:36:44 +0000 (16:36 +0100)
Prepare to make pinctrl driver of rockchip to be module able, this patch
remove the select of PINCTRL_ROCKCHIP from ARCH_ROCKCHIP.

Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Link: https://lore.kernel.org/r/20210305003907.1692515-2-jay.xu@rock-chips.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm64/Kconfig.platforms
drivers/pinctrl/Kconfig

index cdfd5fed457ff094d297a27bde3e2ca1fe33d321..7efa42e16d8423c890f61b7f7889cdb71ef1264c 100644 (file)
@@ -235,9 +235,7 @@ config ARCH_RENESAS
 config ARCH_ROCKCHIP
        bool "Rockchip Platforms"
        select ARCH_HAS_RESET_CONTROLLER
-       select GPIOLIB
        select PINCTRL
-       select PINCTRL_ROCKCHIP
        select PM
        select ROCKCHIP_TIMER
        help
index b7675cce0027b3f9bc5713f662049bc1511170ca..439a02890ef7c1246fd745e0d8ef6a291542801b 100644 (file)
@@ -210,11 +210,15 @@ config PINCTRL_OXNAS
 config PINCTRL_ROCKCHIP
        bool
        depends on OF
+       select GPIOLIB
        select PINMUX
        select GENERIC_PINCONF
        select GENERIC_IRQ_CHIP
        select MFD_SYSCON
        select OF_GPIO
+       default ARCH_ROCKCHIP
+       help
+          This support pinctrl and gpio driver for Rockchip SoCs.
 
 config PINCTRL_SINGLE
        tristate "One-register-per-pin type device tree based pinctrl driver"