linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rob Clark <robdclark@gmail.com>
To: dri-devel@lists.freedesktop.org
Cc: linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org
Subject: [PATCH 0/4] drm/msm: msm_clk_get() all the things
Date: Tue, 17 Oct 2017 06:49:54 -0400	[thread overview]
Message-ID: <20171017104958.24588-1-robdclark@gmail.com> (raw)

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

             reply	other threads:[~2017-10-17 10:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-17 10:49 Rob Clark [this message]
     [not found] ` <20171017104958.24588-1-robdclark-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-10-17 10:49   ` [PATCH 1/4] drm/msm/dsi: convert to msm_clk_get() Rob Clark
     [not found]     ` <20171017104958.24588-2-robdclark-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-10-24 12:12       ` Sean Paul
2017-10-17 10:49   ` [PATCH 4/4] dt-bindings: display: msm: update clk names Rob Clark
2017-10-24  0:16     ` Rob Herring
2017-10-17 10:49 ` [PATCH 2/4] drm/msm/edp: convert to msm_clk_get() Rob Clark
2017-10-24 12:13   ` Sean Paul
2017-10-17 10:49 ` [PATCH 3/4] drm/msm/hdmi: " Rob Clark
2017-10-24 12:14   ` Sean Paul

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171017104958.24588-1-robdclark@gmail.com \
    --to=robdclark@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=freedreno@lists.freedesktop.org \
    --cc=linux-arm-msm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).