1. 13 5月, 2011 3 次提交
  2. 11 5月, 2011 24 次提交
  3. 15 3月, 2011 8 次提交
  4. 11 3月, 2011 5 次提交
    • T
      HACK: OMAP: DSS2: Fix OMAP2_DSS_USE_DSI_PLL · f2988ab9
      Tomi Valkeinen 提交于
      When using OMAP2_DSS_USE_DSI_PLL, which selects DSI PLL as source clock
      for DISPC, the DSI needs the vdds_dsi regulator. Latest regulator
      changes broke this, causing the the code to not acquire the regulator
      when using OMAP2_DSS_USE_DSI_PLL.
      
      This patch acquires the vdds_dsi regulator in dsi_pll_init(), fixing the
      issue. This is is just a quick hack to get the OMAP2_DSS_USE_DSI_PLL
      option working. There shouldn't be any other downside in this solution
      than some extra lines of code.
      
      OMAP2_DSS_USE_DSI_PLL is itself a big hack, and should be removed, and
      the feature itself should be implemented in a more sane way. However,
      the solution is not trivial, and people are using DSI PLL to get more
      exact pixel clocks, so this hack is an acceptable temporary solution for
      the time being.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      f2988ab9
    • A
      OMAP: DSS2: Use request / release calls in Taal for DSI Virtual Channels. · bc6d4b1d
      Archit Taneja 提交于
      Taal driver used to take a hard coded Macro for Virtual Channel and the VC_ID.
      The Taal panel driver now requests for a Virtual channel through the
      omap_dsi_request_vc() call in taal_probe().
      
      The channel number returned by the request_vc() call is used for sending command
      and data to the Panel. The DSI driver automatically configures the Virtual
      Channel's source to either Video Port or L4 Slave port based on what the panel
      driver is using it for.
      
      The driver uses omap_dsi_release_vc() to free the VC specified by the panel.
      taal_remove() or when a request_vc() call fails.
      Signed-off-by: NArchit Taneja <archit@ti.com>
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      bc6d4b1d
    • A
      OMAP: DSS2: Functions to request/release DSI VCs · 5ee3c144
      Archit Taneja 提交于
      Introduce functions which request and release VC's. This will be used in panel
      drivers in their probes.
      
      omap_dsi_request_vc() takes in the pointer to the omap_dss_device, the VC_ID
      parameter which goes into the header of the DSI packets, and returns a Virtual
      channel number (or virtual channel register set) which it can use.
      
      omap_dsi_set_vc_id() takes the omap_dss_device pointer, the Virtual Channel
      number and the VC_ID that needs to be set for the specifed Virtual Channel.
      
      omap_dsi_release_vc() takes the omap_dss_device pointer and the Virtual Channel
      number that needs to be made free.
      
      Initialisation of VC parameters is done in dsi_init().
      Signed-off-by: NArchit Taneja <archit@ti.com>
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      5ee3c144
    • A
      OMAP2PLUS: DSS2: DSI: Generalize DSI PLL Clock Naming · 1bb47835
      Archit Taneja 提交于
      DSI PLL output clock names have been made more generic. The clock name
      describes what the source of the clock and what clock is used for. Some of
      DSI PLL parameters like dividers and DSI PLL source have also been made more
      generic.
      
      dsi1_pll_fclk and dsi2_pll_fclk have been changed as dsi_pll_hsdiv_dispc_clk
      and dsi_pll_hsdiv_dsi_clk respectively. Also, the hsdividers are now named
      regm_dispc and regm_dsi instead of regm3 and regm4.
      
      Functions and macros named on the basis of these clock names have also been
      made generic.
      Signed-off-by: NArchit Taneja <archit@ti.com>
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      1bb47835
    • A
      OMAP2PLUS: DSS2: Use dss features to get clock source names of current OMAP · 067a57e4
      Archit Taneja 提交于
      Clock source names vary across OMAP2/3 and OMAP4, the clock source enum
      names have been made generic in the driver, but for purposes of debugging
      and dumping clock sources, it is better to preserve the actual TRM name of
      the clock.
      
      Introduce a dss feature function 'dss_feat_get_clk_source_name()' which
      returns a string with the TRM clock name for the current OMAP in use. The OMAP
      specific name is printed along the generic name within brackets.
      Signed-off-by: NArchit Taneja <archit@ti.com>
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      067a57e4