pinctrl: th1520: Mark driver as DM_FLAG_PRE_RELOC
authorYao Zi <ziyao@disroot.org>
Wed, 13 Aug 2025 10:09:26 +0000 (10:09 +0000)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Fri, 19 Sep 2025 11:03:57 +0000 (19:03 +0800)
commit9d8a4728e14eb3971652c30dc262312d5a544a4e
treec721ef86705b9819c55d765479b9f31c988055de
parentfbcf53680be59fd8144f865f8cfd840319cb5c0d
pinctrl: th1520: Mark driver as DM_FLAG_PRE_RELOC

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

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