* [PATCH] clk: mediatek: don't select clk-mt8192 for all ARM64 builds
@ 2025-12-22 15:02 Bartosz Golaszewski
2025-12-22 18:09 ` Brian Masney
2025-12-23 3:19 ` Chen-Yu Tsai
0 siblings, 2 replies; 3+ messages in thread
From: Bartosz Golaszewski @ 2025-12-22 15:02 UTC (permalink / raw)
To: Michael Turquette, Stephen Boyd, Matthias Brugger
Cc: linux-clk, linux-kernel, linux-arm-kernel, linux-mediatek,
Bartosz Golaszewski
This option defaults to y for ARCH64 meaning it's built even if we don't
want anything related to mediatek. Make the default condition stricter
and only build it if ARCH_MEDIATEK is selected.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
---
drivers/clk/mediatek/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/mediatek/Kconfig b/drivers/clk/mediatek/Kconfig
index 0e8dd82aa84e..2c09fd729bab 100644
--- a/drivers/clk/mediatek/Kconfig
+++ b/drivers/clk/mediatek/Kconfig
@@ -820,7 +820,7 @@ config COMMON_CLK_MT8192
depends on ARM64 || COMPILE_TEST
select COMMON_CLK_MEDIATEK
select COMMON_CLK_MEDIATEK_FHCTL
- default ARM64
+ default ARM64 && ARCH_MEDIATEK
help
This driver supports MediaTek MT8192 basic clocks.
--
2.47.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] clk: mediatek: don't select clk-mt8192 for all ARM64 builds
2025-12-22 15:02 [PATCH] clk: mediatek: don't select clk-mt8192 for all ARM64 builds Bartosz Golaszewski
@ 2025-12-22 18:09 ` Brian Masney
2025-12-23 3:19 ` Chen-Yu Tsai
1 sibling, 0 replies; 3+ messages in thread
From: Brian Masney @ 2025-12-22 18:09 UTC (permalink / raw)
To: Bartosz Golaszewski
Cc: Michael Turquette, Stephen Boyd, Matthias Brugger, linux-clk,
linux-kernel, linux-arm-kernel, linux-mediatek
On Mon, Dec 22, 2025 at 04:02:35PM +0100, Bartosz Golaszewski wrote:
> This option defaults to y for ARCH64 meaning it's built even if we don't
> want anything related to mediatek. Make the default condition stricter
> and only build it if ARCH_MEDIATEK is selected.
>
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Reviewed-by: Brian Masney <bmasney@redhat.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] clk: mediatek: don't select clk-mt8192 for all ARM64 builds
2025-12-22 15:02 [PATCH] clk: mediatek: don't select clk-mt8192 for all ARM64 builds Bartosz Golaszewski
2025-12-22 18:09 ` Brian Masney
@ 2025-12-23 3:19 ` Chen-Yu Tsai
1 sibling, 0 replies; 3+ messages in thread
From: Chen-Yu Tsai @ 2025-12-23 3:19 UTC (permalink / raw)
To: Bartosz Golaszewski
Cc: Michael Turquette, Stephen Boyd, Matthias Brugger, linux-clk,
linux-kernel, linux-arm-kernel, linux-mediatek
On Mon, Dec 22, 2025 at 11:02 PM Bartosz Golaszewski
<bartosz.golaszewski@oss.qualcomm.com> wrote:
>
> This option defaults to y for ARCH64 meaning it's built even if we don't
> want anything related to mediatek. Make the default condition stricter
> and only build it if ARCH_MEDIATEK is selected.
>
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-12-23 3:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-22 15:02 [PATCH] clk: mediatek: don't select clk-mt8192 for all ARM64 builds Bartosz Golaszewski
2025-12-22 18:09 ` Brian Masney
2025-12-23 3:19 ` Chen-Yu Tsai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).