This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to realize dual display on the DRA745 customer board ?

Other Parts Discussed in Thread: TLC59108

Hi :

       I want to display simultaneously  dual  LCD1 and LCD2  with the same source , LCD1 signal is from DR745 Vout1 pin ,LCD2 signal is from Vout3 Pin via FPD3 cable,  set CONFIG_DRM_OMAP_NUM_CRTCS=2 , only one LCD can work if  I enable display0 or display1 at DTS file ,  but two display  are enable, log show error information : 44000000.ocp:L3 Standard Error: MASTER MPU TARGET DSS (Read): At Address: 0x00001630 : Data Access in User mode during Functional acces. both do not work.

 How can I resolve this issue? and expect your answer ,thank you!

DTS part file:

/ {  aliases  {  

              display0 = &max9263;  

               //display1 = &tlc59108;  

 };

};

#if 0

/* 7" display and tsc hooked to i2c1 */

&i2c1 {

          /* TLC chip for LCD panel power and backlight */

            tlc59108: tlc59108@40 {  

            compatible = "ti,tlc59108-tfcs9700";

             reg = <0x40>;

         /* Display timings setting */

             x_res = <1920>;

            y_res = <720>;   

          pixelclock = <96000000>;

           hfp = <60>;  

           hsw = <8>;   

             hbp = <16>;   

             vfp = <64>;

             vsw = <7>;   

              vbp = <8>;  

             port@lcd {  

                      tlc_in: endpoint {  

                      remote-endpoint = <&dpi_out>;  

                      };

               };

     };

};

&dss {

     ports {

         #address-cells = <1>;

         #size-cells = <0>;

             /* VOUT1 */

             port@lcd {   

                reg = <0>;

                 dpi_out: endpoint {

                     remote-endpoint = <&tlc_in>;  

                     data-lines = <24>;   

                   };  

           };

        };

      };

#else

&i2c1 {

          max9263: tlc59108@40 {

                          compatible = "ti,tlc59108-lp101";

                         reg = <0x40>;

             /* Display timings setting */  

                       x_res = <800>;  

                       y_res = <480>;  

                      pixelclock = <33300000>;  

                        hfp = <158>;  

                        hsw = <10>;

                         hbp = <88>;

                         vfp = <10>;  

                         vsw = <3>;  

                         vbp = <32>;

                          port@lcd3 {   

                                lvds_in: endpoint {  

                                           remote-endpoint = <&lvds_out>;   

                                };

                       };

                 };

};

&dss { 

          ports {  

               #address-cells = <1>;

                 #size-cells = <0>;

                  /* VOUT3 */

                    port@lcd3 {  

                                reg = <2>;

                                 lvds_out: endpoint {

                                        remote-endpoint = <&lvds_in>;  

                                         data-lines = <24>;  

                                };  

                          };

                      };

    };

