From: Thierry Reding <thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Stephen Boyd <sboyd-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
Cc: Michael Turquette
<mturquette-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>,
Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>,
Alexandre Courbot
<gnurou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
Jon Hunter <jonathanh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>,
linux-clk-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH v2] clk: tegra: Add BPMP clock driver
Date: Mon, 6 Feb 2017 12:13:42 +0100 [thread overview]
Message-ID: <20170206111342.GI27607@ulmo.ba.sec> (raw)
In-Reply-To: <20170203204302.GF25384-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 2542 bytes --]
On Fri, Feb 03, 2017 at 12:43:02PM -0800, Stephen Boyd wrote:
> On 01/25, Thierry Reding wrote:
> > On Thu, Nov 17, 2016 at 04:47:31PM +0100, Thierry Reding wrote:
> > > From: Thierry Reding <treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
> > >
> > > This driver uses the services provided by the BPMP firmware driver to
> > > implement a clock driver based on the MRQ_CLK request. This part of the
> > > BPMP ABI provides a means to enumerate and control clocks and should
> > > allow the driver to work on any chip that supports this ABI.
> > >
> > > Signed-off-by: Thierry Reding <treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
> > > ---
> > > Changes in v2:
> > > - rename ->prepare() and ->unprepare() implementations for consistency
> > > - implement ->is_prepared() instead of ->is_enabled() to avoid the need
> > > for atomic operations
> > > - rename tegra_bpmp_clk_message.clk member to id
> > > - remove a double semi-colon and a stray ampersand
> > > - drop extra check for validity of parent index, the core does it
> > > already
> > > - make struct tegra_bpmp carry an array of struct tegra_bpmp_clk instead
> > > of struct clk_hw to simplify some driver code
> > > - zero out struct clk_init_data to avoid potentially uninitialized data
> > > - use devm_clk_hw_register() instead of clk_register() because we never
> > > need the opaque struct clk cookie
> > > - rearrange functions so that they appear in the order specified by
> > > struct clk_ops
> > >
> > > drivers/clk/tegra/Kconfig | 4 +
> > > drivers/clk/tegra/Makefile | 1 +
> > > drivers/clk/tegra/clk-bpmp.c | 620 +++++++++++++++++++++++++++++++++++++++++++
> > > 3 files changed, 625 insertions(+)
> > > create mode 100644 drivers/clk/tegra/clk-bpmp.c
> >
> > Stephen, Mike,
> >
> > we missed the last merge window with this, but it would be nice to get
> > it in this time. Any more comments?
> >
>
> Don't think so. Shall I merge it into clk-next?
Yeah, let me know if you do, then I can drop it from the Tegra tree.
> Sadly it's not easy to test compile this single driver on the
> commandline. Grumble.
Any way I could help with that? I did put this into the Tegra tree a
while ago after not getting any further responses to at least get it
some broader build coverage.
I personally use a set of scripts to make sure the proper drivers are
compiled. If you can provide information about what you use, perhaps I
can work with you to make this easier for you.
Thierry
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2017-02-06 11:13 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-15 16:11 [PATCH v4] clk: tegra: Add BPMP clock driver Thierry Reding
[not found] ` <20161115161129.29722-1-thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-11-17 1:19 ` Stephen Boyd
[not found] ` <20161117011915.GN25626-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2016-11-17 9:58 ` Thierry Reding
[not found] ` <20161117095840.GA9843-EkSeR96xj6Pcmrwk2tT4+A@public.gmane.org>
2016-11-17 15:57 ` Thierry Reding
2016-11-17 15:47 ` [PATCH v2] " Thierry Reding
2017-01-25 7:41 ` Thierry Reding
[not found] ` <20170125074112.GC13025-EkSeR96xj6Pcmrwk2tT4+A@public.gmane.org>
2017-02-03 20:43 ` Stephen Boyd
[not found] ` <20170203204302.GF25384-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2017-02-06 11:13 ` Thierry Reding [this message]
[not found] ` <20170206111342.GI27607-EkSeR96xj6Pcmrwk2tT4+A@public.gmane.org>
2017-02-06 22:52 ` Stephen Boyd
[not found] ` <20170206225224.GI25384-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2017-02-07 10:52 ` Thierry Reding
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=20170206111342.GI27607@ulmo.ba.sec \
--to=thierry.reding-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=gnurou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=jonathanh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
--cc=linux-clk-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mturquette-rdvid1DuHRBWk0Htik3J/w@public.gmane.org \
--cc=sboyd-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org \
--cc=swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.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).