aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Wang <sean.wang@mediatek.com>2017-10-04 23:17:49 -0400
committerMatthias Brugger <matthias.bgg@gmail.com>2017-10-20 06:08:01 -0400
commit31d7b359a94b8c96e54c6e3b438e6c7b65b9acb1 (patch)
treeeb71c5c5512e8acbf882012826d621db07e8d27b
parent69d0c060ac0cf61f25b35fb2c222c78168d04658 (diff)
soc: mediatek: place Kconfig for all SoC drivers under menu
Add cleanup for placing all Kconfig for all MediaTek SoC drivers under the independent menu as other SoCs vendor usually did. Since the menu would be shown depending on "ARCH_MEDIATEK || COMPILE_TEST" selected and MTK_PMIC_WRAP is still safe compiling with the case of "COMPILE_TEST" only, the superfluous dependency for those items under the menu also is also being removed for the sake of simplicity. Signed-off-by: Sean Wang <sean.wang@mediatek.com> Reviewed-by: Jean Delvare <jdelvare@suse.de> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
-rw-r--r--drivers/soc/mediatek/Kconfig8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/soc/mediatek/Kconfig b/drivers/soc/mediatek/Kconfig
index 609bb3424c14..a7d0667338f2 100644
--- a/drivers/soc/mediatek/Kconfig
+++ b/drivers/soc/mediatek/Kconfig
@@ -1,9 +1,11 @@
1# 1#
2# MediaTek SoC drivers 2# MediaTek SoC drivers
3# 3#
4menu "MediaTek SoC drivers"
5 depends on ARCH_MEDIATEK || COMPILE_TEST
6
4config MTK_INFRACFG 7config MTK_INFRACFG
5 bool "MediaTek INFRACFG Support" 8 bool "MediaTek INFRACFG Support"
6 depends on ARCH_MEDIATEK || COMPILE_TEST
7 select REGMAP 9 select REGMAP
8 help 10 help
9 Say yes here to add support for the MediaTek INFRACFG controller. The 11 Say yes here to add support for the MediaTek INFRACFG controller. The
@@ -12,7 +14,6 @@ config MTK_INFRACFG
12 14
13config MTK_PMIC_WRAP 15config MTK_PMIC_WRAP
14 tristate "MediaTek PMIC Wrapper Support" 16 tristate "MediaTek PMIC Wrapper Support"
15 depends on ARCH_MEDIATEK
16 depends on RESET_CONTROLLER 17 depends on RESET_CONTROLLER
17 select REGMAP 18 select REGMAP
18 help 19 help
@@ -22,7 +23,6 @@ config MTK_PMIC_WRAP
22 23
23config MTK_SCPSYS 24config MTK_SCPSYS
24 bool "MediaTek SCPSYS Support" 25 bool "MediaTek SCPSYS Support"
25 depends on ARCH_MEDIATEK || COMPILE_TEST
26 default ARCH_MEDIATEK 26 default ARCH_MEDIATEK
27 select REGMAP 27 select REGMAP
28 select MTK_INFRACFG 28 select MTK_INFRACFG
@@ -30,3 +30,5 @@ config MTK_SCPSYS
30 help 30 help
31 Say yes here to add support for the MediaTek SCPSYS power domain 31 Say yes here to add support for the MediaTek SCPSYS power domain
32 driver. 32 driver.
33
34endmenu