Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932666AbdLRKVi (ORCPT ); Mon, 18 Dec 2017 05:21:38 -0500 Received: from mail-pl0-f67.google.com ([209.85.160.67]:40589 "EHLO mail-pl0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932610AbdLRKVg (ORCPT ); Mon, 18 Dec 2017 05:21:36 -0500 X-Google-Smtp-Source: ACJfBotBQFOYY9gBcA2m0tXDkjvB06/Xw8wN0Ul7AsDinP/KXgYCAx961DtBKl6N80kOfIhNP2Y+Bw== From: Viresh Kumar To: ulf.hansson@linaro.org, Kevin Hilman , robh+dt@kernel.org, Nishanth Menon , "Rafael J. Wysocki" , Stephen Boyd , Viresh Kumar Cc: Viresh Kumar , linux-pm@vger.kernel.org, Vincent Guittot , rnayak@codeaurora.org, sudeep.holla@arm.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH V8 0/3] OPP: Allow OPP table to be used for power-domains Date: Mon, 18 Dec 2017 15:51:27 +0530 Message-Id: X-Mailer: git-send-email 2.15.0.194.g9af6a3dea062 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1443 Lines: 43 Hi, Now that the performance state of PM domains are supported by the kernel (merged in linux-next), I am trying once again to define the bindings which we dropped until the code is merged first. Summary: Power-domains can also have their active states and this patchset enhances the OPP binding to define those. The power domains can use the OPP bindings mostly as is. Though there are some changes required to support special cases: - Allow "operating-points-v2" to contain multiple phandles for power domain providers providing multiple domains. - A new property "required-opp" is added for the devices to specify the minimum required OPP of the master domain or any other type of device. - Allow some of the OPP properties to accept magic values (firmware dependent) as the OS doesn't know the real freq/voltage values. V7->V8: - V7 1/2 divided into two patches. 1/3 is unchanged from V7. - 2/3 renamed the property from "power-domain-opp" to "required-opp", as suggested by Rob. - Added Ulf's reviewed-by for 1/3 and 3/3. -- viresh Viresh Kumar (3): OPP: Allow OPP table to be used for power-domains OPP: Introduce "required-opp" property OPP: Allow "opp-hz" and "opp-microvolt" to contain magic values Documentation/devicetree/bindings/opp/opp.txt | 19 +++++++ .../devicetree/bindings/power/power_domain.txt | 65 ++++++++++++++++++++++ 2 files changed, 84 insertions(+) -- 2.15.0.194.g9af6a3dea062