Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753320AbdFURib (ORCPT ); Wed, 21 Jun 2017 13:38:31 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:58444 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751130AbdFURia (ORCPT ); Wed, 21 Jun 2017 13:38:30 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 5C29D6074D Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=sboyd@codeaurora.org Date: Wed, 21 Jun 2017 10:38:27 -0700 From: Stephen Boyd To: Viresh Kumar Cc: Rafael Wysocki , Viresh Kumar , Nishanth Menon , linux-pm@vger.kernel.org, Vincent Guittot , Rajendra Nayak , linux-kernel@vger.kernel.org Subject: Re: [PATCH V2] PM / OPP: Add dev_pm_opp_{set|put}_clkname() Message-ID: <20170621173827.GA4493@codeaurora.org> References: <60e18f9d62e5cd65ae468beb065a3e3ebc205aa4.1498021098.git.viresh.kumar@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <60e18f9d62e5cd65ae468beb065a3e3ebc205aa4.1498021098.git.viresh.kumar@linaro.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 Content-Length: 682 Lines: 18 On 06/21, Viresh Kumar wrote: > In order to support OPP switching, OPP layer needs to get pointer to the > clock for the device. Simple cases work fine without using the routines > added by this patch (i.e. by passing connection-id as NULL), but for a > device with multiple clocks available, the OPP core needs to know the > exact name of the clk to use. > > Add a new set of APIs to get that done. > > Tested-by: Rajendra Nayak > Signed-off-by: Viresh Kumar > --- Reviewed-by: Stephen Boyd -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project