pinctrl: msm: Update Kconfig for PINCTRL_MSM8X74
authorBjorn Andersson <bjorn.andersson@sonymobile.com>
Sun, 15 Dec 2013 06:44:33 +0000 (22:44 -0800)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 16 Dec 2013 09:29:25 +0000 (10:29 +0100)
Add GPIOLIB and OF as dependencies for PINCTRL_MSM8X74, to fix
build errors from i386-randconfig.
Also add help text and make the entries tristate, while touching
these entries.

Cc: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
[Rebased on top of pin control development branch]
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/Kconfig

index ad58e7efe1d53167e122cc52a9a1d2446b5ded86..5c35d0db59e219ec752920d4cee3e67546a7e46e 100644 (file)
@@ -204,15 +204,18 @@ config PINCTRL_IMX28
        select PINCTRL_MXS
 
 config PINCTRL_MSM
-       bool
+       tristate
        select PINMUX
        select PINCONF
        select GENERIC_PINCONF
 
 config PINCTRL_MSM8X74
-       bool "Qualcomm 8x74 pin controller driver"
-       depends on OF && OF_IRQ
+       tristate "Qualcomm 8x74 pin controller driver"
+       depends on GPIOLIB && OF && OF_IRQ
        select PINCTRL_MSM
+       help
+         This is the pinctrl, pinmux, pinconf and gpiolib driver for the
+         Qualcomm TLMM block found in the Qualcomm 8974 platform.
 
 config PINCTRL_NOMADIK
        bool "Nomadik pin controller driver"