Re: [PATCH RFC RFT 0/3] clk: detect per-user enable imbalances and implement hand-off

2016-02-11 Thread Michael Turquette
Quoting Michael Turquette (2015-12-04 16:46:28) > Heiko Stübner wrote: > > Hi Mike, > > > > Am Freitag, 7. August 2015, 12:09:27 schrieb Michael Turquette: > > > This is an alternative solution to Lee's "clk: Provide support for > > > always-on clocks" series[0]. > > > > > > The first two

Re: [PATCH RFC RFT 0/3] clk: detect per-user enable imbalances and implement hand-off

2016-02-11 Thread Michael Turquette
Quoting Michael Turquette (2015-12-04 16:46:28) > Heiko Stübner wrote: > > Hi Mike, > > > > Am Freitag, 7. August 2015, 12:09:27 schrieb Michael Turquette: > > > This is an alternative solution to Lee's "clk: Provide support for > > > always-on clocks" series[0]. > > > > > > The first two

Re: [PATCH RFC RFT 0/3] clk: detect per-user enable imbalances and implement hand-off

2015-12-04 Thread Michael Turquette
Heiko Stübner wrote: > Hi Mike, > > Am Freitag, 7. August 2015, 12:09:27 schrieb Michael Turquette: > > This is an alternative solution to Lee's "clk: Provide support for > > always-on clocks" series[0]. > > > > The first two patches introduce run-time checks to ensure that clock > > consumer

Re: [PATCH RFC RFT 0/3] clk: detect per-user enable imbalances and implement hand-off

2015-12-04 Thread Michael Turquette
Heiko Stübner wrote: > Hi Mike, > > Am Freitag, 7. August 2015, 12:09:27 schrieb Michael Turquette: > > This is an alternative solution to Lee's "clk: Provide support for > > always-on clocks" series[0]. > > > > The first two patches introduce run-time checks to ensure that clock > > consumer

Re: [PATCH RFC RFT 0/3] clk: detect per-user enable imbalances and implement hand-off

2015-11-24 Thread Heiko Stübner
Hi Mike, Am Freitag, 7. August 2015, 12:09:27 schrieb Michael Turquette: > This is an alternative solution to Lee's "clk: Provide support for > always-on clocks" series[0]. > > The first two patches introduce run-time checks to ensure that clock > consumer drivers are respecting the clk.h api.

Re: [PATCH RFC RFT 0/3] clk: detect per-user enable imbalances and implement hand-off

2015-11-24 Thread Heiko Stübner
Hi Mike, Am Freitag, 7. August 2015, 12:09:27 schrieb Michael Turquette: > This is an alternative solution to Lee's "clk: Provide support for > always-on clocks" series[0]. > > The first two patches introduce run-time checks to ensure that clock > consumer drivers are respecting the clk.h api.

Re: [PATCH RFC RFT 0/3] clk: detect per-user enable imbalances and implement hand-off

2015-10-01 Thread Maxime Ripard
On Wed, Sep 30, 2015 at 05:36:49AM -0700, Michael Turquette wrote: > Quoting Maxime Ripard (2015-08-28 20:55:57) > > Hi Mike, > > > > On Tue, Aug 25, 2015 at 02:50:51PM -0700, Michael Turquette wrote: > > > Quoting Maxime Ripard (2015-08-20 08:15:10) > > > > On Tue, Aug 18, 2015 at 09:43:56AM

Re: [PATCH RFC RFT 0/3] clk: detect per-user enable imbalances and implement hand-off

2015-10-01 Thread Maxime Ripard
On Wed, Sep 30, 2015 at 05:36:49AM -0700, Michael Turquette wrote: > Quoting Maxime Ripard (2015-08-28 20:55:57) > > Hi Mike, > > > > On Tue, Aug 25, 2015 at 02:50:51PM -0700, Michael Turquette wrote: > > > Quoting Maxime Ripard (2015-08-20 08:15:10) > > > > On Tue, Aug 18, 2015 at 09:43:56AM

Re: [PATCH RFC RFT 0/3] clk: detect per-user enable imbalances and implement hand-off

2015-08-28 Thread Maxime Ripard
Hi Mike, On Tue, Aug 25, 2015 at 02:50:51PM -0700, Michael Turquette wrote: > Quoting Maxime Ripard (2015-08-20 08:15:10) > > On Tue, Aug 18, 2015 at 09:43:56AM -0700, Michael Turquette wrote: > > > Quoting Maxime Ripard (2015-08-18 08:45:52) > > > > Hi Mike, > > > > > > > > On Fri, Aug 07, 2015

