1. 30 9月, 2011 3 次提交
    • A
      OMAP: DSS2: Clean up stallmode and io pad mode selection · 569969d6
      Archit Taneja 提交于
      Split the function dispc_set_parallel_interface_mode() into 2 separate
      functions called dispc_mgr_set_io_pad_mode() and dispc_mgr_enable_stallmode().
      The current function tries to set 2 different modes(io pad mode and stall mode)
      based on a parameter omap_parallel_interface_mode which loosely corresponds to
      the panel interface type.
      
      This isn't correct because a) these 2 modes are independent to some extent,
      b) we are currently configuring gpout0/gpout1 for DSI panels which is
      unnecessary, c) a DSI Video mode panel won't get configured correctly.
      
      Splitting the functions allows the interface driver to set these modes
      independently and hence allow more flexibility.
      Signed-off-by: NArchit Taneja <archit@ti.com>
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      569969d6
    • T
      OMAP: DSS2: DISPC: rename manager related funcs · 26d9dd0d
      Tomi Valkeinen 提交于
      Rename dispc's manager related functions as follows:
      
      - Remove prepending underscores, which were originally used to inform
        that the clocks needs to be enabled. This meaning is no longer valid.
      - Prepend the functions with dispc_mgr_*
      - Remove "channel" from the name, e.g. dispc_enable_channel ->
        dispc_mgr_enable
      
      The idea is to group manager related functions so that it can be deduced
      from the function name that it writes to manager spesific registers.
      
      All dispc_mgr_* functions have enum omap_channel as the first parameter.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      26d9dd0d
    • T
      OMAP: DSS2: fix clock sources on error and uninit · 5e785091
      Tomi Valkeinen 提交于
      DPI and DSI were not cleaning up the clock source in error or uninit
      cases. Set the clock source back to PRCM.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      5e785091
  2. 14 9月, 2011 1 次提交
  3. 25 7月, 2011 2 次提交
  4. 13 5月, 2011 3 次提交
  5. 11 5月, 2011 5 次提交
  6. 11 3月, 2011 5 次提交
  7. 10 1月, 2011 3 次提交
  8. 24 2月, 2010 4 次提交
  9. 15 2月, 2010 1 次提交
    • T
      OMAP: DSS2: improve DSS clk src selection · 2f18c4d8
      Tomi Valkeinen 提交于
      dss_select_clk_source() was rather confusing. Selecting the source with
      enums is much clearer.
      
      The clk source selection is also stored into memory, so that we know what
      is the selected source, even when clocks are off. This is important during
      setup, as we need to what clocks to turn on before the clocks are turned
      on.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@nokia.com>
      2f18c4d8
  10. 12 2月, 2010 1 次提交
    • T
      OMAP: DSS2: enable VDDS_DSI when using DPI · 8a2cfea8
      Tomi Valkeinen 提交于
      It looks like on OMAP3 some DSS pins need VDDS_DSI to function properly.
      
      This has not been confirmed from TI, but looking at figure 15-1 "Display
      subsystem highlight" from the TRM, some data pins come near the DSI and SDI
      blocks. This is not very hard evidence, but the fact remains that with the
      power on, pixels are ok, and with the power off, pixels are not ok.
      
      It may also be that VDDS_SDI is needed to power some pins, but as normally
      both VDDS_SDI and VDDS_DSI come from the same power source, this hasn't
      been shown.
      
      It seems that a single driver can only get a regulator once. This patch
      solves it by getting all the required regulators in one place, and from
      which the submodules then get the regulators they need.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@nokia.com>
      8a2cfea8
  11. 09 12月, 2009 1 次提交