[PATCH 00/24] drm/omap: DSS PLL work

Tomi Valkeinen tomi.valkeinen at ti.com
Wed May 18 15:01:02 UTC 2016


Hi,

The main goal of this work was to get AM5/DRA7 HDMI PLL usable for LCD outputs
(currently it's only usable for HDMI) and to get LCD2 output of AM5/DRA7
working (PLL config for LCD2 is not implemented).

The end result is, in my opinion, quite nice cleanup of the PLL related code,
which had lots of legacy code. Now it should be possible to use any of the PLL
clock setups the HW supports.

However, there's no way yet to configure which clock setup should be used.
There is just one setup, hardcoded in the driver. This setup works for most of
the use cases, but for some it needs to be changed.

That work will be in another series, as I have no idea yet how to implement it.
Even so, the state is much better after this series, as changing the setup only
means one or two simple changes to dpi.c.

 Tomi

Tomi Valkeinen (24):
  drm/omap: remove unused enum omap_hdmi_flags
  drm/omap: remove unused enum omap_overlay_manager_caps
  drm/omap: fix wrong variable type
  drm/omap: video-pll: add missing data for clkout2 & 3
  drm/omap: copy enum omap_dss_clk_source
  drm/omap: rename omap_dss_clk_source
  drm/omap: remove dss_feat_get_clk_source_name()
  drm/omap: rename dss_get_generic_clk_source_name()
  drm/omap: rename dss_clk_source enums
  drm/omap: Add missing clock sources
  drm/omap: add field for PLL type
  drm/omap: clean up the LCD clk mux code
  drm/omap: add PLL helper funcs
  drm/omap: cleanup dispc_mgr_lclk_rate()
  drm/omap: cleanup dispc_fclk_rate()
  drm/omap: cleanup DPI clock source handling
  drm/omap: fix DPI clkout index handling
  drm/omap: HDMI PLL: use runtime pm
  drm/omap: rename PLL calc functions
  drm/omap: move HDMI PLL calc function to pll.c
  drm/omap: generalize dss_pll_calc_b()
  drm/omap: add comments for PLL calculations
  drm/omap: support type B PLL for DPI
  drm/omap: DPI: rename "DSI" related names

 drivers/gpu/drm/omapdrm/dss/dispc.c        |  91 ++++-------
 drivers/gpu/drm/omapdrm/dss/dpi.c          | 133 ++++++++-------
 drivers/gpu/drm/omapdrm/dss/dsi.c          |  55 ++++---
 drivers/gpu/drm/omapdrm/dss/dss.c          | 252 ++++++++++++++++++++---------
 drivers/gpu/drm/omapdrm/dss/dss.h          |  45 ++++--
 drivers/gpu/drm/omapdrm/dss/dss_features.c |  43 -----
 drivers/gpu/drm/omapdrm/dss/dss_features.h |   1 -
 drivers/gpu/drm/omapdrm/dss/hdmi.h         |   3 +-
 drivers/gpu/drm/omapdrm/dss/hdmi4.c        |   6 +-
 drivers/gpu/drm/omapdrm/dss/hdmi5.c        |   6 +-
 drivers/gpu/drm/omapdrm/dss/hdmi_pll.c     |  75 ++-------
 drivers/gpu/drm/omapdrm/dss/pll.c          | 126 ++++++++++++++-
 drivers/gpu/drm/omapdrm/dss/video-pll.c    |   6 +
 drivers/video/fbdev/omap2/omapfb/dss/dss.h |  11 ++
 include/video/omapdss.h                    |  20 ---
 15 files changed, 505 insertions(+), 368 deletions(-)

-- 
2.5.0



More information about the dri-devel mailing list