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

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

From: Ricardo Ribalda <hidden>
Date: 2026-08-31 09:06:37
Also in: linux-clk, linux-mediatek, lkml, stable

Hi Chen-Yu

On Mon, 31 Aug 2026 at 11:03, Chen-Yu Tsai [off-list ref] wrote:
On Mon, Aug 31, 2026 at 4:50 PM Ricardo Ribalda [off-list ref] wrote:
quoted
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.
It was triggered by media-ci.
https://gitlab.freedesktop.org/linux-media/users/hverkuil/-/pipelines/1736835/test_report?job_name=configs

A way to repro is:
make allyesconfig
scripts/config -d OF
make olddefconfig
quoted
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!


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