Re: imx8m: Failed to attach bridge

2020-09-14 Thread Fabio Estevam
On Mon, Sep 14, 2020 at 10:52 AM Fabio Estevam  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 3032.lcd-controller: [drm:mxsfb_probe]
> *ERROR* failed to attach bridge: -517
> [1.667309] sdhci-esdhc-imx 30b5.mmc: Got CD GPIO
> [1.675977] mxsfb 3032.lcd-controller: Cannot connect bridge: -517
> [1.689620] mxsfb 3032.lcd-controller: [drm:mxsfb_probe]
> *ERROR* failed to attach bridge: -517
> [1.692019] mmc0: SDHCI controller on 30b4.mmc [30b4.mmc] using 
> ADMA
> [1.698606] mxsfb 3032.lcd-controller: Cannot connect bridge: -517
> [1.711321] mmc1: SDHCI controller on 30b5.mmc [30b5.mmc] using 
> ADMA
> [1.721418] mxsfb 3032.lcd-controller: [drm:mxsfb_probe]
> *ERROR* failed to attach bridge: -517
> [1.730422] mxsfb 3032.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
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


imx8m: Failed to attach bridge

2020-09-14 Thread Fabio Estevam
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 3032.lcd-controller: [drm:mxsfb_probe]
*ERROR* failed to attach bridge: -517
[1.667309] sdhci-esdhc-imx 30b5.mmc: Got CD GPIO
[1.675977] mxsfb 3032.lcd-controller: Cannot connect bridge: -517
[1.689620] mxsfb 3032.lcd-controller: [drm:mxsfb_probe]
*ERROR* failed to attach bridge: -517
[1.692019] mmc0: SDHCI controller on 30b4.mmc [30b4.mmc] using ADMA
[1.698606] mxsfb 3032.lcd-controller: Cannot connect bridge: -517
[1.711321] mmc1: SDHCI controller on 30b5.mmc [30b5.mmc] using ADMA
[1.721418] mxsfb 3032.lcd-controller: [drm:mxsfb_probe]
*ERROR* failed to attach bridge: -517
[1.730422] mxsfb 3032.lcd-controller: Cannot connect bridge: -517

Any ideas as to what I am missing?

Thanks,

Fabio Estevam
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel