[i.MX8MP][Android 11.0.0_2.2.0] MIPI DSI Panel [auo,g101uan02] porting fail

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

[i.MX8MP][Android 11.0.0_2.2.0] MIPI DSI Panel [auo,g101uan02] porting fail

Jump to solution
3,348 Views
TarkerHu
Contributor I

Hi,
I'was porting MIPI DSI Panel [auo,g101uan02] to [i.MX8MPLUS][Android 11.0.0_2.2.0]


I met errors:
[ 3.182138] imx_sec_dsim_drv 32e60000.mipi_dsi: Failed to attach bridge: 32e60000.mipi_dsi
[ 3.191186] imx_sec_dsim_drv 32e60000.mipi_dsi: failed to bind sec dsim bridge: -517

My device tree:
&mipi_dsi {
status = "okay";

panel@0 {
compatible = "auo,g101uan02";
reg = <0>;
status = "okay";
};
};


Could you give me suggestions to solve this problem?
Does this Panel [auo,g101uan02] need bridge?
Which Android CONFIGS must be enabled? or must be disabled?

 

 

=====
[ 3.182138] imx_sec_dsim_drv 32e60000.mipi_dsi: Failed to attach bridge: 32e60000.mipi_dsi
[ 3.191186] imx_sec_dsim_drv 32e60000.mipi_dsi: failed to bind sec dsim bridge: -517
[ 3.218759] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 3.225018] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[ 3.232361] imx_sec_dsim_drv 32e60000.mipi_dsi: Unbalanced pm_runtime_enable!
[ 3.233797] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe6c hci version 0x110 quirks 0x0000002001810010
[ 3.243091] imx-drm display-subsystem: bound imx-lcdifv3-crtc.0 (ops lcdifv3_crtc_ops [imx_lcdifv3_crtc])
[ 3.251377] xhci-hcd xhci-hcd.0.auto: irq 248, io mem 0x38200000
[ 3.261638] imx-drm display-subsystem: bound imx-lcdifv3-crtc.1 (ops lcdifv3_crtc_ops [imx_lcdifv3_crtc])
[ 3.268633] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[ 3.278734] imx-drm display-subsystem: bound imx-lcdifv3-crtc.2 (ops lcdifv3_crtc_ops [imx_lcdifv3_crtc])
[ 3.287563] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.287573] usb usb2: Product: xHCI Host Controller
[ 3.297903] imx_sec_dsim_drv 32e60000.mipi_dsi: version number is 0x1060200
[ 3.305832] usb usb2: Manufacturer: Linux 5.10.35-dirty xhci-hcd
[ 3.311553] panel-simple-dsi 32e60000.mipi_dsi.0: supply power not found, using dummy regulator
[ 3.319007] usb usb2: SerialNumber: xhci-hcd.0.auto
[ 3.319319] hub 2-0:1.0: USB hub found
[ 3.325893] panel-simple-dsi 32e60000.mipi_dsi.0: Specify missing connector_type
[ 3.335159] hub 2-0:1.0: 1 port detected
[ 3.340842] imx-drm display-subsystem: bound 32e60000.mipi_dsi (ops imx_sec_dsim_ops [sec_mipi_dsim_imx])
[ 3.345473] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 3.353375] imx8mp-ldb 32c00000.bus:ldb@32ec005c: failed to bind the drm bridge, error number -517
[ 3.357913] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 3
[ 3.373132] imx_sec_dsim_drv 32e60000.mipi_dsi: Unbalanced pm_runtime_enable!
[ 3.374391] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[ 3.386296] imx-drm display-subsystem: bound imx-lcdifv3-crtc.0 (ops lcdifv3_crtc_ops [imx_lcdifv3_crtc])

Labels (1)
0 Kudos
Reply
1 Solution
3,344 Views
igorpadykov
NXP Employee
NXP Employee

Hi Tarker

 

for new mipi-dsi panel one can use rm67191 driver, for custom panel modify timings in

struct drm_display_mode default_mode and initialization code in struct cmd_set_entry mcs_rm67191[] :

https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/gpu/drm/panel/panel-raydium-rm6719...

https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm64/boot/dts/freescale/imx8mp-evk-r...

 

Best regards
igor

View solution in original post

0 Kudos
Reply
2 Replies
3,345 Views
igorpadykov
NXP Employee
NXP Employee

Hi Tarker

 

for new mipi-dsi panel one can use rm67191 driver, for custom panel modify timings in

struct drm_display_mode default_mode and initialization code in struct cmd_set_entry mcs_rm67191[] :

https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/gpu/drm/panel/panel-raydium-rm6719...

https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm64/boot/dts/freescale/imx8mp-evk-r...

 

Best regards
igor

0 Kudos
Reply
3,339 Views
TarkerHu
Contributor I

Hi Igor,

Thank you for your suggestions. I'll try it.

By the way, for a new LVDS-LCD, could you also give me suggestions and tell me starting point?

Best,

Tarker

0 Kudos
Reply