Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clk: mediatek: Kconfig: Allow module build for core mt8192 clocks

Bootloaders must in a way setup the SoC to boot Linux: this means
that it will be possible to decompress a ramdisk and eventually
insert the core clock driver module from there.
Allow module build for all MT8192 clocks by switching to tristate.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
Tested-by: Miles Chen <miles.chen@mediatek.com>
Tested-by: Chen-Yu Tsai <wenst@chromium.org>
Link: https://lore.kernel.org/r/20230306140543.1813621-49-angelogioacchino.delregno@collabora.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

AngeloGioacchino Del Regno and committed by
Stephen Boyd
9bfa4fb1 124294ff

+1 -1
+1 -1
drivers/clk/mediatek/Kconfig
··· 682 682 This driver supports MediaTek MT8186 vencsys clocks. 683 683 684 684 config COMMON_CLK_MT8192 685 - bool "Clock driver for MediaTek MT8192" 685 + tristate "Clock driver for MediaTek MT8192" 686 686 depends on ARM64 || COMPILE_TEST 687 687 select COMMON_CLK_MEDIATEK 688 688 default ARM64