imx8m: Failed to attach bridge

Fabio Estevam festevam at gmail.com
Mon Sep 14 13:57:10 UTC 2020


On Mon, Sep 14, 2020 at 10:52 AM Fabio Estevam <festevam at gmail.com> wrote:
>
> Hi Martin and Guido,
>
> I am trying to get MIPI DSI panel to work on an imx8mq-evk board.
>
> Here are the changes I did against linux-next 20200914 following what
> was done on imx8mq-librem5-devkit.dts:
> https://pastebin.com/raw/GXazRyNx
>
> The config I am using is this one:
> https://pastebin.com/raw/UGAjTQyg
>
> This is what I see in dmesg:
>
> [    1.666974] mxsfb 30320000.lcd-controller: [drm:mxsfb_probe]
> *ERROR* failed to attach bridge: -517
> [    1.667309] sdhci-esdhc-imx 30b50000.mmc: Got CD GPIO
> [    1.675977] mxsfb 30320000.lcd-controller: Cannot connect bridge: -517
> [    1.689620] mxsfb 30320000.lcd-controller: [drm:mxsfb_probe]
> *ERROR* failed to attach bridge: -517
> [    1.692019] mmc0: SDHCI controller on 30b40000.mmc [30b40000.mmc] using ADMA
> [    1.698606] mxsfb 30320000.lcd-controller: Cannot connect bridge: -517
> [    1.711321] mmc1: SDHCI controller on 30b50000.mmc [30b50000.mmc] using ADMA
> [    1.721418] mxsfb 30320000.lcd-controller: [drm:mxsfb_probe]
> *ERROR* failed to attach bridge: -517
> [    1.730422] mxsfb 30320000.lcd-controller: Cannot connect bridge: -517
>
> Any ideas as to what I am missing?

Nevermind. I got it to work. The 'dsi-lanes' property for the panel was missing.

I will submit a patch later.

Thanks


More information about the dri-devel mailing list