#endif

 

 

  • Hello,

    Please check this thread:
    e2e.ti.com/.../1974055

    Hope this helps.

    BR
    Margarita
  • Dear Margarita:
    I used command modetest : as a result , have two connect ID(No.4,No.16), but CRTCs parameter is 1, I have set CONFIG_DRM_OMAP_NUM_CRTCS=3 at defconfig file. why it is ? besides, I found there is only fb0 at /sys/class/graphics/
    directory, could you help check it ? thank you !


    Encoders:
    id crtc type possible crtcs possible clones
    3 10 TMDS 0x00000001 0x00000000
    15 0 TMDS 0x00000000 0x00000000

    Connectors:
    id encoder status type size (mm) modes encoders
    4 3 connected unknown 0x0 1 3
    modes:
    name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot)
    800x480 60 800 958 968 1056 480 490 493 525 flags: nhsync, nvsync; type: preferred, driver
    props:
    1 EDID:
    flags: immutable blob
    blobs:

    value: 2 DPMS:
    flags: enum
    enums: On=0 Standby=1 Suspend=2 Off=3
    value: 0
    16 0 connected unknown 0x0 1 15
    modes:
    name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot)
    1920x720 60 1920 1980 1988 2004 720 784 791 799 flags: nhsync, nvsync; type: preferred, driver
    props:
    1 EDID:
    flags: immutable blob
    blobs:

    value: 2 DPMS:
    flags: enum
    enums: On=0 Standby=1 Suspend=2 Off=3
    value: 0

    CRTCs:
    id fb pos size
    10 39 (0,0) (800x480)
    800x480 60 800 958 968 1056 480 490 493 525 flags: nhsync, nvsync; type: preferred, driver
    props:
    11 trans-key-mode:
    flags: enum
    enums: disable=0 gfx-dst=1 vid-src=2
    value: 0
    12 trans-key:
    flags: range
    values: 0 16777215
    value: 0
    13 background:
    flags: range
    values: 0 16777215
    value: 0
    14 alpha_blender:
    flags: enum
    enums: disable=0 enable=1
    value: 0
    6 rotation:
    flags: bitmask
    values: rotate-0=0x1 rotate-90=0x2 rotate-180=0x4 rotate-270=0x8 reflect-x=0x10 reflect-y=0x20
    value: 0
    7 zorder:
    flags: range
    values: 0 3
    value: 0
    8 global_alpha:
    flags: range
    values: 0 255
    value: 255
    9 pre_mult_alpha:
    flags: enum
    enums: disable=0 enable=1
    value: 0

    Planes:
    id crtc fb CRTC x,y x,y gamma size

    Frame buffers:
    id size pitch

    BR
    Xiaotang
  • Dear Margarita:
    I used modetest comand , as a result , there are two Connectors ID(No.4,No.16): but CRTCs is 1 , I have already set CONFIG_DRM_OMAP_NUM_CRTCS=3 ,why it is ? besides, I found thers is only fb0 at sys/class/graphics/fb0 directory,
    could you help me check it? thank you!

    Encoders:
    id crtc type possible crtcs possible clones
    3 10 TMDS 0x00000001 0x00000000
    15 0 TMDS 0x00000000 0x00000000

    Connectors:
    id encoder status type size (mm) modes encoders
    4 3 connected unknown 0x0 1 3
    modes:
    name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot)
    800x480 60 800 958 968 1056 480 490 493 525 flags: nhsync, nvsync; type: preferred, driver
    props:
    1 EDID:
    flags: immutable blob
    blobs:

    value: 2 DPMS:
    flags: enum
    enums: On=0 Standby=1 Suspend=2 Off=3
    value: 0
    16 0 connected unknown 0x0 1 15
    modes:
    name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot)
    1920x720 60 1920 1980 1988 2004 720 784 791 799 flags: nhsync, nvsync; type: preferred, driver
    props:
    1 EDID:
    flags: immutable blob
    blobs:

    value: 2 DPMS:
    flags: enum
    enums: On=0 Standby=1 Suspend=2 Off=3
    value: 0

    CRTCs:
    id fb pos size
    10 53 (0,0) (800x480)
    800x480 60 800 958 968 1056 480 490 493 525 flags: nhsync, nvsync; type: preferred, driver
    props:
    11 trans-key-mode:
    flags: enum
    enums: disable=0 gfx-dst=1 vid-src=2
    value: 0
    12 trans-key:
    flags: range
    values: 0 16777215
    value: 0
    13 background:
    flags: range
    values: 0 16777215
    value: 0
    14 alpha_blender:
    flags: enum
    enums: disable=0 enable=1
    value: 0
    6 rotation:
    flags: bitmask
    values: rotate-0=0x1 rotate-90=0x2 rotate-180=0x4 rotate-270=0x8 reflect-x=0x10 reflect-y=0x20
    value: 0
    7 zorder:
    flags: range
    values: 0 3
    value: 0
    8 global_alpha:
    flags: range
    values: 0 255
    value: 255
    9 pre_mult_alpha:
    flags: enum
    enums: disable=0 enable=1
    value: 0

    Planes:
    id crtc fb CRTC x,y x,y gamma size

    Frame buffers:
    id size pitch


    BR
    XiaoTang