Re: [PATCH RFC RFT 0/3] clk: detect per-user enable imbalances and implement hand-off

2015-08-28 Thread Maxime Ripard
On Wed, Aug 26, 2015 at 07:54:23AM +0100, Lee Jones wrote: > On Tue, 25 Aug 2015, Michael Turquette wrote: > > > Quoting Maxime Ripard (2015-08-20 08:15:10) > > > On Tue, Aug 18, 2015 at 09:43:56AM -0700, Michael Turquette wrote: > > > > Quoting Maxime Ripard (2015-08-18 08:45:52) > > > > > Hi

Re: [PATCH RFC RFT 0/3] clk: detect per-user enable imbalances and implement hand-off

2015-08-28 Thread Maxime Ripard
Hi Mike, On Tue, Aug 25, 2015 at 02:50:51PM -0700, Michael Turquette wrote: Quoting Maxime Ripard (2015-08-20 08:15:10) On Tue, Aug 18, 2015 at 09:43:56AM -0700, Michael Turquette wrote: Quoting Maxime Ripard (2015-08-18 08:45:52) Hi Mike, On Fri, Aug 07, 2015 at 12:09:27PM

Re: [PATCH RFC RFT 0/3] clk: detect per-user enable imbalances and implement hand-off

2015-08-28 Thread Maxime Ripard
On Wed, Aug 26, 2015 at 07:54:23AM +0100, Lee Jones wrote: On Tue, 25 Aug 2015, Michael Turquette wrote: Quoting Maxime Ripard (2015-08-20 08:15:10) On Tue, Aug 18, 2015 at 09:43:56AM -0700, Michael Turquette wrote: Quoting Maxime Ripard (2015-08-18 08:45:52) Hi Mike,

Re: [PATCH RFC RFT 0/3] clk: detect per-user enable imbalances and implement hand-off

2015-08-26 Thread Lee Jones
Mike, Maxime, Maxime, On Wed, 26 Aug 2015, Maxime Coquelin wrote: > On 08/26/2015 11:09 AM, Lee Jones wrote: > >On Wed, 26 Aug 2015, Maxime Coquelin wrote: > >>On 08/26/2015 08:54 AM, Lee Jones wrote: > >>>On Tue, 25 Aug 2015, Michael Turquette wrote: > >>> > Maybe I am the one missing

Re: [PATCH RFC RFT 0/3] clk: detect per-user enable imbalances and implement hand-off

2015-08-26 Thread Maxime Coquelin
On 08/26/2015 11:09 AM, Lee Jones wrote: On Wed, 26 Aug 2015, Maxime Coquelin wrote: Hi Lee, On 08/26/2015 08:54 AM, Lee Jones wrote: On Tue, 25 Aug 2015, Michael Turquette wrote: Maybe I am the one missing something? My goal was to allow the consumer driver to gate the critical clock.

Re: [PATCH RFC RFT 0/3] clk: detect per-user enable imbalances and implement hand-off

2015-08-26 Thread Lee Jones
On Wed, 26 Aug 2015, Maxime Coquelin wrote: > Hi Lee, > > On 08/26/2015 08:54 AM, Lee Jones wrote: > >On Tue, 25 Aug 2015, Michael Turquette wrote: > > > > > >>Maybe I am the one missing something? My goal was to allow the consumer > >>driver to gate the critical clock. So we need

Re: [PATCH RFC RFT 0/3] clk: detect per-user enable imbalances and implement hand-off

2015-08-26 Thread Maxime Coquelin
Hi Lee, On 08/26/2015 08:54 AM, Lee Jones wrote: On Tue, 25 Aug 2015, Michael Turquette wrote: Maybe I am the one missing something? My goal was to allow the consumer driver to gate the critical clock. So we need clk_disable_unused to actually disable the clock for that to work. I think you

Re: [PATCH RFC RFT 0/3] clk: detect per-user enable imbalances and implement hand-off

2015-08-26 Thread Lee Jones
On Tue, 25 Aug 2015, Michael Turquette wrote: > Quoting Maxime Ripard (2015-08-20 08:15:10) > > On Tue, Aug 18, 2015 at 09:43:56AM -0700, Michael Turquette wrote: > > > Quoting Maxime Ripard (2015-08-18 08:45:52) > > > > Hi Mike, > > > > > > > > On Fri, Aug 07, 2015 at 12:09:27PM -0700, Michael

