From mboxrd@z Thu Jan 1 00:00:00 1970 From: Viresh Kumar Subject: Re: [PATCH v2 2/5] PM / OPP: Support adjusting OPP voltages at runtime Date: Tue, 22 Sep 2015 09:50:41 -0700 Message-ID: <20150922165041.GG24314@linux> References: <1442623929-4507-1-git-send-email-sboyd@codeaurora.org> <1442623929-4507-3-git-send-email-sboyd@codeaurora.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1442623929-4507-3-git-send-email-sboyd@codeaurora.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Stephen Boyd Cc: Nishanth Menon , David Collins , linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Mark Brown , Srinivas Kandagatla , Andy Gross , linux-arm-kernel@lists.infradead.org List-Id: linux-arm-msm@vger.kernel.org On 18-09-15, 17:52, Stephen Boyd wrote: > /** > + * dev_pm_opp_adjust_voltage() - helper to change the voltage of an OPP > + * @dev: device for which we do this operation > + * @freq: OPP frequency to adjust voltage of > + * @u_volt: new OPP voltage > + * > + * Change the voltage of an OPP with an RCU operation. > + * > + * Return: -EINVAL for bad pointers, -ENOMEM if no memory available for the > + * copy operation, returns 0 if no modifcation was done OR modification was modification > + * successful. Otherwise, Acked-by: Viresh Kumar -- viresh From mboxrd@z Thu Jan 1 00:00:00 1970 From: viresh.kumar@linaro.org (Viresh Kumar) Date: Tue, 22 Sep 2015 09:50:41 -0700 Subject: [PATCH v2 2/5] PM / OPP: Support adjusting OPP voltages at runtime In-Reply-To: <1442623929-4507-3-git-send-email-sboyd@codeaurora.org> References: <1442623929-4507-1-git-send-email-sboyd@codeaurora.org> <1442623929-4507-3-git-send-email-sboyd@codeaurora.org> Message-ID: <20150922165041.GG24314@linux> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 18-09-15, 17:52, Stephen Boyd wrote: > /** > + * dev_pm_opp_adjust_voltage() - helper to change the voltage of an OPP > + * @dev: device for which we do this operation > + * @freq: OPP frequency to adjust voltage of > + * @u_volt: new OPP voltage > + * > + * Change the voltage of an OPP with an RCU operation. > + * > + * Return: -EINVAL for bad pointers, -ENOMEM if no memory available for the > + * copy operation, returns 0 if no modifcation was done OR modification was modification > + * successful. Otherwise, Acked-by: Viresh Kumar -- viresh From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933692AbbIVQ7u (ORCPT ); Tue, 22 Sep 2015 12:59:50 -0400 Received: from mail-pa0-f49.google.com ([209.85.220.49]:36225 "EHLO mail-pa0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933517AbbIVQuo (ORCPT ); Tue, 22 Sep 2015 12:50:44 -0400 Date: Tue, 22 Sep 2015 09:50:41 -0700 From: Viresh Kumar To: Stephen Boyd Cc: linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Nishanth Menon , Srinivas Kandagatla , Andy Gross , linux-pm@vger.kernel.org, Mark Brown , David Collins Subject: Re: [PATCH v2 2/5] PM / OPP: Support adjusting OPP voltages at runtime Message-ID: <20150922165041.GG24314@linux> References: <1442623929-4507-1-git-send-email-sboyd@codeaurora.org> <1442623929-4507-3-git-send-email-sboyd@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1442623929-4507-3-git-send-email-sboyd@codeaurora.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 18-09-15, 17:52, Stephen Boyd wrote: > /** > + * dev_pm_opp_adjust_voltage() - helper to change the voltage of an OPP > + * @dev: device for which we do this operation > + * @freq: OPP frequency to adjust voltage of > + * @u_volt: new OPP voltage > + * > + * Change the voltage of an OPP with an RCU operation. > + * > + * Return: -EINVAL for bad pointers, -ENOMEM if no memory available for the > + * copy operation, returns 0 if no modifcation was done OR modification was modification > + * successful. Otherwise, Acked-by: Viresh Kumar -- viresh