clk: mediatek: mt2712: Change Kconfig options to allow module build

All of the mt2712 drivers have been converted to platform drivers!
Change the Kconfig options for all MT2712 clocks to tristate to allow
building all clock drivers as modules.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
Link: https://lore.kernel.org/r/20230306140543.1813621-39-angelogioacchino.delregno@collabora.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
This commit is contained in:
AngeloGioacchino Del Regno 2023-03-06 15:05:27 +01:00 committed by Stephen Boyd
parent a451da86cf
commit 650fcdf918
1 changed files with 8 additions and 8 deletions

View File

@ -75,7 +75,7 @@ config COMMON_CLK_MT2701_G3DSYS
This driver supports MediaTek MT2701 g3dsys clocks. This driver supports MediaTek MT2701 g3dsys clocks.
config COMMON_CLK_MT2712 config COMMON_CLK_MT2712
bool "Clock driver for MediaTek MT2712" tristate "Clock driver for MediaTek MT2712"
depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
select COMMON_CLK_MEDIATEK select COMMON_CLK_MEDIATEK
default ARCH_MEDIATEK && ARM64 default ARCH_MEDIATEK && ARM64
@ -83,43 +83,43 @@ config COMMON_CLK_MT2712
This driver supports MediaTek MT2712 basic clocks. This driver supports MediaTek MT2712 basic clocks.
config COMMON_CLK_MT2712_BDPSYS config COMMON_CLK_MT2712_BDPSYS
bool "Clock driver for MediaTek MT2712 bdpsys" tristate "Clock driver for MediaTek MT2712 bdpsys"
depends on COMMON_CLK_MT2712 depends on COMMON_CLK_MT2712
help help
This driver supports MediaTek MT2712 bdpsys clocks. This driver supports MediaTek MT2712 bdpsys clocks.
config COMMON_CLK_MT2712_IMGSYS config COMMON_CLK_MT2712_IMGSYS
bool "Clock driver for MediaTek MT2712 imgsys" tristate "Clock driver for MediaTek MT2712 imgsys"
depends on COMMON_CLK_MT2712 depends on COMMON_CLK_MT2712
help help
This driver supports MediaTek MT2712 imgsys clocks. This driver supports MediaTek MT2712 imgsys clocks.
config COMMON_CLK_MT2712_JPGDECSYS config COMMON_CLK_MT2712_JPGDECSYS
bool "Clock driver for MediaTek MT2712 jpgdecsys" tristate "Clock driver for MediaTek MT2712 jpgdecsys"
depends on COMMON_CLK_MT2712 depends on COMMON_CLK_MT2712
help help
This driver supports MediaTek MT2712 jpgdecsys clocks. This driver supports MediaTek MT2712 jpgdecsys clocks.
config COMMON_CLK_MT2712_MFGCFG config COMMON_CLK_MT2712_MFGCFG
bool "Clock driver for MediaTek MT2712 mfgcfg" tristate "Clock driver for MediaTek MT2712 mfgcfg"
depends on COMMON_CLK_MT2712 depends on COMMON_CLK_MT2712
help help
This driver supports MediaTek MT2712 mfgcfg clocks. This driver supports MediaTek MT2712 mfgcfg clocks.
config COMMON_CLK_MT2712_MMSYS config COMMON_CLK_MT2712_MMSYS
bool "Clock driver for MediaTek MT2712 mmsys" tristate "Clock driver for MediaTek MT2712 mmsys"
depends on COMMON_CLK_MT2712 depends on COMMON_CLK_MT2712
help help
This driver supports MediaTek MT2712 mmsys clocks. This driver supports MediaTek MT2712 mmsys clocks.
config COMMON_CLK_MT2712_VDECSYS config COMMON_CLK_MT2712_VDECSYS
bool "Clock driver for MediaTek MT2712 vdecsys" tristate "Clock driver for MediaTek MT2712 vdecsys"
depends on COMMON_CLK_MT2712 depends on COMMON_CLK_MT2712
help help
This driver supports MediaTek MT2712 vdecsys clocks. This driver supports MediaTek MT2712 vdecsys clocks.
config COMMON_CLK_MT2712_VENCSYS config COMMON_CLK_MT2712_VENCSYS
bool "Clock driver for MediaTek MT2712 vencsys" tristate "Clock driver for MediaTek MT2712 vencsys"
depends on COMMON_CLK_MT2712 depends on COMMON_CLK_MT2712
help help
This driver supports MediaTek MT2712 vencsys clocks. This driver supports MediaTek MT2712 vencsys clocks.