clk: thead: th1520-ap: Mark drivers as DM_FLAG_PRE_RELOC
authorYao Zi <ziyao@disroot.org>
Wed, 13 Aug 2025 10:09:25 +0000 (10:09 +0000)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Fri, 19 Sep 2025 11:03:57 +0000 (19:03 +0800)
commitfbcf53680be59fd8144f865f8cfd840319cb5c0d
treef8b95f057764b8e0aca6ebf69f1a91d8375902de
parent707e465cb1caab150997848d037cc6fb3f3ca861
clk: thead: th1520-ap: Mark drivers as DM_FLAG_PRE_RELOC

It's common that UARTs are bound and probed before U-Boot relocation,
in which case the clocks of UART and UART's pincontroller must be
registered first. Let's apply DM_FLAG_PRE_RELOC to the driver, allowing
it to bind before relocation.

Signed-off-by: Yao Zi <ziyao@disroot.org>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
drivers/clk/thead/clk-th1520-ap.c