]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
pinctrl: qcom: ipq4019: enable DM_FLAG_PRE_RELOC
authorRobert Marko <robert.marko@sartura.hr>
Mon, 22 Apr 2024 11:43:27 +0000 (13:43 +0200)
committerCaleb Connolly <caleb.connolly@linaro.org>
Tue, 23 Apr 2024 11:29:20 +0000 (13:29 +0200)
If compiled with logging and debug UART support, the following is printed:
serial_msm serial@78af000: pinctrl_select_state_full: uclass_get_device_by_phandle_id: err=-19

This is due to the fact that IPQ4019 pinctrl driver is not available prior
to relocation and thus MSM serial will fail probing as pinctrl provider is
not available.

So, lets enable DM_FLAG_PRE_RELOC for IPQ4019 pinctrl to fix this.

Signed-off-by: Robert Marko <robert.marko@sartura.hr>
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
drivers/pinctrl/qcom/pinctrl-ipq4019.c

index 4fcc4b18101e9b78c49fd0f3c8b8937f43fa6820..48644a51aec43658fcbd44ac52ab18a144f8fb9b 100644 (file)
@@ -68,4 +68,5 @@ U_BOOT_DRIVER(pinctrl_ipq4019) = {
        .of_match       = msm_pinctrl_ids,
        .ops            = &msm_pinctrl_ops,
        .bind           = msm_pinctrl_bind,
+       .flags          = DM_FLAG_PRE_RELOC,
 };