Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp9778069ybi; Wed, 24 Jul 2019 09:47:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqyDHLLrzInOD6UQiPfVQUq9lzPnGxggyyUCi782Y2bMA+x2DW4vuBjD9WoAlR8Bx4Hsbp+l X-Received: by 2002:a65:5043:: with SMTP id k3mr24457156pgo.406.1563986831704; Wed, 24 Jul 2019 09:47:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563986831; cv=none; d=google.com; s=arc-20160816; b=tjgTPaQY36kn/P/5XVWUHpgkoAx9p4uARLhg64qLS01y1ZnYf+aSQfZEbv9KxdTeJo tx96dGdy0mtMlayjxqAdUDjcBhIcBj6JGJ0Si/wKx3+A9ul+nKJeNpBjWMttBYZ6X69z aASRkEJ754gbTALRormI3d3dA90Od8le0rORoG3T2drNj5smEy8VwmJyIqgmkxN/oC3V idq1YUf7i7KJd0SI6gwghf3fvF6MTkP18ZCiW4Ih4vBdnsnxyiRnlOKOluFRqJB0bmgV TlIYe/q6O2u4bftADIzFpr1gvT7aro2cpdAHeyR4nHd62jiD8vvCGxkPMCQ/WaxVEniJ Ufag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=3pDFUgVV3AzO747g/R1qutUAuLnJGEUD5MXGKcmRXCQ=; b=zocTs8MfhXXSrTi06a0Nc/mh4l/FPimtl8yJWDKHUorn4FodJ9YOLO0qoy8qSeiwTw B0KrbBV9t/AP88S+wc5we5B/snIwfwo3fJXLzDkIhiz0nHWs82OI/9oFNWJkyEMQ4ctk 4r8dV37DFwypOi+JK+K7yxJvVkZB9VkqsS69W7sn8spqPkF70+2nw2PYUJzxstEpJhPE lbv8LhOfLhYnOVWvHto52U9te9ACu/omRQUoYxK7gJb6izQOmTmIlRb1bbmy1iXWUZYe To4qFvbi0CfEuk2Mu7ayyAwfKG1+PRPEO425v0kH8Rcc/dKJiJhv/UrT3l16mW4Bffm4 jMsg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d1si13410279pla.75.2019.07.24.09.46.56; Wed, 24 Jul 2019 09:47:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728358AbfGXP1A (ORCPT + 99 others); Wed, 24 Jul 2019 11:27:00 -0400 Received: from mail-io1-f67.google.com ([209.85.166.67]:36602 "EHLO mail-io1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725870AbfGXP07 (ORCPT ); Wed, 24 Jul 2019 11:26:59 -0400 Received: by mail-io1-f67.google.com with SMTP id o9so90519416iom.3; Wed, 24 Jul 2019 08:26:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=3pDFUgVV3AzO747g/R1qutUAuLnJGEUD5MXGKcmRXCQ=; b=EAc153ZgiuZkJetsVVoLbxnW/pOgGWTrsX32xsN7oNaL5ORLWBMjIDkmGxvEAVPt1l XB4Wy6swLPkn/4U99rTT2P7tZF1WWkbUkNjBeRxZY7aMDGk4R7KHuws19wYH/MJMy2Tt x8U+BLs+yXNys5k8VREsRUlWmja3nQO/uE7MgltRvs1m2IFIZhiqeXUmm3lDMnJbufN2 jQAPGyW93INtE3laYP4A0ljnL4rs+DcTA0sLEL3xRob3PF69CY/l1yEcJzRzzSLk2viM YgtGnMhROH7hX8kPRRtIpJAILDLZ2wn7/4zVLqKc61KZn9cYjIiYTY8xYlaJtjr0pxSM kL7w== X-Gm-Message-State: APjAAAU1CsDsZ8ao0l6pPzVFJ5CRpqEqqBwKFZ9J9RTMhBr6rkowL5QG BK27g0+z9paKJ4bPojNkWjN3chA= X-Received: by 2002:a02:5185:: with SMTP id s127mr15626392jaa.44.1563982018545; Wed, 24 Jul 2019 08:26:58 -0700 (PDT) Received: from localhost ([64.188.179.254]) by smtp.gmail.com with ESMTPSA id r24sm33807658ioc.76.2019.07.24.08.26.57 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 24 Jul 2019 08:26:57 -0700 (PDT) Date: Wed, 24 Jul 2019 09:26:56 -0600 From: Rob Herring To: Niklas Cassel Cc: Ilia Lin , Andy Gross , Viresh Kumar , Nishanth Menon , Stephen Boyd , linux-arm-msm@vger.kernel.org, jorge.ramirez-ortiz@linaro.org, bjorn.andersson@linaro.org, ulf.hansson@linaro.org, Mark Rutland , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 05/13] dt-bindings: cpufreq: qcom-nvmem: Support pstates provided by a power domain Message-ID: <20190724152656.GA10017@bogus> References: <20190705095726.21433-1-niklas.cassel@linaro.org> <20190705095726.21433-6-niklas.cassel@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190705095726.21433-6-niklas.cassel@linaro.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 05, 2019 at 11:57:16AM +0200, Niklas Cassel wrote: > Some Qualcomm SoCs have support for Core Power Reduction (CPR). > On these platforms, we need to attach to the power domain provider > providing the performance states, so that the leaky device (the CPU) > can configure the performance states (which represent different > CPU clock frequencies). > > Signed-off-by: Niklas Cassel > --- > .../bindings/opp/qcom-nvmem-cpufreq.txt | 111 ++++++++++++++++++ > 1 file changed, 111 insertions(+) > > diff --git a/Documentation/devicetree/bindings/opp/qcom-nvmem-cpufreq.txt b/Documentation/devicetree/bindings/opp/qcom-nvmem-cpufreq.txt > index c5ea8b90e35d..e19a95318e98 100644 > --- a/Documentation/devicetree/bindings/opp/qcom-nvmem-cpufreq.txt > +++ b/Documentation/devicetree/bindings/opp/qcom-nvmem-cpufreq.txt > @@ -23,6 +23,15 @@ In 'operating-points-v2' table: > > Optional properties: > -------------------- > +In 'cpus' nodes: In 'cpus' node or 'cpu' nodes? > +- power-domains: A phandle pointing to the PM domain specifier which provides > + the performance states available for active state management. > + Please refer to the power-domains bindings > + Documentation/devicetree/bindings/power/power_domain.txt > + and also examples below. > +- power-domain-names: Should be > + - 'cpr' for qcs404. > + > In 'operating-points-v2' table: > - nvmem-cells: A phandle pointing to a nvmem-cells node representing the > efuse registers that has information about the