From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753612AbdEIF31 (ORCPT ); Tue, 9 May 2017 01:29:27 -0400 Received: from mail-pf0-f175.google.com ([209.85.192.175]:33911 "EHLO mail-pf0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752050AbdEIF3Z (ORCPT ); Tue, 9 May 2017 01:29:25 -0400 Date: Tue, 9 May 2017 10:59:21 +0530 From: Viresh Kumar To: Sudeep Holla Cc: Rob Herring , Rafael Wysocki , ulf.hansson@linaro.org, Kevin Hilman , Viresh Kumar , Nishanth Menon , Stephen Boyd , linaro-kernel@lists.linaro.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Vincent Guittot , lina.iyer@linaro.org, rnayak@codeaurora.org, devicetree@vger.kernel.org Subject: Re: [PATCH V6 1/9] PM / OPP: Introduce "power-domain-opp" property Message-ID: <20170509052921.GA15657@vireshk-i7> References: <025acedb263eaa6089d354d9630214ada8013990.1493203884.git.viresh.kumar@linaro.org> <20170428204803.plu467okibtxga4d@rob-hp-laptop> <20170508071350.GH17010@vireshk-i7> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08-05-17, 14:57, Sudeep Holla wrote: > Yes, I followed the thread and figured that out. But Rajendra also > raised "What if the microcontroller firmware maps the performance-index > to voltage but expects linux to scale the frequency? There is no way to > specify a performance-index *and* a frequency for a OPP now I guess? So > this needs to be addressd now IIUC. No, he misunderstood it. He was saying that the domain needs a performance-index and the device needs freq-scaling, how do we do that? He thought that there will be just one OPP table for the device here, but we will actually have two and that would work. > So as Kevin pointed out, we need to experiment and look at all > possibilities before finalizing the bindings. Better to have examples > for all these and describe how bindings are be used including how to > distinguish between these use-case from the bindings if it's not implicit. Yeah, I have some doubts on how we are going to implement that and looking for more input from him. -- viresh