Re: [PATCH RFC RFT 0/3] clk: detect per-user enable imbalances and implement hand-off

2015-08-26 Thread Lee Jones
On Tue, 25 Aug 2015, Michael Turquette wrote: Quoting Maxime Ripard (2015-08-20 08:15:10) On Tue, Aug 18, 2015 at 09:43:56AM -0700, Michael Turquette wrote: Quoting Maxime Ripard (2015-08-18 08:45:52) Hi Mike, On Fri, Aug 07, 2015 at 12:09:27PM -0700, Michael Turquette wrote:

Re: [PATCH RFC RFT 0/3] clk: detect per-user enable imbalances and implement hand-off

2015-08-26 Thread Lee Jones
On Wed, 26 Aug 2015, Maxime Coquelin wrote: Hi Lee, On 08/26/2015 08:54 AM, Lee Jones wrote: On Tue, 25 Aug 2015, Michael Turquette wrote: Maybe I am the one missing something? My goal was to allow the consumer driver to gate the critical clock. So we need clk_disable_unused to

Re: [PATCH RFC RFT 0/3] clk: detect per-user enable imbalances and implement hand-off

2015-08-26 Thread Maxime Coquelin
Hi Lee, On 08/26/2015 08:54 AM, Lee Jones wrote: On Tue, 25 Aug 2015, Michael Turquette wrote: Maybe I am the one missing something? My goal was to allow the consumer driver to gate the critical clock. So we need clk_disable_unused to actually disable the clock for that to work. I think you

Re: [PATCH RFC RFT 0/3] clk: detect per-user enable imbalances and implement hand-off

2015-08-26 Thread Maxime Coquelin
On 08/26/2015 11:09 AM, Lee Jones wrote: On Wed, 26 Aug 2015, Maxime Coquelin wrote: Hi Lee, On 08/26/2015 08:54 AM, Lee Jones wrote: On Tue, 25 Aug 2015, Michael Turquette wrote: Maybe I am the one missing something? My goal was to allow the consumer driver to gate the critical clock.

Re: [PATCH RFC RFT 0/3] clk: detect per-user enable imbalances and implement hand-off

2015-08-26 Thread Lee Jones
Mike, Maxime, Maxime, On Wed, 26 Aug 2015, Maxime Coquelin wrote: On 08/26/2015 11:09 AM, Lee Jones wrote: On Wed, 26 Aug 2015, Maxime Coquelin wrote: On 08/26/2015 08:54 AM, Lee Jones wrote: On Tue, 25 Aug 2015, Michael Turquette wrote: Maybe I am the one missing something? My goal was to

Re: [PATCH RFC RFT 0/3] clk: detect per-user enable imbalances and implement hand-off

