From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Boyd Subject: Re: [PATCH V2 3/7] PM / OPP: Add dev_pm_opp_get_sharing_cpus() Date: Mon, 2 May 2016 17:46:16 -0700 Message-ID: <20160503004616.GN3492@codeaurora.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Viresh Kumar Cc: Rafael Wysocki , Viresh Kumar , Nishanth Menon , linaro-kernel@lists.linaro.org, linux-pm@vger.kernel.org, arnd.bergmann@linaro.org, linux-kernel@vger.kernel.org List-Id: linux-pm@vger.kernel.org On 04/27, Viresh Kumar wrote: > OPP core allows a platform to mark OPP table as shared, when the > platform isn't using operating-points-v2 bindings. > > And, so there should be a non DT way of finding out if the OPP table is > shared or not. > > This patch adds dev_pm_opp_get_sharing_cpus(), which first tries to get > OPP sharing information from the opp-table (in case it is already marked > as shared), otherwise it uses the existing DT way of finding sharing > information. > > 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