[PATCH 0/4] drm/msm: msm_clk_get() all the things

Rob Clark robdclark at gmail.com
Tue Oct 17 10:49:54 UTC 2017


Use our msm_clk_get() helper in more places so "_clk" suffix in
clock names is optional.  This was added when upstreaming the GPU
bindings in response to comments that clock names should not have
the "_clk" suffix, and will fall back to looking up the clock
with the suffix for backwards compat with existing dtb's.

Use this throughout the driver so that we don't have a mix of
bindings that want "_clk" and those that don't.  This way new
dts files for new boards/devices don't require clock names to
end in "_clk".

So far, just mdp4 is left unconverted, although I guess since it
hasn't been used in new chips since approx snapdragon 600, the
likelihood of adding a bunch of new dts for boards using mdp4 is
less.

Rob Clark (4):
  drm/msm/dsi: convert to msm_clk_get()
  drm/msm/edp: convert to msm_clk_get()
  drm/msm/hdmi: convert to msm_clk_get()
  dt-bindings: display: msm: update clk names

 .../devicetree/bindings/display/msm/dsi.txt        | 36 +++++++++++-----------
 .../devicetree/bindings/display/msm/edp.txt        | 20 ++++++------
 .../devicetree/bindings/display/msm/hdmi.txt       |  8 ++---
 .../devicetree/bindings/display/msm/mdp5.txt       | 32 +++++++++----------
 drivers/gpu/drm/msm/dsi/dsi_cfg.c                  |  8 ++---
 drivers/gpu/drm/msm/dsi/dsi_host.c                 | 30 +++++++++---------
 drivers/gpu/drm/msm/dsi/phy/dsi_phy.c              |  2 +-
 drivers/gpu/drm/msm/edp/edp_ctrl.c                 | 22 ++++++-------
 drivers/gpu/drm/msm/hdmi/hdmi.c                    | 10 +++---
 drivers/gpu/drm/msm/hdmi/hdmi_phy.c                |  2 +-
 drivers/gpu/drm/msm/hdmi/hdmi_phy_8960.c           |  2 +-
 drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c           |  4 +--
 drivers/gpu/drm/msm/hdmi/hdmi_phy_8x74.c           |  3 +-
 13 files changed, 88 insertions(+), 91 deletions(-)

-- 
2.13.6



More information about the dri-devel mailing list