2015-08-20 Thread Maxime Ripard
On Tue, Aug 18, 2015 at 09:43:56AM -0700, Michael Turquette wrote: > Quoting Maxime Ripard (2015-08-18 08:45:52) > > Hi Mike, > > > > On Fri, Aug 07, 2015 at 12:09:27PM -0700, Michael Turquette wrote: > > > All of the other kitchen sink stuff (DT binding, passing the flag back > > > to the

Re: [PATCH RFC RFT 0/3] clk: detect per-user enable imbalances and implement hand-off

2015-08-20 Thread Maxime Ripard
On Tue, Aug 18, 2015 at 09:43:56AM -0700, Michael Turquette wrote: Quoting Maxime Ripard (2015-08-18 08:45:52) Hi Mike, On Fri, Aug 07, 2015 at 12:09:27PM -0700, Michael Turquette wrote: All of the other kitchen sink stuff (DT binding, passing the flag back to the framework when the

Re: [PATCH RFC RFT 0/3] clk: detect per-user enable imbalances and implement hand-off

2015-08-18 Thread Maxime Ripard
Hi Mike, On Fri, Aug 07, 2015 at 12:09:27PM -0700, Michael Turquette wrote: > All of the other kitchen sink stuff (DT binding, passing the flag back > to the framework when the clock consumer driver calls clk_put) was left > out because I do not see a real use case for it. If one can demonstrate

Re: [PATCH RFC RFT 0/3] clk: detect per-user enable imbalances and implement hand-off

2015-08-18 Thread Maxime Ripard
Hi Mike, On Fri, Aug 07, 2015 at 12:09:27PM -0700, Michael Turquette wrote: All of the other kitchen sink stuff (DT binding, passing the flag back to the framework when the clock consumer driver calls clk_put) was left out because I do not see a real use case for it. If one can demonstrate a

Re: [PATCH RFC RFT 0/3] clk: detect per-user enable imbalances and implement hand-off

2015-08-11 Thread Geert Uytterhoeven
Hi Mike, On Tue, Aug 11, 2015 at 6:41 PM, Michael Turquette wrote: > Quoting Geert Uytterhoeven (2015-08-11 02:20:12) >> On Fri, Aug 7, 2015 at 9:09 PM, Michael Turquette >> wrote: >> > This is an alternative solution to Lee's "clk: Provide support for >> > always-on clocks" series[0]. >> I

Re: [PATCH RFC RFT 0/3] clk: detect per-user enable imbalances and implement hand-off

2015-08-11 Thread Geert Uytterhoeven
Hi Mike, On Fri, Aug 7, 2015 at 9:09 PM, Michael Turquette wrote: > This is an alternative solution to Lee's "clk: Provide support for > always-on clocks" series[0]. > > The first two patches introduce run-time checks to ensure that clock > consumer drivers are respecting the clk.h api. The

Re: [PATCH RFC RFT 0/3] clk: detect per-user enable imbalances and implement hand-off

2015-08-11 Thread Lee Jones
On Mon, 10 Aug 2015, Michael Turquette wrote: > Quoting Lee Jones (2015-08-10 08:36:38) > > On Fri, 07 Aug 2015, Michael Turquette wrote: > > > This is an alternative solution to Lee's "clk: Provide support for > > > always-on clocks" series[0]. > > > > So after all the hours of work that's been

Re: [PATCH RFC RFT 0/3] clk: detect per-user enable imbalances and implement hand-off

2015-08-11 Thread Geert Uytterhoeven
Hi Mike, On Fri, Aug 7, 2015 at 9:09 PM, Michael Turquette mturque...@baylibre.com wrote: This is an alternative solution to Lee's clk: Provide support for always-on clocks series[0]. The first two patches introduce run-time checks to ensure that clock consumer drivers are respecting the

Re: [PATCH RFC RFT 0/3] clk: detect per-user enable imbalances and implement hand-off

2015-08-11 Thread Lee Jones
On Mon, 10 Aug 2015, Michael Turquette wrote: Quoting Lee Jones (2015-08-10 08:36:38) On Fri, 07 Aug 2015, Michael Turquette wrote: This is an alternative solution to Lee's clk: Provide support for always-on clocks series[0]. So after all the hours of work that's been put in and all

Re: [PATCH RFC RFT 0/3] clk: detect per-user enable imbalances and implement hand-off

2015-08-11 Thread Geert Uytterhoeven
Hi Mike, On Tue, Aug 11, 2015 at 6:41 PM, Michael Turquette mturque...@baylibre.com wrote: Quoting Geert Uytterhoeven (2015-08-11 02:20:12) On Fri, Aug 7, 2015 at 9:09 PM, Michael Turquette mturque...@baylibre.com wrote: This is an alternative solution to Lee's clk: Provide support for

Re: [PATCH RFC RFT 0/3] clk: detect per-user enable imbalances and implement hand-off

2015-08-10 Thread Lee Jones
On Fri, 07 Aug 2015, Michael Turquette wrote: > This is an alternative solution to Lee's "clk: Provide support for > always-on clocks" series[0]. So after all the hours of work that's been put in and all of the versions that have been authored, you're just going to write your own solution

Re: [PATCH RFC RFT 0/3] clk: detect per-user enable imbalances and implement hand-off

2015-08-10 Thread Lee Jones
On Fri, 07 Aug 2015, Michael Turquette wrote: This is an alternative solution to Lee's clk: Provide support for always-on clocks series[0]. So after all the hours of work that's been put in and all of the versions that have been authored, you're just going to write your own solution anyway,

[PATCH RFC RFT 0/3] clk: detect per-user enable imbalances and implement hand-off

2015-08-07 Thread Michael Turquette
This is an alternative solution to Lee's "clk: Provide support for always-on clocks" series[0]. The first two patches introduce run-time checks to ensure that clock consumer drivers are respecting the clk.h api. The former patch checks for prepare and enable imbalances. The latter checks for

[PATCH RFC RFT 0/3] clk: detect per-user enable imbalances and implement hand-off

2015-08-07 Thread Michael Turquette
This is an alternative solution to Lee's clk: Provide support for always-on clocks series[0]. The first two patches introduce run-time checks to ensure that clock consumer drivers are respecting the clk.h api. The former patch checks for prepare and enable imbalances. The latter checks for calls