1. 26 2月, 2015 1 次提交
    • T
      OMAPDSS: DISPC: remove OMAPDSS_DRIVE_SIG_OPPOSITE_EDGES · 7a16360d
      Tomi Valkeinen 提交于
      DISPC can drive data lines either on rising or falling pixel clock edge,
      which can be configured by the user.
      
      Sync lines can also be driven on rising or falling pixel clock edge, but
      additionally the HW can be configured to drive the sync lines on
      opposite clock edge from the data lines.
      
      This opposite edge setting does not make any sense, as the same effect
      can be achieved by just setting the sync lines to be driven on the other
      edge compared to the data lines. It feels like some kind of backward
      compatibility option, even if all DSS versions seem to have the same
      implementation.
      
      To simplify the code and configuration of the signals, and to make the
      dispc timings more compatible with what is used on other platforms,
      let's just remove the whole opposite-edge support.
      
      The drivers that used OMAPDSS_DRIVE_SIG_OPPOSITE_EDGES setting are
      changed so that they use the opposite setting from the data edge.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      7a16360d
  2. 22 10月, 2014 1 次提交
    • T
      OMAPDSS: set suppress_bind_attrs · 422ccbd5
      Tomi Valkeinen 提交于
      omapdss drivers cannot handle devices being unbound while the devices
      are part of a connected display pipeline. Module refcounts are used to
      prevent unloading the modules, but one can still manually unbind the
      devices via sysfs, causing crash.
      
      Set suppress_bind_attrs to disable the bind/unbind support via sysfs.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      422ccbd5
  3. 26 6月, 2014 1 次提交
  4. 17 4月, 2014 1 次提交
  5. 19 3月, 2014 1 次提交
  6. 05 3月, 2014 1 次提交
    • T
      OMAPDSS: convert pixel clock to common videomode style · d8d78941
      Tomi Valkeinen 提交于
      omapdss has its own video-timings struct, but we want to move the common
      videomode.
      
      The first step is to change the omapdss's pixelclock unit from kHz to
      Hz. Also, omapdss uses "pixel_clock" field name, whereas the common
      videomode uses "pixelclock" field name. This patch changes the field
      name also, as that makes it easy to spot any non-converted pixel_clock
      uses.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      d8d78941
  7. 13 1月, 2014 1 次提交
    • T
      OMAPDSS: panel-acx565akm: clean-up locking · 0eb0dafb
      Tomi Valkeinen 提交于
      The locking in the acx565akm panel driver was getting too complex. Clean
      it up by making new functions, acx565akm_bl_get_intensity_locked and
      acx565akm_bl_update_status_locked, which are called by the backlight
      subsystem. This way the non-locked versions can be called by the panel's
      other funcs, simplifying the lock management.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      0eb0dafb
  8. 26 11月, 2013 1 次提交
    • A
      ARM: OMAPFB: panel-sony-acx565akm: fix bad unlock balance · c37dd677
      Aaro Koskinen 提交于
      When booting Nokia N900 smartphone with v3.12 + omap2plus_defconfig
      (LOCKDEP enabled) and CONFIG_DISPLAY_PANEL_SONY_ACX565AKM enabled,
      the following BUG is seen during the boot:
      
      [    7.302154] =====================================
      [    7.307128] [ BUG: bad unlock balance detected! ]
      [    7.312103] 3.12.0-los.git-2093492-00120-g5e01dc7b #3 Not tainted
      [    7.318450] -------------------------------------
      [    7.323425] kworker/u2:1/12 is trying to release lock (&ddata->mutex) at:
      [    7.330657] [<c031b760>] acx565akm_enable+0x12c/0x18c
      [    7.335998] but there are no more locks to release!
      
      Fix by removing double unlock and handling the locking completely inside
      acx565akm_panel_power_on() when doing the power on.
      Reported-by: NEduardo Valentin <eduardo.valentin@ti.com>
      Signed-off-by: NAaro Koskinen <aaro.koskinen@iki.fi>
      Cc: stable@vger.kernel.org
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      c37dd677
  9. 17 6月, 2013 1 次提交