public inbox for linux-mediatek@lists.infradead.org
 help / color / mirror / Atom feed
* [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
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ 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] 5+ 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
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ 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] 5+ 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
  2026-01-12 10:29 ` Bartosz Golaszewski
  2026-01-23  1:46 ` Stephen Boyd
  3 siblings, 0 replies; 5+ 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] 5+ 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
@ 2026-01-12 10:29 ` Bartosz Golaszewski
  2026-01-23  1:46 ` Stephen Boyd
  3 siblings, 0 replies; 5+ messages in thread
From: Bartosz Golaszewski @ 2026-01-12 10:29 UTC (permalink / raw)
  To: Stephen Boyd
  Cc: Michael Turquette, Matthias Brugger, linux-clk, linux-kernel,
	linux-arm-kernel, linux-mediatek, Bartosz Golaszewski

On Mon, Dec 22, 2025 at 4:06 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>
> ---
>  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
>
>

Gentle ping.

Bartosz


^ permalink raw reply	[flat|nested] 5+ 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
                   ` (2 preceding siblings ...)
  2026-01-12 10:29 ` Bartosz Golaszewski
@ 2026-01-23  1:46 ` Stephen Boyd
  3 siblings, 0 replies; 5+ messages in thread
From: Stephen Boyd @ 2026-01-23  1:46 UTC (permalink / raw)
  To: Bartosz Golaszewski, Matthias Brugger, Michael Turquette
  Cc: linux-clk, linux-kernel, linux-arm-kernel, linux-mediatek,
	Bartosz Golaszewski

Quoting Bartosz Golaszewski (2025-12-22 08:02:35)
> 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>
> ---

Applied to clk-next


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-01-23  1:46 UTC | newest]

Thread overview: 5+ 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
2026-01-12 10:29 ` Bartosz Golaszewski
2026-01-23  1:46 ` Stephen Boyd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox