Thread (4 messages) flat view 4 messages, 3 authors, 6d ago

Re: [PATCH] clk: mediatek: Add missing depend for COMMON_CLK_MT8173

From: Chen-Yu Tsai <wenst@chromium.org>
Date: 2026-08-31 09:03:17
Also in: linux-clk, linux-mediatek, lkml, stable

On Mon, Aug 31, 2026 at 4:50 PM Ricardo Ribalda [off-list ref] wrote:
PM_GENERIC_DOMAINS_OF depends on OF, by adding a select to it without
adding a depend on OF, the following warning is triggered:

WARNING: unmet direct dependencies detected for PM_GENERIC_DOMAINS_OF
  Depends on [n]: PM_GENERIC_DOMAINS [=y] && OF [=n]
  Selected by [y]:
  - COMMON_CLK_MT8173_MFGTOP [=y] && COMMON_CLK [=y] && (ARCH_MEDIATEK || COMPILE_TEST [=y]) && COMMON_CLK_MT8173 [=y] && PM [=y]
I guess this happens on COMPILE_TEST=y with !OF architectures.
This patch explicitly adds a dependency on OF to solve this issue.

Cc: stable@vger.kernel.org
Fixes: ebd0b73d2137 ("clk: mediatek: Add mt8173-mfgtop driver")
Signed-off-by: Ricardo Ribalda <redacted>
Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>

Thanks!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help