Re: [PATCH 2/4] clk: thead: th1520-ap: Mark drivers as DM_FLAG_PRE_RELOC

Leo Liang
2025-09-18T10:01:15Z

On Wed, Aug 13, 2025 at 10:09:25AM +0000, Yao Zi wrote:
> 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>
> ---
> drivers/clk/thead/clk-th1520-ap.c | 3 +++
> 1 file changed, 3 insertions(+)

Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>