mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-17 10:46:33 +00:00
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>
This commit is contained in:
parent
69d0c060ac
commit
31d7b359a9
@ -1,9 +1,11 @@
|
|||||||
#
|
#
|
||||||
# MediaTek SoC drivers
|
# MediaTek SoC drivers
|
||||||
#
|
#
|
||||||
|
menu "MediaTek SoC drivers"
|
||||||
|
depends on ARCH_MEDIATEK || COMPILE_TEST
|
||||||
|
|
||||||
config MTK_INFRACFG
|
config MTK_INFRACFG
|
||||||
bool "MediaTek INFRACFG Support"
|
bool "MediaTek INFRACFG Support"
|
||||||
depends on ARCH_MEDIATEK || COMPILE_TEST
|
|
||||||
select REGMAP
|
select REGMAP
|
||||||
help
|
help
|
||||||
Say yes here to add support for the MediaTek INFRACFG controller. The
|
Say yes here to add support for the MediaTek INFRACFG controller. The
|
||||||
@ -12,7 +14,6 @@ config MTK_INFRACFG
|
|||||||
|
|
||||||
config MTK_PMIC_WRAP
|
config MTK_PMIC_WRAP
|
||||||
tristate "MediaTek PMIC Wrapper Support"
|
tristate "MediaTek PMIC Wrapper Support"
|
||||||
depends on ARCH_MEDIATEK
|
|
||||||
depends on RESET_CONTROLLER
|
depends on RESET_CONTROLLER
|
||||||
select REGMAP
|
select REGMAP
|
||||||
help
|
help
|
||||||
@ -22,7 +23,6 @@ config MTK_PMIC_WRAP
|
|||||||
|
|
||||||
config MTK_SCPSYS
|
config MTK_SCPSYS
|
||||||
bool "MediaTek SCPSYS Support"
|
bool "MediaTek SCPSYS Support"
|
||||||
depends on ARCH_MEDIATEK || COMPILE_TEST
|
|
||||||
default ARCH_MEDIATEK
|
default ARCH_MEDIATEK
|
||||||
select REGMAP
|
select REGMAP
|
||||||
select MTK_INFRACFG
|
select MTK_INFRACFG
|
||||||
@ -30,3 +30,5 @@ config MTK_SCPSYS
|
|||||||
help
|
help
|
||||||
Say yes here to add support for the MediaTek SCPSYS power domain
|
Say yes here to add support for the MediaTek SCPSYS power domain
|
||||||
driver.
|
driver.
|
||||||
|
|
||||||
|
endmenu
|
||||||
|
Loading…
x
Reference in New Issue
Block a user