This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Connect DSI Display to Tinkerboard
#1
Hi there

Im trying to connect a DSI-Display to the Tinkerboard S.
Unfortunately im not successfull.

Here is what i have already tried:

In the Devicetree i replaced this section:

Code:
&dsi0{
   status = "okay";
   mipi_panel: mipi-panel {
       compatible ="asus,tc358762";
       reg = <0>;
       status = "okay";
   };
};

With this:

Code:
&dsi0{
   status = "okay";
   rockchip,lane-rate = <1000>;
   dsi_panel: panel@0 {
       status = "okay";
       compatible = "simple-panel-dsi";
       reg = <0>;
       reset-gpios = <&gpio8 RK_PA4 GPIO_ACTIVE_HIGH>; /* GPIO8_A4 */
       enable-gpios = <&gpio8 RK_PA5 GPIO_ACTIVE_HIGH>; /* GPIO8_A5 */
       reset-delay-ms = <10>;
       enable-delay-ms = <60>;
       prepare-delay-ms = <60>;
       unprepare-delay-ms = <60>;
       disable-delay-ms = <60>;
       dsi,flags = <(MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST | MIPI_DSI_MODE_VIDEO_SYNC_PULSE)>;
    dsi,format = <MIPI_DSI_FMT_RGB888>;
       dsi,lanes  = <2>;
       panel-init-sequence = [
           05 00 02 B2 50
           05 00 02 80 8B
           05 00 02 81 78
           05 00 02 82 84
           05 00 02 83 88
           05 00 02 84 A8
           05 00 02 85 E3
           05 00 02 86 88
       ];
       panel-exit-sequence = [
           05 05 01 28
           05 78 01 10
       ];

       disp_timings: display-timings {
           native-mode = <&timing0>;
           timing0: timing0 {
               clock-frequency = <120000000>;
               hactive = <1088>; /* default 1080, but afbdc must 16 align */
               hfront-porch = <104>;
               hback-porch = <127>;
               hsync-len = <4>; /////
               vactive = <1920>;
               vfront-porch = <4>;
               vback-porch = <3>;
               vsync-len = <2>; /////
               hsync-active = <0>;
               vsync-active = <0>;
               de-active = <0>;
               pixelclk-active = <0>;
           };
       };
   };
};


This gives me the following kernel output:

Code:
[    4.681447] ff960000.dsi.0 supply power not found, using dummy regulator
[    4.681471] panel-simple-dsi ff960000.dsi.0: GPIO lookup for consumer enable
[    4.681474] panel-simple-dsi ff960000.dsi.0: using device tree for GPIO lookup
[    4.681488] of_get_named_gpiod_flags: parsed 'enable-gpios' property of node '/dsi@ff960000/panel@0[0]' - status (0)
[    4.681496] no flags found for enable
[    4.681499] panel-simple-dsi ff960000.dsi.0: GPIO lookup for consumer reset
[    4.681501] panel-simple-dsi ff960000.dsi.0: using device tree for GPIO lookup
[    4.681511] of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/dsi@ff960000/panel@0[0]' - status (0)
[    4.681515] no flags found for reset
[    4.681576] rockchip-drm display-subsystem: devfreq is not set
[    4.682014] rockchip-drm display-subsystem: bound ff940000.vop (ops 0xc0e75f88)
[    4.682306] rockchip-drm display-subsystem: bound ff930000.vop (ops 0xc0e75f88)
[    4.682331] uncommented section....
[    4.682361] rockchip-drm display-subsystem: bound ff960000.dsi (ops 0xc0ec43b4)
[    4.682543] i2c i2c-6: of_i2c: modalias failure on /hdmi@ff980000/ports
[    4.682555] dwhdmi-rockchip ff980000.hdmi: registered DesignWare HDMI I2C bus driver
[    4.682594] dwhdmi-rockchip ff980000.hdmi: Detected HDMI TX controller v2.00a with HDCP (DWC MHL PHY)
[    4.683296] rockchip-drm display-subsystem: bound ff980000.hdmi (ops 0xc0e6f3d0)
[    4.683299] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    4.683300] [drm] No driver support for vblank timestamp query.
[    4.683366] rockchip-drm display-subsystem: failed to parse display resources
[    4.738753] mmc1: MAN_BKOPS_EN bit is not set


And this:

Code:
[    2.099532] rk-vcodec ff9a0000.vpu-service: drm allocator with mmu enabled
[    2.101748] rk-vcodec ff9c0000.hevc-service: drm allocator with mmu enabled
[    3.485823] [drm] Initialized drm 1.1.0 20060810
[    3.495253] [drm] Rockchip DRM driver version: v1.0.1
[    4.681576] rockchip-drm display-subsystem: devfreq is not set
[    4.682014] rockchip-drm display-subsystem: bound ff940000.vop (ops 0xc0e75f88)
[    4.682306] rockchip-drm display-subsystem: bound ff930000.vop (ops 0xc0e75f88)
[    4.682361] rockchip-drm display-subsystem: bound ff960000.dsi (ops 0xc0ec43b4)
[    4.683296] rockchip-drm display-subsystem: bound ff980000.hdmi (ops 0xc0e6f3d0)
[    4.683299] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    4.683300] [drm] No driver support for vblank timestamp query.
[    4.683366] rockchip-drm display-subsystem: failed to parse display resources
[    5.732766] rockchip-vop ff940000.vop: [drm:vop_crtc_enable] Update mode to 1088x1920p47, type: 16
[    6.126076] rockchip-drm display-subsystem: fb0:  frame buffer device

The Reset.Pin of the display gets pulled low. But will never get back to high.
Therefore i have tried to manually release the Reset before the start of the DRM section.
No luck, the display dont show anythuing.

I am using Armbian with legacy kernel 4.4.211

Im very happy about every single piece of information. Im trying to get this display up and running since 10 days now.
I can also switch to the tinkerOS if necessary...

Thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)