From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933056AbdCJUia (ORCPT ); Fri, 10 Mar 2017 15:38:30 -0500 Received: from mail-pf0-f171.google.com ([209.85.192.171]:36546 "EHLO mail-pf0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755344AbdCJUiW (ORCPT ); Fri, 10 Mar 2017 15:38:22 -0500 From: Kevin Hilman To: Viresh Kumar Cc: Rafael Wysocki , ulf.hansson@linaro.org, Nishanth Menon , linaro-kernel@lists.linaro.org, linux-pm@vger.kernel.org, Stephen Boyd , linux-kernel@vger.kernel.org, robh+dt@kernel.org, rnayak@codeaurora.org, lina.iyer@linaro.org Subject: Re: [PATCH V3 0/7] PM / Domains: Implement domain performance states Organization: BayLibre References: Date: Fri, 10 Mar 2017 12:38:19 -0800 In-Reply-To: (Viresh Kumar's message of "Fri, 24 Feb 2017 14:36:32 +0530") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (darwin) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Viresh Kumar writes: > This series contain V3 of both the bindings and the code that implement > them. They were sent separately earlier. > > Some platforms have the capability to configure the performance state of > their power domains. The process of configuring the performance state is > pretty much platform dependent and we may need to work with a wide range > of configurables. For some platforms, like Qcom, it can be a positive > integer value alone, while in other cases it can be voltage levels, etc. Why limit it to just voltage levels. As I suggested earlier, I think this should use OPPs. Remember that a PM domain is not limited to a hardware power domain, but is just a grouping mechanism for devices that share some PM properties. As mentioned by Geert, this can also be a clock domain, where frequencies would make sense as well. One can imagine using this type of PM domain to manage an interconnect/bus which has scalable voltage/frequencies as well. Kevin