1. 06 8月, 2013 1 次提交
    • M
      OMAPDSS: HDMI: Fix AVI infoframe bug · fd3cd7ee
      Mythri P K 提交于
      ti_hdmi_4xxx_basic_configure() is supposed to initialize the AVI
      infoframe data in the ip_data container. However, the function actually
      takes a copy of the infoframe from the ip_data, and then goes on
      initializing that copy. The initialized data is never copied back to the
      ip_data container, thus the infoframe in ip_data is left always zero.
      
      Afaik, this doesn't really cause any issues in the current mainline, as
      we don't use the advanced features offered by the AVI infoframe.
      
      This patch fixes the initialization of the AVI infoframe.
      Signed-off-by: NMythri P K <mythripk@ti.com>
      [tomi.valkeinen@ti.com: updated the description]
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      fd3cd7ee
  2. 17 6月, 2013 2 次提交
    • T
      OMAPDSS: HDMI clean up hpd_gpio · 29356be1
      Tomi Valkeinen 提交于
      hpd_gpio is no longer used by the OMAP4 HDMI IP driver, and we can thus
      remove the unnecessary code.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      29356be1
    • T
      OMAPDSS: HDMI: clean up PHY power handling · ddb1d5ca
      Tomi Valkeinen 提交于
      The TRM tells to set PHY to TXON only after getting LINK_CONNECT, and to
      set PHY to OFF or LDOON after getting LINK_DISCONNECT, in order to avoid
      damage to the PHY.
      
      We don't currently do it quite like that. Instead of using the HDMI
      interrupts, we use HPD signal. This works, but is not actually quite
      correct, as HPD comes at a different time than LINK_CONNECT and
      LINK_DISCONNECT interrupts. Also, the HPD GPIO is a property of the TPD
      level shifter, not HDMI IP, so handling the GPIO in the HDMI driver is
      wrong.
      
      This patch implements the PHY power handling correctly, using the
      interrupts.
      
      There is a corner case that causes some additional difficulties: we may
      get both LINK_CONNECT and LINK_DISCONNECT interrupts at the same time.
      This is handled in the code by retrying: turning off the PHY, clearing
      the interrupt status, and re-enabling the PHY. This causes a new
      LINK_CONNECT interrupt to happen if a cable is connected.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      ddb1d5ca
  3. 06 11月, 2012 1 次提交
  4. 17 10月, 2012 1 次提交
  5. 29 6月, 2012 3 次提交
  6. 22 5月, 2012 1 次提交
  7. 11 5月, 2012 10 次提交
  8. 09 5月, 2012 2 次提交
    • A
      OMAPDSS: HDMI: define and dump CORE registers in correct order · 9b9c457b
      Archit Taneja 提交于
      The HDMI core register offset macros aren't defined in ascending order of their
      values, some of the offset macros are also redefined. The same issues occur when
      these core registers are dumped.
      
      Clean up the ordering of HDMI core registers and remove repeated registers in
      the definition in ti_hdmi_4xxx_ip.h and in ti_hdmi_4xxx_core_dump().
      Signed-off-by: NArchit Taneja <archit@ti.com>
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      9b9c457b
    • A
      OMAPDSS: HDMI: Fix ti_hdmi_4xxx_core_dump · 3c7de247
      Archit Taneja 提交于
      The function ti_hdmi_4xxx_core_dump has some bugs, the following mention the
      bugs and the solutions:
      
      - The macros DUMPCORE and DUMPCOREAV in ti_hdmi_4xxx_core_dump() use
        hdmi_pll_base() for the offsets needed to calculate register addresses, use
        functions hdmi_core_sys_base() amd hdmi_av_base() to calculate the correct
        offsets for CORE_SYS and CORE_AV registers.
      
      - Many of the CORE_AV registers use the DUMPCORE macro, and hence the register
        addresses are calculated incorrectly. Rename the current DUMPCOREAV macro as
        DUMPCOREAV2 as it takes 2 arguments to dump indexed CORE_AV registers, create
        a new macro called DUMPCOREAV which is now used for dumping non-indexed
        CORE_AV registers.
      
      Thanks to Ancy Tom <ancytom@gmail.com> for pointing out the issues.
      Signed-off-by: NArchit Taneja <archit@ti.com>
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      3c7de247
  9. 23 2月, 2012 1 次提交
    • R
      OMAPDSS: HDMI: hot plug detect fix · ca888a79
      Rob Clark 提交于
      The "OMAPDSS: HDMI: PHY burnout fix" commit switched the HDMI driver
      over to using a GPIO for plug detect.  Unfortunately the ->detect()
      method was not also updated, causing HDMI to no longer work for the
      omapdrm driver (because it would actually check if a connection was
      detected before attempting to enable display).
      Signed-off-by: NRob Clark <rob@ti.com>
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      ca888a79
  10. 21 2月, 2012 2 次提交
  11. 26 1月, 2012 1 次提交
    • T
      OMAPDSS: HDMI: PHY burnout fix · c49d005b
      Tomi Valkeinen 提交于
      A hardware bug in the OMAP4 HDMI PHY causes physical damage to the board
      if the HDMI PHY is kept powered on when the cable is not connected.
      
      This patch solves the problem by adding hot-plug-detection into the HDMI
      IP driver. This is not a real HPD support in the sense that nobody else
      than the IP driver gets to know about the HPD events, but is only meant
      to fix the HW bug.
      
      The strategy is simple: If the display device is turned off by the user,
      the PHY power is set to OFF. When the display device is turned on by the
      user, the PHY power is set either to LDOON or TXON, depending on whether
      the HDMI cable is connected.
      
      The reason to avoid PHY OFF when the display device is on, but the cable
      is disconnected, is that when the PHY is turned OFF, the HDMI IP is not
      "ticking" and thus the DISPC does not receive pixel clock from the HDMI
      IP. This would, for example, prevent any VSYNCs from happening, and
      would thus affect the users of omapdss. By using LDOON when the cable is
      disconnected we'll avoid the HW bug, but keep the HDMI working as usual
      from the user's point of view.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      c49d005b
  12. 25 1月, 2012 3 次提交
  13. 05 1月, 2012 3 次提交
  14. 30 9月, 2011 9 次提交