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.

VGA Interface for DRA7xx

Other Parts Discussed in Thread: THS8136, TLC59108

Hi,

               We developed custom board with DRA7xx_EVM as reference and i  am using THS8136 to output  VGA signal from 24 bit RGB signals along with H-sync and V-sync data and a clock, instead of LCD in the EVM.  I am using ti-glsdk_dra7xx-evm_7_02_00_02 and i am not getting VGA signal. Do i need to disable/enable anything for VGA support in kernel menu config?


Thaks & Regards,

Ganesh

  • Hi Ganesh,
    I think, you may need to enable the LCD controller support with VGA panel configuration (resolution, timing parameters etc.,)
  • Hello Ganesh,

    Please try to enable VGA support by menuconfig:
    processors.wiki.ti.com/.../Linux_Core_DSS_User's_Guide

    For ex: To set 640 * 480 VGA resolution.
    echo " 25175,640/16/48/96,480/11/31/2" > /sys/devices/platform/omapdss/display1/timings

    Best regards,
    Yanko
  • Hi Yanko,

                In the user guide no where mentioned for VGA encoders, and i am also having a provision for LVDS on the same LCD Bus. Same issue with LVDS also.


    To do this
    |-----------------------------------------------------------------------------------------------------------------------------------------------------
    For ex: To set 640 * 480 VGA resolution.
    echo " 25175,640/16/48/96,480/11/31/2" > /sys/devices/platform/omapdss/display1/timings
    ------------------------------------------------------------------------------------------------------------------------------------------------|

    root@dra7xx-evm:~# ls /sys/devices/platform/omapdss/
    driver      modalias         power          subsystem          uevent

    I am not getting any directory with display. In kernel make menuconfig where to enable VGA support for LCD exactly?

    Also i tried changing the display node to hdmi in dra7xx-evm-lcd10.dts also for getting any signals to VGA.
    aliases {
    display0 = &hdmi0;
    display1 = &tlc59108;
    };
    };


    Thanks & Regards,
    Ganesh

  • Hello Ganesh,

    I tried to set VGA as executed following steps:

    root@dra7xx-evm:~# modetest

    :

    trying to load module omapdrm...success.

    Encoders:

    id crtc type possible crtcs possible clones

    3 10 TMDS 0x00000001 0x00000000

    15 0 TMDS 0x00000002 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)

     1280x800 60 1280 1328 1360 1404 800 804 811 823 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 disconnected HDMI-A 0x0 0 15

    CRTCs:

    id fb pos size

    10 23 (0,0) (1280x800)

     1280x800 60 1280 1328 1360 1404 800 804 811 823 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: 0

    9 pre_mult_alpha:

    flags: enum

    enums: disable=0 enable=1

    value: 0

    18 0 (0,0) (0x0)

      0 0 0 0 0 0 0 0 0 flags: ; type:

     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: 0

    9 pre_mult_alpha:

    flags: enum

    enums: disable=0 enable=1

    value: 0

    Planes:

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

    19 0 0 0,0 0,0 0

     formats: RG16 RX12 XR12 RA12 AR12 XR15 AR15 RG24 RX24 XR24 RA24 AR24 NV12 YUYV UYVY

     props:

    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: 0

    9 pre_mult_alpha:

    flags: enum

    enums: disable=0 enable=1

    value: 0

    20 0 0 0,0 0,0 0

     formats: RG16 RX12 XR12 RA12 AR12 XR15 AR15 RG24 RX24 XR24 RA24 AR24 NV12 YUYV UYVY

     props:

    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: 0

    9 pre_mult_alpha:

    flags: enum

    enums: disable=0 enable=1

    value: 0

    Frame buffers:

    id size pitch

    root@dra7xx-evm:~# modetest -s 4:640x480

    setting mode 640x480@XR24 on connector 4, crtc 10

    Run the command: root@dra7xx-evm:~# modetest -s <connector ID>:640x480 

    Best regards,

    Yanko