From: Stephen Boyd <sboyd@codeaurora.org>
To: Mikko Perttunen <mikko.perttunen@kapsi.fi>
Cc: Boris Brezillon <boris.brezillon@free-electrons.com>,
Mike Turquette <mturquette@linaro.org>,
linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org,
Jonathan Corbet <corbet@lwn.net>,
Shawn Guo <shawn.guo@linaro.org>,
ascha Hauer <kernel@pengutronix.de>,
David Brown <davidb@codeaurora.org>,
Daniel Walker <dwalker@fifo99.com>,
Bryan Huntsman <bryanh@codeaurora.org>,
Tony Lindgren <tony@atomide.com>, Paul Walmsley <paul@pwsan.com>,
Liviu Dudau <liviu.dudau@arm.com>,
Sudeep Holla <sudeep.holla@arm.com>,
Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>,
Ralf Baechle <ralf@linux-mips.org>,
Max Filippov <jcmvbkbc@gmail.com>,
Heiko Stuebner <heiko@sntech.de>,
Sylwester Nawrocki <s.nawrocki@samsung.com>,
Tomasz Figa <tomasz.figa@gmail.com>,
Barry Song <baohua@kernel.org>,
Viresh Kumar <viresh.linux@gmail.com>,
Emilio L?pez <emilio@elopez.com.ar>, Maxime Ripard <maxime.rip>
Subject: Re: [PATCH v2 1/2] clk: change clk_ops' ->round_rate() prototype
Date: Tue, 19 May 2015 18:01:44 -0700 [thread overview]
Message-ID: <20150520010144.GA31054@codeaurora.org> (raw)
In-Reply-To: <5557267D.7080209@kapsi.fi>
On 05/16, Mikko Perttunen wrote:
> On 05/15/2015 06:40 PM, Boris Brezillon wrote:
> >Hi Stephen,
> >
> >Adding Mikko in the loop (after all, he was the one complaining about
> >this signed long limitation in the first place, and I forgot to add
> >him in the Cc list :-/).
>
> I think I got it through linux-tegra anyway, but thanks :)
>
> >
> >Mikko, are you okay with the approach proposed by Stephen (adding a
> >new method) ?
>
> Yes, sounds good to me. If a driver uses the existing methods with
> too large frequencies, the issue is pretty discoverable anyway. I
> think "adjust_rate" sounds a bit too much like it sets the clock's
> rate, though; perhaps "adjust_rate_request" or something like that?
>
Well I'm also OK with changing the determine_rate API one more
time, but we'll have to be careful. Invariably someone will push
a new clock driver through some non-clk tree path and we'll get
build breakage. They shouldn't be doing that, so either we do the
change now and push it to -next and see what breaks, or we do
this after -rc1 comes out and make sure everyone has lots of
warning.
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
WARNING: multiple messages have this Message-ID (diff)
From: Stephen Boyd <sboyd@codeaurora.org>
To: Mikko Perttunen <mikko.perttunen@kapsi.fi>
Cc: Boris Brezillon <boris.brezillon@free-electrons.com>,
Mike Turquette <mturquette@linaro.org>,
linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org,
Jonathan Corbet <corbet@lwn.net>,
Shawn Guo <shawn.guo@linaro.org>,
ascha Hauer <kernel@pengutronix.de>,
David Brown <davidb@codeaurora.org>,
Daniel Walker <dwalker@fifo99.com>,
Bryan Huntsman <bryanh@codeaurora.org>,
Tony Lindgren <tony@atomide.com>, Paul Walmsley <paul@pwsan.com>,
Liviu Dudau <liviu.dudau@arm.com>,
Sudeep Holla <sudeep.holla@arm.com>,
Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>,
Ralf Baechle <ralf@linux-mips.org>,
Max Filippov <jcmvbkbc@gmail.com>,
Heiko Stuebner <heiko@sntech.de>,
Sylwester Nawrocki <s.nawrocki@samsung.com>,
Tomasz Figa <tomasz.figa@gmail.com>,
Barry Song <baohua@kernel.org>,
Viresh Kumar <viresh.linux@gmail.com>,
Emilio L?pez <emilio@elopez.com.ar>,
Maxime Ripard <maxime.ripard@free-electrons.com>,
Peter De Schrijver <pdeschrijver@nvidia.com>,
Prashant Gaikwad <pgaikwad@nvidia.com>,
Stephen Warren <swarren@wwwdotorg.org>,
Thierry Reding <thierry.reding@gmail.com>,
Alexandre Courbot <gnurou@gmail.com>,
Tero Kristo <t-kristo@ti.com>,
Ulf Hansson <ulf.hansson@linaro.org>,
Michal Simek <michal.simek@xilinx.com>,
Philipp Zabel <p.zabel@pengutronix.de>,
linux-doc@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-arm-msm@vger.kernel.org, linux-omap@vger.kernel.org,
linux-mips@linux-mips.org, patches@opensource.wolfsonmicro.com,
linux-rockchip@lists.infradead.org,
linux-samsung-soc@vger.kernel.org, spear-devel@list.st.com,
linux-tegra@vger.kernel.org, dri-devel@lists.freedesktop.org,
linux-media@vger.kernel.org, rtc-linux@googlegroups.com
Subject: Re: [PATCH v2 1/2] clk: change clk_ops' ->round_rate() prototype
Date: Tue, 19 May 2015 18:01:44 -0700 [thread overview]
Message-ID: <20150520010144.GA31054@codeaurora.org> (raw)
In-Reply-To: <5557267D.7080209@kapsi.fi>
On 05/16, Mikko Perttunen wrote:
> On 05/15/2015 06:40 PM, Boris Brezillon wrote:
> >Hi Stephen,
> >
> >Adding Mikko in the loop (after all, he was the one complaining about
> >this signed long limitation in the first place, and I forgot to add
> >him in the Cc list :-/).
>
> I think I got it through linux-tegra anyway, but thanks :)
>
> >
> >Mikko, are you okay with the approach proposed by Stephen (adding a
> >new method) ?
>
> Yes, sounds good to me. If a driver uses the existing methods with
> too large frequencies, the issue is pretty discoverable anyway. I
> think "adjust_rate" sounds a bit too much like it sets the clock's
> rate, though; perhaps "adjust_rate_request" or something like that?
>
Well I'm also OK with changing the determine_rate API one more
time, but we'll have to be careful. Invariably someone will push
a new clock driver through some non-clk tree path and we'll get
build breakage. They shouldn't be doing that, so either we do the
change now and push it to -next and see what breaks, or we do
this after -rc1 comes out and make sure everyone has lots of
warning.
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
WARNING: multiple messages have this Message-ID (diff)
From: Stephen Boyd <sboyd@codeaurora.org>
To: Mikko Perttunen <mikko.perttunen@kapsi.fi>
Cc: Boris Brezillon <boris.brezillon@free-electrons.com>,
Mike Turquette <mturquette@linaro.org>,
linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org,
Jonathan Corbet <corbet@lwn.net>,
Shawn Guo <shawn.guo@linaro.org>,
ascha Hauer <kernel@pengutronix.de>,
David Brown <davidb@codeaurora.org>,
Daniel Walker <dwalker@fifo99.com>,
Bryan Huntsman <bryanh@codeaurora.org>,
Tony Lindgren <tony@atomide.com>, Paul Walmsley <paul@pwsan.com>,
Liviu Dudau <liviu.dudau@arm.com>,
Sudeep Holla <sudeep.holla@arm.com>,
Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>,
Ralf Baechle <ralf@linux-mips.org>,
Max Filippov <jcmvbkbc@gmail.com>,
Heiko Stuebner <heiko@sntech.de>,
Sylwester Nawrocki <s.nawrocki@samsung.com>,
Tomasz Figa <tomasz.figa@gmail.com>,
Barry Song <baohua@kernel.org>,
Viresh Kumar <viresh.linux@gmail.com>,
Emilio L?pez <emilio@elopez.com.ar>,
Maxime Ripard <maxime.ripard@free-electrons.com>,
Peter De Schrijver <pdeschrijver@nvidia.com>,
Prashant Gaikwad <pgaikwad@nvidia.com>,
Stephen Warren <swarren@wwwdotorg.org>,
Thierry Reding <thierry.reding@gmail.com>,
Alexandre Courbot <gnurou@gmail.com>,
Tero Kristo <t-kristo@ti.com>,
Ulf Hansson <ulf.hansson@linaro.org>,
Michal Simek <michal.simek@xilinx.com>,
Philipp Zabel <p.zabel@pengutronix.de>,
linux-doc@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-arm-msm@vger.kernel.org, linux-omap@vger.kernel.org,
linux-mips@linux-mips.org, patches@opensource.wolfsonmicro.com,
linux-rockchip@lists.infradead.org,
linux-samsung-soc@vger.kernel.org, spear-devel@list.st.com,
linux-tegra@vger.kernel.org, dri-devel@lists.freedesktop.org,
linux-media@vger.kernel.org, rtc-linux@googlegroups.com
Subject: [rtc-linux] Re: [PATCH v2 1/2] clk: change clk_ops' ->round_rate() prototype
Date: Tue, 19 May 2015 18:01:44 -0700 [thread overview]
Message-ID: <20150520010144.GA31054@codeaurora.org> (raw)
In-Reply-To: <5557267D.7080209@kapsi.fi>
On 05/16, Mikko Perttunen wrote:
> On 05/15/2015 06:40 PM, Boris Brezillon wrote:
> >Hi Stephen,
> >
> >Adding Mikko in the loop (after all, he was the one complaining about
> >this signed long limitation in the first place, and I forgot to add
> >him in the Cc list :-/).
>
> I think I got it through linux-tegra anyway, but thanks :)
>
> >
> >Mikko, are you okay with the approach proposed by Stephen (adding a
> >new method) ?
>
> Yes, sounds good to me. If a driver uses the existing methods with
> too large frequencies, the issue is pretty discoverable anyway. I
> think "adjust_rate" sounds a bit too much like it sets the clock's
> rate, though; perhaps "adjust_rate_request" or something like that?
>
Well I'm also OK with changing the determine_rate API one more
time, but we'll have to be careful. Invariably someone will push
a new clock driver through some non-clk tree path and we'll get
build breakage. They shouldn't be doing that, so either we do the
change now and push it to -next and see what breaks, or we do
this after -rc1 comes out and make sure everyone has lots of
warning.
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
--
--
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
---
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
WARNING: multiple messages have this Message-ID (diff)
From: sboyd@codeaurora.org (Stephen Boyd)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 1/2] clk: change clk_ops' ->round_rate() prototype
Date: Tue, 19 May 2015 18:01:44 -0700 [thread overview]
Message-ID: <20150520010144.GA31054@codeaurora.org> (raw)
In-Reply-To: <5557267D.7080209@kapsi.fi>
On 05/16, Mikko Perttunen wrote:
> On 05/15/2015 06:40 PM, Boris Brezillon wrote:
> >Hi Stephen,
> >
> >Adding Mikko in the loop (after all, he was the one complaining about
> >this signed long limitation in the first place, and I forgot to add
> >him in the Cc list :-/).
>
> I think I got it through linux-tegra anyway, but thanks :)
>
> >
> >Mikko, are you okay with the approach proposed by Stephen (adding a
> >new method) ?
>
> Yes, sounds good to me. If a driver uses the existing methods with
> too large frequencies, the issue is pretty discoverable anyway. I
> think "adjust_rate" sounds a bit too much like it sets the clock's
> rate, though; perhaps "adjust_rate_request" or something like that?
>
Well I'm also OK with changing the determine_rate API one more
time, but we'll have to be careful. Invariably someone will push
a new clock driver through some non-clk tree path and we'll get
build breakage. They shouldn't be doing that, so either we do the
change now and push it to -next and see what breaks, or we do
this after -rc1 comes out and make sure everyone has lots of
warning.
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
next prev parent reply other threads:[~2015-05-20 1:01 UTC|newest]
Thread overview: 53+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-30 15:30 [PATCH v2 0/2] clk: adapt ->round_rate()/->determine_rate() prototypes Boris Brezillon
2015-04-30 15:30 ` Boris Brezillon
2015-04-30 15:30 ` [rtc-linux] " Boris Brezillon
2015-04-30 15:30 ` Boris Brezillon
2015-04-30 15:30 ` [PATCH v2 1/2] clk: change clk_ops' ->round_rate() prototype Boris Brezillon
2015-04-30 15:30 ` Boris Brezillon
2015-04-30 15:30 ` [rtc-linux] " Boris Brezillon
2015-04-30 15:30 ` Boris Brezillon
2015-05-07 6:39 ` Stephen Boyd
2015-05-07 6:39 ` Stephen Boyd
2015-05-07 6:39 ` [rtc-linux] " Stephen Boyd
2015-05-07 6:39 ` Stephen Boyd
2015-05-07 7:37 ` Boris Brezillon
2015-05-07 7:37 ` Boris Brezillon
2015-05-07 7:37 ` [rtc-linux] " Boris Brezillon
2015-05-07 7:37 ` Boris Brezillon
2015-05-15 15:40 ` Boris Brezillon
2015-05-15 15:40 ` Boris Brezillon
2015-05-15 15:40 ` [rtc-linux] " Boris Brezillon
2015-05-15 15:40 ` Boris Brezillon
2015-05-16 11:14 ` Mikko Perttunen
2015-05-16 11:14 ` Mikko Perttunen
2015-05-16 11:14 ` [rtc-linux] " Mikko Perttunen
2015-05-16 11:14 ` Mikko Perttunen
2015-05-20 1:01 ` Stephen Boyd [this message]
2015-05-20 1:01 ` Stephen Boyd
2015-05-20 1:01 ` [rtc-linux] " Stephen Boyd
2015-05-20 1:01 ` Stephen Boyd
2015-06-04 23:02 ` Paul Walmsley
2015-06-04 23:02 ` Paul Walmsley
2015-06-04 23:02 ` [rtc-linux] " Paul Walmsley
2015-06-04 23:02 ` Paul Walmsley
2015-06-05 8:46 ` Jon Hunter
2015-06-05 8:46 ` Jon Hunter
2015-06-05 8:46 ` [rtc-linux] " Jon Hunter
2015-06-05 8:46 ` Jon Hunter
2015-06-05 11:39 ` Boris Brezillon
2015-06-05 11:39 ` Boris Brezillon
2015-06-05 11:39 ` [rtc-linux] " Boris Brezillon
2015-06-05 11:39 ` Boris Brezillon
2015-06-08 8:46 ` Jon Hunter
2015-06-08 8:46 ` Jon Hunter
2015-06-08 8:46 ` [rtc-linux] " Jon Hunter
2015-06-08 8:46 ` Jon Hunter
2015-06-10 3:02 ` Michael Turquette
2015-06-10 7:00 ` Boris Brezillon
2015-06-10 7:00 ` Boris Brezillon
2015-06-05 11:38 ` Boris Brezillon
2015-06-05 11:38 ` Boris Brezillon
2015-06-05 11:38 ` [rtc-linux] " Boris Brezillon
2015-06-05 11:38 ` Boris Brezillon
2015-04-30 15:30 ` [PATCH v2 2/2] clk: change clk_ops' ->determine_rate() prototype Boris Brezillon
2015-04-30 15:30 ` Boris Brezillon
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=20150520010144.GA31054@codeaurora.org \
--to=sboyd@codeaurora.org \
--cc=baohua@kernel.org \
--cc=boris.brezillon@free-electrons.com \
--cc=bryanh@codeaurora.org \
--cc=corbet@lwn.net \
--cc=davidb@codeaurora.org \
--cc=dwalker@fifo99.com \
--cc=emilio@elopez.com.ar \
--cc=heiko@sntech.de \
--cc=jcmvbkbc@gmail.com \
--cc=kernel@pengutronix.de \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=liviu.dudau@arm.com \
--cc=lorenzo.pieralisi@arm.com \
--cc=mikko.perttunen@kapsi.fi \
--cc=mturquette@linaro.org \
--cc=paul@pwsan.com \
--cc=ralf@linux-mips.org \
--cc=s.nawrocki@samsung.com \
--cc=shawn.guo@linaro.org \
--cc=sudeep.holla@arm.com \
--cc=tomasz.figa@gmail.com \
--cc=tony@atomide.com \
--cc=viresh.linux@gmail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.