public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: David Lechner <david@lechnology.com>
To: linux-clk@vger.kernel.org
Cc: "David Lechner" <david@lechnology.com>,
	"Michael Turquette" <mturquette@baylibre.com>,
	"Stephen Boyd" <sboyd@codeaurora.org>,
	"Matthias Brugger" <matthias.bgg@gmail.com>,
	"Heiko Stuebner" <heiko@sntech.de>,
	"Emilio López" <emilio@elopez.com.ar>,
	"Maxime Ripard" <maxime.ripard@free-electrons.com>,
	"Chen-Yu Tsai" <wens@csie.org>,
	linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-mediatek@lists.infradead.org,
	linux-rockchip@lists.infradead.org
Subject: [PATCH 0/7] clk: add helper functions for managing clk_onecell_data
Date: Thu,  4 Jan 2018 18:38:05 -0600	[thread overview]
Message-ID: <1515112695-3160-1-git-send-email-david@lechnology.com> (raw)

I am writing some clock drivers that use struct clk_onecell_data a few
times, so I decided to write a helper function to allocate the memory
since it is a two step process and can be tedious. Then I noticed that
mediatek already had such a helper function, so I have moved that to the
clk core and made use of it in other drivers where possible.

David Lechner (7):
  clk: add helper function for allocating clk_onecell_data
  clk: mediatek: make use of clk_alloc_onecell_data()
  clk: qoriq: make use of clk_alloc_onecell_data()
  clk: hisilicon: make use of clk_alloc_onecell_data()
  clk: rockchip: make use of clk_alloc_onecell_data()
  clk: st: make use of clk_alloc_onecell_data()
  clk: sunxi: make use of clk_alloc_onecell_data()

 drivers/clk/clk-qoriq.c                  | 13 +++------
 drivers/clk/clk.c                        | 49 ++++++++++++++++++++++++++++++++
 drivers/clk/hisilicon/clk-hi3620.c       |  7 +----
 drivers/clk/mediatek/clk-mt2701-bdp.c    |  2 +-
 drivers/clk/mediatek/clk-mt2701-eth.c    |  2 +-
 drivers/clk/mediatek/clk-mt2701-hif.c    |  2 +-
 drivers/clk/mediatek/clk-mt2701-img.c    |  2 +-
 drivers/clk/mediatek/clk-mt2701-mm.c     |  2 +-
 drivers/clk/mediatek/clk-mt2701-vdec.c   |  2 +-
 drivers/clk/mediatek/clk-mt2701.c        | 10 +++----
 drivers/clk/mediatek/clk-mt2712-bdp.c    |  2 +-
 drivers/clk/mediatek/clk-mt2712-img.c    |  2 +-
 drivers/clk/mediatek/clk-mt2712-jpgdec.c |  2 +-
 drivers/clk/mediatek/clk-mt2712-mfg.c    |  2 +-
 drivers/clk/mediatek/clk-mt2712-mm.c     |  2 +-
 drivers/clk/mediatek/clk-mt2712-vdec.c   |  2 +-
 drivers/clk/mediatek/clk-mt2712-venc.c   |  2 +-
 drivers/clk/mediatek/clk-mt2712.c        | 12 ++++----
 drivers/clk/mediatek/clk-mt6797-img.c    |  2 +-
 drivers/clk/mediatek/clk-mt6797-mm.c     |  2 +-
 drivers/clk/mediatek/clk-mt6797-vdec.c   |  2 +-
 drivers/clk/mediatek/clk-mt6797-venc.c   |  2 +-
 drivers/clk/mediatek/clk-mt6797.c        |  8 +++---
 drivers/clk/mediatek/clk-mt7622-aud.c    |  2 +-
 drivers/clk/mediatek/clk-mt7622-eth.c    |  4 +--
 drivers/clk/mediatek/clk-mt7622-hif.c    |  4 +--
 drivers/clk/mediatek/clk-mt7622.c        |  8 +++---
 drivers/clk/mediatek/clk-mt8135.c        |  8 +++---
 drivers/clk/mediatek/clk-mt8173.c        | 18 ++++++------
 drivers/clk/mediatek/clk-mtk.c           | 25 ----------------
 drivers/clk/mediatek/clk-mtk.h           |  2 --
 drivers/clk/rockchip/clk-rockchip.c      | 11 +------
 drivers/clk/st/clk-flexgen.c             | 17 ++++-------
 drivers/clk/st/clkgen-fsyn.c             | 11 +------
 drivers/clk/st/clkgen-pll.c              | 12 ++------
 drivers/clk/sunxi/clk-a10-pll2.c         | 14 +++------
 drivers/clk/sunxi/clk-mod0.c             | 13 ++-------
 drivers/clk/sunxi/clk-simple-gates.c     | 13 ++-------
 drivers/clk/sunxi/clk-sun8i-bus-gates.c  | 13 ++-------
 drivers/clk/sunxi/clk-sunxi.c            | 14 +++------
 drivers/clk/sunxi/clk-usb.c              |  8 +-----
 include/linux/clk-provider.h             |  3 ++
 42 files changed, 138 insertions(+), 195 deletions(-)

-- 
2.7.4

             reply	other threads:[~2018-01-05  0:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-05  0:38 David Lechner [this message]
2018-01-05  0:38 ` [PATCH 1/7] clk: add helper functions for managing clk_onecell_data David Lechner
2018-01-05  0:38 ` [PATCH 2/7] clk: mediatek: make use of clk_alloc_onecell_data() David Lechner
2018-01-05  0:38 ` [PATCH 3/7] clk: qoriq: " David Lechner
2018-01-05  0:38 ` [PATCH 4/7] clk: hisilicon: " David Lechner
2018-01-05  0:38 ` [PATCH 5/7] clk: rockchip: " David Lechner
2018-01-05  0:38 ` [PATCH 6/7] clk: st: " David Lechner
2018-01-05  0:38 ` [PATCH 7/7] clk: sunxi: " David Lechner
2018-03-16 22:29 ` [PATCH 0/7] clk: add helper functions for managing clk_onecell_data Stephen Boyd

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=1515112695-3160-1-git-send-email-david@lechnology.com \
    --to=david@lechnology.com \
    --cc=emilio@elopez.com.ar \
    --cc=heiko@sntech.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=matthias.bgg@gmail.com \
    --cc=maxime.ripard@free-electrons.com \
    --cc=mturquette@baylibre.com \
    --cc=sboyd@codeaurora.org \
    --cc=wens@csie.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