1. 30 Sep, 2011 3 commits
    • Archit Taneja's avatar
      OMAP: DSS2: Clean up stallmode and io pad mode selection · 569969d6
      Archit Taneja authored
      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: default avatarArchit Taneja <archit@ti.com>
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
    • Tomi Valkeinen's avatar
      OMAP: DSS2: DISPC: rename manager related funcs · 26d9dd0d
      Tomi Valkeinen authored
      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 ->
      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: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
    • Tomi Valkeinen's avatar
      OMAP: DSS2: fix clock sources on error and uninit · 5e785091
      Tomi Valkeinen authored
      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: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
  2. 14 Sep, 2011 1 commit
  3. 25 Jul, 2011 2 commits
  4. 12 May, 2011 3 commits
  5. 11 May, 2011 5 commits
  6. 11 Mar, 2011 5 commits
  7. 10 Jan, 2011 3 commits
  8. 24 Feb, 2010 4 commits
  9. 15 Feb, 2010 1 commit
    • Tomi Valkeinen's avatar
      OMAP: DSS2: improve DSS clk src selection · 2f18c4d8
      Tomi Valkeinen authored
      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
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@nokia.com>
  10. 12 Feb, 2010 1 commit
    • Tomi Valkeinen's avatar
      OMAP: DSS2: enable VDDS_DSI when using DPI · 8a2cfea8
      Tomi Valkeinen authored
      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: default avatarTomi Valkeinen <tomi.valkeinen@nokia.com>
  11. 09 Dec, 2009 1 commit