Re: [RFC PATCH 1/6] PM / Voltagedomain: Add generic clk notifier handler for regulator based dynamic voltage scaling

2014-02-27 Thread Felipe Balbi
Hi, On Wed, Feb 26, 2014 at 08:34:55PM -0600, Nishanth Menon wrote: > On 14:56-20140225, Nishanth Menon wrote: > > On 02/24/2014 11:51 PM, Mike Turquette wrote: > > > Quoting Nishanth Menon (2014-02-18 12:32:18) > [...] > > > I'm not sure about trying to capture the "voltdm" as a core concept. It

Re: [RFC PATCH 1/6] PM / Voltagedomain: Add generic clk notifier handler for regulator based dynamic voltage scaling

2014-02-27 Thread Nishanth Menon
On 02/26/2014 11:00 PM, Mike Turquette wrote: > Quoting Nishanth Menon (2014-02-26 18:34:55) >> +/** >> + * pm_runtime_get_rate() - Returns the device operational frequency >> + * @dev: Device to handle >> + * @rate: Returns rate in Hz. >> + * >> + * Returns appropriate error value in ca

Re: [RFC PATCH 1/6] PM / Voltagedomain: Add generic clk notifier handler for regulator based dynamic voltage scaling

2014-02-26 Thread Mike Turquette
Quoting Nishanth Menon (2014-02-26 18:34:55) > +/** > + * pm_runtime_get_rate() - Returns the device operational frequency > + * @dev: Device to handle > + * @rate: Returns rate in Hz. > + * > + * Returns appropriate error value in case of error conditions, else > + * returns 0 and rate

Re: [RFC PATCH 1/6] PM / Voltagedomain: Add generic clk notifier handler for regulator based dynamic voltage scaling

2014-02-26 Thread Nishanth Menon
On 14:56-20140225, Nishanth Menon wrote: > On 02/24/2014 11:51 PM, Mike Turquette wrote: > > Quoting Nishanth Menon (2014-02-18 12:32:18) [...] > > I'm not sure about trying to capture the "voltdm" as a core concept. It > > feels a bit unwieldy to me. > > Considering it is a simple collation of re

Re: [RFC PATCH 1/6] PM / Voltagedomain: Add generic clk notifier handler for regulator based dynamic voltage scaling

2014-02-25 Thread Nishanth Menon
Hi Mike, On 02/24/2014 11:51 PM, Mike Turquette wrote: > Quoting Nishanth Menon (2014-02-18 12:32:18) >> From: Mike Turquette >> >> This patch provides helper functions for drivers that wish to scale >> voltage through the clock rate-change notifiers. The approach taken >> is that the user-driver(

Re: [RFC PATCH 1/6] PM / Voltagedomain: Add generic clk notifier handler for regulator based dynamic voltage scaling

2014-02-24 Thread Mike Turquette
Quoting Nishanth Menon (2014-02-18 12:32:18) > From: Mike Turquette > > This patch provides helper functions for drivers that wish to scale > voltage through the clock rate-change notifiers. The approach taken > is that the user-driver(cpufreq/devfreq) do not care about the > details of the OPP t

[RFC PATCH 1/6] PM / Voltagedomain: Add generic clk notifier handler for regulator based dynamic voltage scaling

2014-02-18 Thread Nishanth Menon
From: Mike Turquette This patch provides helper functions for drivers that wish to scale voltage through the clock rate-change notifiers. The approach taken is that the user-driver(cpufreq/devfreq) do not care about the details of the OPP table, nor does it care about handling the voltage regulat