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.

DSI Send Null Packet Issue with the UBOOT Code

Other Parts Discussed in Thread: SYSCONFIG

Hi,

Thanks for reading the post.

I took the UBOOT code from http://review.omapzoom.org/#/c/23975/

I have enabled the code upto line number 890 i.e.      till before this comment /* Reconfigure DSI VC0 as low-power cmd mode to configure tc358765 */

With this i don't see a HS Clock being generated on the LANE.

The register dump is as given below

Display error: null packet timed out on vc0
DSI PLLRegisters:
DSI_PLL_CONTROL = 0x00000000
DSI_PLL_STATUS = 0x00000383
DSI_PLL_GO = 0x00000000
DSI_PLL_CONFIGURATION1 = 0x20a3724c
DSI_PLL_CONFIGURATION2 = 0x00656008
DSI_PLL_CONFIGURATION3 = 0x00000000
DSI_PLL_SSC_CONFIGURATION1 = 0x00000000
DSI_PLL_SSC_CONFIGURATION2 = 0x00000000
DSI_PLL_CONFIGURATION4 = 0x00000000

DSI PLLRegisters:
DSIPHY_REGISTER0 = 0x12291321
DSIPHY_REGISTER1 = 0x4206103a
DSIPHY_REGISTER2 = 0xb800000f
DSIPHY_REGISTER3 = 0x625d21a0
DSIPHY_REGISTER4 = 0x625d21a0
DSIPHY_REGISTER5 = 0xe5000000

DSI PE Registers
DSI_SYSCONFIG = 0x00000001
DSI_SYSSTATUS = 0x00000001
DSI_IRQSTATUS = 0x00004080
DSI_IRQENABLE = 0x0015c000
DSI_CTRL = 0x00eaea98
DSI_GNQ = 0x01926936
DSI_COMPLEXIO_CFG1 = 0x6a000093
DSI_COMPLEXIO_STATUS = 0x00000000
DSI_COMPLEXIO_ENABLE = 0xffffffff
DSI_CLK_CTRL = 0xa0346005
DSI_TIMING1 = 0x7fff7fff
DSI_TIMING2 = 0x7fff7fff
DSI_VM_TIMING1 = 0x00006015
DSI_VM_TIMING2 = 0x04040404
DSI_VM_TIMING3 = 0x031e0300
DSI_CLK_TIMING = 0x00000101
DSI_TX_FIFO_VC_SIZE = 0x13121110
DSI_RX_FIFO_VC_SIZE = 0x13121110
DSI_COMPLEXIO_CFG2 = 0x00000000
DSI_RX_FIFO_VC_FULLNESS = 0x00000000
DSI_VM_TIMING4 = 0x00000000
DSI_TX_FIFO_VC_EMPTINESS = 0x00000000
DSI_VM_TIMING5 = 0x00000000
DSI_VM_TIMING6 = 0x00000000
DSI_VM_TIMING7 = 0x0012000f
DSI_STOPCLK_TIMING = 0x00000080
DSI_CTRL2 = 0x00000100
DSI_VM_TIMING8 = 0x00000000
DSI_CTRL2 = 0x00000100
DSI_VM_TIMING8 = 0x00000000

DSS Registers:
DSS_REVISION = 0x00000040
DSS_SYSSTATUS = 0x00000001
DSS_CONTROL = 0x00000003
DSS_STATUS = 0x0000ab21

DISPC Registers:
DISPC_REVISION = 0x00000040
DISPC_SYSCONFIG = 0x00002015
DISPC_SYSSTATUS = 0x00000001
DISPC_IRQSTATUS = 0x00000000
DISPC_IRQENABLE = 0x0012d640

DISPC Registers (Control):
DISPC_CONTROL = 0x00018308
DISPC_CONFIG = 0x00020004
DISPC_CAPABLE = 0x00000000
DISPC_DEFAULT_COLOR0 = 0x00ffffff
DISPC_DEFAULT_COLOR1 = 0x00000000
DISPC_TRANS_COLOR0 = 0x00000000
DISPC_TRANS_COLOR1 = 0x00000000

DISPC Registers (LCD):
DISPC_LINE_STATUS = 0x00000000
DISPC_LINE_NUMBER = 0x00000000
DISPC_TIMING_H = 0x00900913
DISPC_TIMING_V = 0x00400403
DISPC_POL_FREQ = 0x00000000
DISPC_DIVISOR = 0x00010002
DISPC_SIZE_DIG = 0x00000000
DISPC_SIZE_LCD = 0x02ff03ff

DISPC Registers (GFX):
DISPC_GFX_BA0 = 0x00000000
DISPC_GFX_BA1 = 0x00000000
DISPC_GFX_POSITION = 0x00000000
DISPC_GFX_SIZE = 0x00000000
DISPC_GFX_ATTRIBUTES = 0x000000a0
DISPC_GFX_FIFO_THRESHOLD = 0x04ff04f8
DISPC_GFX_FIFO_SIZE_STATUS = 0x00000500
DISPC_GFX_ROW_INC = 0x00000001
DISPC_GFX_PIXEL_INC = 0x00000001
DISPC_GFX_WINDOW_SKIP = 0x00000000
DISPC_GFX_TABLE_BA = 0x00000000

Please let me know what else is missing.

Regards,

GSR