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 output HS clock under Low power mode ?

Dear all:

  How to output HS clock under LP mode ?  I find   "REG_FLD_MOD(dsidev, DSI_CLK_CTRL, 1, 13, 13);  " can always output HS clock regardless LP or HS mode.

  But how to toggle HS clock output immediately ?

  • Dear all:

      omapdss_dsi_vc_enable_hs(dssdev, td->channel, true);  //===> will output HS clock and HS Data

      REG_FLD_MOD(dsidev, DSI_CLK_CTRL, 1, 13, 13);  // ===> always DDR clock output

      omapdss_dsi_vc_enable_hs(dssdev, td->channel, false); // ===> Low power mode

      I try below:

    1.  omapdss_dsi_vc_enable_hs(dssdev, td->channel, true);

    2.  REG_FLD_MOD(dsidev, DSI_CLK_CTRL, 1, 13, 13); 

    3.  omapdss_dsi_vc_enable_hs(dssdev, td->channel, false);

    4.  taal_sleep_out(td); // ===> exit sleep out

      But HS clock stop in step 3.  

      How to let HS clock always output during step 1~4 ? Anyone knows ?

  • OK. I solved it.

    flow:

    1. REG_FLD_MOD(dsidev, DSI_CLK_CTRL, 1, 13, 13);

    2. omapdss_dsi_vc_enable_hs(dssdev, td->channel, true);

    3. send NOP command to trigger HS clock output

    4. switch to LP mode :  omapdss_dsi_vc_enable_hs(dssdev, td->channel, false);

    Thanks.