1 From 21501b17e017cb10f1a64a73e62e3e2e91a52efa Mon Sep 17 00:00:00 2001
2 From: Sean Wang <sean.wang@mediatek.com>
3 Date: Thu, 5 Oct 2017 11:17:49 +0800
4 Subject: [PATCH 123/224] soc: mediatek: place Kconfig for all SoC drivers
7 Add cleanup for placing all Kconfig for all MediaTek SoC drivers under
8 the independent menu as other SoCs vendor usually did. Since the menu
9 would be shown depending on "ARCH_MEDIATEK || COMPILE_TEST" selected and
10 MTK_PMIC_WRAP is still safe compiling with the case of "COMPILE_TEST"
11 only, the superfluous dependency for those items under the menu also is
12 also being removed for the sake of simplicity.
14 Signed-off-by: Sean Wang <sean.wang@mediatek.com>
15 Reviewed-by: Jean Delvare <jdelvare@suse.de>
16 Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
18 drivers/soc/mediatek/Kconfig | 8 +++++---
19 1 file changed, 5 insertions(+), 3 deletions(-)
21 --- a/drivers/soc/mediatek/Kconfig
22 +++ b/drivers/soc/mediatek/Kconfig
25 # MediaTek SoC drivers
27 +menu "MediaTek SoC drivers"
28 + depends on ARCH_MEDIATEK || COMPILE_TEST
31 bool "MediaTek INFRACFG Support"
32 - depends on ARCH_MEDIATEK || COMPILE_TEST
35 Say yes here to add support for the MediaTek INFRACFG controller. The
36 @@ -12,7 +14,6 @@ config MTK_INFRACFG
39 tristate "MediaTek PMIC Wrapper Support"
40 - depends on ARCH_MEDIATEK
41 depends on RESET_CONTROLLER
44 @@ -22,7 +23,6 @@ config MTK_PMIC_WRAP
47 bool "MediaTek SCPSYS Support"
48 - depends on ARCH_MEDIATEK || COMPILE_TEST
52 @@ -30,3 +30,5 @@ config MTK_SCPSYS
54 Say yes here to add support for the MediaTek SCPSYS power domain