Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4916409imm; Mon, 11 Jun 2018 22:40:41 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLdmVz/jvVWqYuOsN9R4vjAHJ7cLdFYeEOaR2TVCRpg9c3pgO5IHDpaxIfgsw4cL8gNDkmu X-Received: by 2002:a65:6591:: with SMTP id u17-v6mr1832634pgv.401.1528782041337; Mon, 11 Jun 2018 22:40:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528782041; cv=none; d=google.com; s=arc-20160816; b=I7R4oEqCgFfFDWpRHA6lS4463mRtW5d0xSdxi1mfSbRjwQmu/v17MYANTt2WbgQdXJ ADDvhK2dU4NLJMAkaM0J9NkzqoTLcJW1IsyKFLuTRWSfVgNZZmOb6PvHwRX1BQ2VO9ME dnD1yaNVCe4aX36dDkHby50ZDvKIQpm4HFb8MO2kG3g62FJmlkqzY0OTEgUInhduJBGh LHmJs93NaHzmUHcBsfd0OtJ/hpB6He1ZfNNwMbjQRhL59QhBE2yzvlxm1d4DjXpKyvlV arGOvz/fhcufB+H13aBgVhauD6fZrdQttTWPXIoxwx1lQt2PIhhtcQqZuVj07hlpeWTW /pPA== 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:dkim-signature:arc-authentication-results; bh=rT7/2cQm+XgPbqD4s2gQ3emxw6lyO4aTylJUGXMzl78=; b=Q30RbKqI6MmOM1wKjLu2nh/Cb/SRuZxeAPraczhjOnbvslOTcLJll1UEXQx0PKRflM dussTRBGofnU+oQBH/unLJO/WiqhGn3s5f5SGog3yiq9vwpF+mvOSLthqptzdmLFk2kr jF+pwjmRuUwO+05ZjEBdSzCxcByJwKkdui+6bW3YN/FHh5CKMQY2ZzSqHWwrWUuZ1SB2 QPxZCybmD1vQv5IDvhuWsjJiF0BsQKTgd1hjRWrYm9w384ybscq5UF7mHn/FZKDhdign 64yw+BAjH6te7E54H14KSVXBaW4REyUuvU8AlarcNwsF6pzIgMCgRKXQhAwvPSZjoB5W UnIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=L5gthDtT; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 5-v6si75544plc.203.2018.06.11.22.40.27; Mon, 11 Jun 2018 22:40:41 -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; dkim=pass header.i=@linaro.org header.s=google header.b=L5gthDtT; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932831AbeFLFj6 (ORCPT + 99 others); Tue, 12 Jun 2018 01:39:58 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:40379 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753943AbeFLFj4 (ORCPT ); Tue, 12 Jun 2018 01:39:56 -0400 Received: by mail-pf0-f195.google.com with SMTP id z24-v6so11480330pfe.7 for ; Mon, 11 Jun 2018 22:39:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=rT7/2cQm+XgPbqD4s2gQ3emxw6lyO4aTylJUGXMzl78=; b=L5gthDtTqAoqrgmImfzIVVtCol1IuAPrQeehbXfasTLcgC5ChxcTm0YB3HxvsJR1RB batmpqrtPsvgREmYRtPX7thr+ahZsYLbIqtXd6F62wWckcKaW+VrB++lk3AZ6EO/PeZ3 2GyFwUtk0oMWuAXJhXpqiG3Tffe3wD3UVeQv8= 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=rT7/2cQm+XgPbqD4s2gQ3emxw6lyO4aTylJUGXMzl78=; b=SYWAV36JLo2X0FgJSSp11cSsgBbsKD7x32vnKGygsAjYvy4esyF1S5IWF8fg4ICptv Mi8yRRAJkKNMgEQEfNJQxsujcHtNOD09GNr1N8HYyb4BjtTOSg9Bm8p5eH1J4Ab5NmbD M046kULgwQjjp6W84s5TqGbL5B7jI5YIogNKAqnf2Bv4DavmvoSoMWplM1mO7Q1FPQSR qybgr3nZpELZ6T1RgqQm1TbVj39NrmIZj/2p17j7Y35tMdlB0LTBdAT8CpU1HZUBMAAx L05mTREY1DEHUjLZz1+pkLljrNxY+TPLZ4275jYbJvfaDlgNB6LHnl6rXXC796RorpSs cMwg== X-Gm-Message-State: APt69E3lDJHZ3pzVKJVooDStIoJ0mpaYrkfjVHnaCWaPbYeiTF5Qg6O9 1DqbxKqhXOkx+Y8PM7wpkop+1w== X-Received: by 2002:a62:3ad8:: with SMTP id v85-v6mr2329652pfj.184.1528781996155; Mon, 11 Jun 2018 22:39:56 -0700 (PDT) Received: from builder (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id l26-v6sm120505pgn.55.2018.06.11.22.39.54 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 11 Jun 2018 22:39:55 -0700 (PDT) Date: Mon, 11 Jun 2018 22:39:53 -0700 From: Bjorn Andersson To: Rajendra Nayak Cc: viresh.kumar@linaro.org, sboyd@kernel.org, andy.gross@linaro.org, ulf.hansson@linaro.org, collinsd@codeaurora.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 5/7] dt-bindings: power: Add qcom rpmh power domain driver bindings Message-ID: <20180612053953.GA18050@builder> References: <20180612044052.4402-1-rnayak@codeaurora.org> <20180612044052.4402-6-rnayak@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180612044052.4402-6-rnayak@codeaurora.org> User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon 11 Jun 21:40 PDT 2018, Rajendra Nayak wrote: > Add DT bindings to describe the rpmh powerdomains found on Qualcomm > Technologies, Inc. SoCs. These power domains communicate a performance > state to RPMh, which then translates it into corresponding voltage on > a PMIC rail. > > Signed-off-by: Rajendra Nayak > --- > .../devicetree/bindings/power/qcom,rpmhpd.txt | 65 +++++++++++++++++++ > 1 file changed, 65 insertions(+) > create mode 100644 Documentation/devicetree/bindings/power/qcom,rpmhpd.txt > > diff --git a/Documentation/devicetree/bindings/power/qcom,rpmhpd.txt b/Documentation/devicetree/bindings/power/qcom,rpmhpd.txt > new file mode 100644 > index 000000000000..41ef7afa6b24 > --- /dev/null > +++ b/Documentation/devicetree/bindings/power/qcom,rpmhpd.txt > @@ -0,0 +1,65 @@ > +Qualcomm RPMh Power domains > + > +For RPMh Power domains, we communicate a performance state to RPMh > +which then translates it into a corresponding voltage on a rail > + > +Required Properties: > + - compatible: Should be one of the following > + * qcom,sdm845-rpmhpd: RPMh Power domain for the sdm845 family of SoC Afaict this binding is identical to the one introduced in patch 1, so I would suggest that you just add the compatible there. Regards, Bjorn > + - power-domain-cells: number of cells in power domain specifier > + must be 1 > + - operating-points-v2: Phandle to the OPP table for the power-domain. > + Refer to Documentation/devicetree/bindings/power/power_domain.txt > + and Documentation/devicetree/bindings/opp/qcom-opp.txt for more details > + > +Example: > + > + rpmhpd: power-controller { > + compatible = "qcom,sdm845-rpmhpd"; > + #power-domain-cells = <1>; > + operating-points-v2 = <&rpmhpd_opp_table>; > + }; > + > + rpmhpd_opp_table: opp-table { > + compatible = "operating-points-v2-qcom-level"; > + > + rpmhpd_opp_ret: opp1 { > + qcom-level = <16>; > + }; > + > + rpmhpd_opp_min_svs: opp2 { > + qcom-level = <48>; > + }; > + > + rpmhpd_opp_low_svs: opp3 { > + qcom-level = <64>; > + }; > + > + rpmhpd_opp_svs: opp4 { > + qcom-level = <128>; > + }; > + > + rpmhpd_opp_svs_l1: opp5 { > + qcom-level = <192>; > + }; > + > + rpmhpd_opp_nom: opp6 { > + qcom-level = <256>; > + }; > + > + rpmhpd_opp_nom_l1: opp7 { > + qcom-level = <320>; > + }; > + > + rpmhpd_opp_nom_l2: opp8 { > + qcom-level = <336>; > + }; > + > + rpmhpd_opp_turbo: opp9 { > + qcom-level = <384>; > + }; > + > + rpmhpd_opp_turbo_l1: opp10 { > + qcom-level = <416>; > + }; > + }; > -- > QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member > of Code Aurora Forum, hosted by The Linux Foundation >