[GIT PULL] Synopsis DesignWare HDMI driver development updates

Russell King rmk at arm.linux.org.uk
Wed Jul 15 11:41:36 PDT 2015


David,

Please incorporate the latest Synopsis DesignWare HDMI driver development
updates, which can be found at:

  git://ftp.arm.linux.org.uk/~rmk/linux-arm.git drm-dwhdmi-devel

with SHA1 b2779af1fd087320ebde01614f770b12e2dc3e5c.

Here are some development updates for the Synopsis Designware HDMI driver,
which clean up some of the code, and start preparing to add audio support
to the driver.  This series of patches are based on a couple of dependent
commits from the ALSA tree.

Briefly, the updates are:
- move comments which should have moved with the phy values to the IMX
  part of the driver.
- clean up the phy configuration: to all lookups before starting to
  program the phy.
- clean up the HDMI clock regenerator code
- use the drm_hdmi_avi_infoframe_from_display_mode() helper which allows
  the code to be subsequently simplified
- remove the unused 'regmap' pointer in struct dw_hdmi
- use the bridge drm device rather than the connector (we're the bridge
  code)
- remove private hsync/vsync/interlaced flags, getting them from the
  DRM mode structure instead.
- implement interface functions to support audio - setting the audio
  sample rate, and enabling the audio clocks.

These are preparitory patches for the AHB audio driver and the I2S
audio driver (from Rockchip) for this IP.

This will update the following files:

 drivers/gpu/drm/bridge/dw_hdmi.c  | 297 +++++++++++++++++++++-----------------
 drivers/gpu/drm/imx/dw_hdmi-imx.c |   5 +
 include/drm/bridge/dw_hdmi.h      |   7 +
 include/drm/drm_edid.h            |  19 +++
 4 files changed, 198 insertions(+), 130 deletions(-)

through these changes:

Russell King (11):
      drm: imx/dw_hdmi: move phy comments
      drm: bridge/dw_hdmi: clean up phy configuration
      drm: bridge/dw_hdmi: clean up hdmi_set_clk_regenerator()
      drm: bridge/dw_hdmi: use drm_hdmi_avi_infoframe_from_display_mode()
      drm: bridge/dw_hdmi: simplify hdmi_config_AVI() a little
      drm: bridge/dw_hdmi: remove unused 'regmap' struct member
      drm: bridge/dw_hdmi: use our own drm_device
      drm: bridge/dw_hdmi: remove mhsyncpolarity/mvsyncpolarity/minterlaced
      drm: bridge/dw_hdmi: introduce interface to setting sample rate
      drm: bridge/dw_hdmi: introduce interfaces to enable and disable audio
      drm/edid: add function to help find SADs

Many thanks.


More information about the dri-devel mailing list