Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751800AbdL0Epd (ORCPT ); Tue, 26 Dec 2017 23:45:33 -0500 Received: from mail-pl0-f49.google.com ([209.85.160.49]:37657 "EHLO mail-pl0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751539AbdL0Epb (ORCPT ); Tue, 26 Dec 2017 23:45:31 -0500 X-Google-Smtp-Source: ACJfBossCoMPH4m+nnYlQCOPI50N1VGZKU2B1lNyus/l86qmKXdUcgHA+vdevnNncBDfFmtjnH9GkA== Date: Wed, 27 Dec 2017 10:15:26 +0530 From: Viresh Kumar To: Rob Herring Cc: Stephen Boyd , Ulf Hansson , Kevin Hilman , Viresh Kumar , Nishanth Menon , Rafael Wysocki , "linux-pm@vger.kernel.org" , Vincent Guittot , Rajendra Nayak , Sudeep Holla , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [RFC V7 2/2] OPP: Allow "opp-hz" and "opp-microvolt" to contain magic values Message-ID: <20171227044526.GE8312@vireshk-i7> References: <20171101214333.GG30645@codeaurora.org> <20171102045155.GX4240@vireshk-i7> <20171102071533.GM30645@codeaurora.org> <20171102090033.GZ4240@vireshk-i7> <20171130005029.GC19419@codeaurora.org> <20171130065907.GI11413@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 Content-Length: 973 Lines: 27 On 26-12-17, 14:23, Rob Herring wrote: > > cpu_opp_table: cpu_opp_table { > > compatible = "operating-points-v2"; > > opp-shared; > > > > opp00 { > > opp-hz = /bits/ 64 <208000000>; > > clock-latency-ns = <500000>; > > power-domain-opp = <&domain_opp_1>; > > What is this? opp00 here is not a device. One OPP should not point to > another. "power-domain-opp" is only supposed to appear in devices > alongside power-domains properties. There are two type of devices: A.) With fixed performance state requirements and they will have the new "required-opp" property in the device node itself as you said. B.) Devices which can do DVFS (CPU, MMC, LCD, etc) and those may need a different performance state of the domain for their individual OPPs and so we can't have this property in the device all the time. Does this make sense ? -- viresh