1. 23 Apr, 2012 5 commits
    • Mark Brown's avatar
      OMAPDSS: VENC: Check for errors from regulator_enable() · ec874107
      Mark Brown authored
      It is possible for regulator_enable() to fail and if it does fail that's
      generally a bad sign for anything we try to do with the hardware afterwards
      so check for and immediately return an error if regulator_enable() fails.
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      ec874107
    • Mark Brown's avatar
      OMAP: DSS2: Remove suspicous and unused TAAL regulator API usage · 9c3d5eb7
      Mark Brown authored
      The TAAL driver contains some regulator support which is currently unused
      (the code is there but the one panel supported by the driver doesn't have
      any regulators provided). This code mostly looks like an open coded
      version of the regulator core bulk API.
      
      The only additional feature is that a voltage range can be set once when
      the device is opened, though this is never varied at runtime. The general
      expectation is that if the device is not actively managing the voltage of
      the device (eg, doing DVFS) then any configuration will be done using the
      constraints rather than by drivers, saving them code and ensuring that
      they work well with systems where the voltage is not configurable.
      
      If systems are added needing regulator support this can be added back in,
      though it should be based on core features rather than open coding things.
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      9c3d5eb7
    • Tomi Valkeinen's avatar
      OMAPDSS: DSI: remove option to use pck for DSI PLL clkin · b6e695ab
      Tomi Valkeinen authored
      For some OMAP versions the TRM says that the pixel clock from DISPC can
      be used as an input clock for DSI PLL, instead of the default, which is
      sysclk.  For some OMAP versions the bits affecting this are marked as
      reserved.  This feature has never been tested, so it's unknown if the HW
      even works, and has never been used.
      
      To clean things up, this patch removes the functionality. This should
      not affect any board.
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      b6e695ab
    • Tomi Valkeinen's avatar
      OMAPDSS: Ensure OPP100 when DSS is operational · a8081d31
      Tomi Valkeinen authored
      Most of the DSS clocks have restrictions on their frequency based on the
      OPP in use. For example, maximum frequency for a clock may be 180MHz in
      OPP100, but 90MHz in OPP50. This means that when a high enough pixel
      clock or function clock is required, we need to use OPP100.
      
      However, there's currently no way in the PM framework to make that kind
      of request. The closest we get is to ask for very high bus throughput
      from the PM framework, which should effectively force OPP100.
      
      This patch is a simple version for handling the problem. Instead of
      asking for OPP100 only when needed, this patch asks for OPP100 whenever
      DSS is active. This obviously is not an optimal solution for cases with
      small displays where OPP50 would work just fine. However, a proper
      solution is a complex one, and this patch is a short term solution for
      the problem.
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      Cc: Paul Walmsley <paul@pwsan.com>
      Acked-by: default avatarKevin Hilman <khilman@ti.com>
      a8081d31
    • Tomi Valkeinen's avatar
      OMAPDSS: add set_min_bus_tput pointer to omapdss's platform data · 62c1dcfc
      Tomi Valkeinen authored
      omapdss driver needs to use the omap_pm_set_min_bus_tput(), so add a new
      entry for that in omapdss's platform data, and set it.
      Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
      Cc: Paul Walmsley <paul@pwsan.com>
      Acked-by: default avatarKevin Hilman <khilman@ti.com>
      62c1dcfc
  2. 21 Apr, 2012 23 commits
  3. 20 Apr, 2012 12 commits