summaryrefslogtreecommitdiff
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>2019-04-25 14:02:24 +0530
committerLinus Walleij <linus.walleij@linaro.org>2019-05-03 07:53:13 +0100
commit8293b3c6dafd4d7440eb0ddda3092008e169bf8b (patch)
tree4d866820b77c707d807d873af281b9ed7acce070 /drivers/pinctrl
parentc29ad3453648a7116036f666a09e06c2d10f629f (diff)
pinctrl: Rework Kconfig dependency for BM1880 pinctrl driver
Make the BM1880 SoC pinctrl driver depend on COMPILE_TEST to get compiler test coverage and also select this driver by default for ARCH_BITMAIN platform. Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r--drivers/pinctrl/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig
index c4ac4bf1e1e4..19d8af9a36a2 100644
--- a/drivers/pinctrl/Kconfig
+++ b/drivers/pinctrl/Kconfig
@@ -110,7 +110,8 @@ config PINCTRL_AMD
config PINCTRL_BM1880
bool "Bitmain BM1880 Pinctrl driver"
- depends on ARCH_BITMAIN
+ depends on OF && (ARCH_BITMAIN || COMPILE_TEST)
+ default ARCH_BITMAIN
select PINMUX
help
Pinctrl driver for Bitmain BM1880 SoC.