Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4876242imm; Mon, 11 Jun 2018 21:44:28 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJ/J2YA1ImiuH276blNK1+dEcNGi2k07ha47gp/i3k9ULFry8yPDjzVmzhOqpDKcYHp0iCl X-Received: by 2002:a17:902:3f81:: with SMTP id a1-v6mr2255947pld.29.1528778668503; Mon, 11 Jun 2018 21:44:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528778668; cv=none; d=google.com; s=arc-20160816; b=KCNIjoB8h5DSWhup8LBAGPfI49lk9pBLt7yArEr3JQjhYbbrTMbziEDY8T5/JbN/2Q 2rCxLiq0VnfljTgVNrDEemXlmYns0jt0kzBzKkEQp6McOfPm4g9qhD8oWcUfR5txmM3g Q1r4lCE+yaVH5YwN/CP6WqpCmJbWiQzpbUNzWCdrXfxbgnwq8cj3LiPQEcWaaXWWf1bM 9Hsy0a3geWYnXrKYErbPqWx2ByGoridGSu2RMpJD2hanDik3fLuGFg6+MxUIStcu7m/A sShRi9jKywgWT+5R3VSA1L9THO3/hx1KDHikNhTeOrYvhWBQHxH3e/mD2qbA5SGeMgU+ s7KA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dmarc-filter:dkim-signature:dkim-signature :arc-authentication-results; bh=PsSHlCzVqR7SFKUbYtB/2XXxNqpEvjlRLoJa8b0tSa8=; b=YM0ym8EV19GMsF1FuoSeljzHjdOa3rCnLxdSBpmEnKmDtNyg1qOFfida7WB3qhGADw lc66ol3DvrJh1URat9k5AryKMAmc4A/u6Tr2SoAmbPehFGQDPDWOkq9H0CH5nHEsPGk6 2KeDPbpgQ0glrDitXoLV61PoYIpkLEcR9+ZClt6DuMX2Tzb0cwheMpYHeF/dn23PkhYD ju8SVfrvpY0hOog0wsQx+emRKa7MHsSubbJmszqbehol7eYNMu0DuBlazPIxVnrAShZz W82zI2WlaSPyrZLVF/Thn+OGjZXFBvM+sadqdyvfWEHZhxn59ufMdQ0qK/kcWCFMzq6p wBtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=gEshqsMa; dkim=pass header.i=@codeaurora.org header.s=default header.b=PHIb62OA; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n187-v6si360794pgn.368.2018.06.11.21.44.14; Mon, 11 Jun 2018 21:44:28 -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=@codeaurora.org header.s=default header.b=gEshqsMa; dkim=pass header.i=@codeaurora.org header.s=default header.b=PHIb62OA; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932550AbeFLElL (ORCPT + 99 others); Tue, 12 Jun 2018 00:41:11 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:35398 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932334AbeFLElI (ORCPT ); Tue, 12 Jun 2018 00:41:08 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 10C8060791; Tue, 12 Jun 2018 04:41:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1528778468; bh=KCAGd1RvOczUH/aWijumf4oODSSjeRJw3HwytpYLFC0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gEshqsMayCv9kl2DdEKTsHPh7hZb8wr32scJldsluLsecZwPoLL8OBa3h2xCz0SvF 47EWLaBCj33u+IfIhmPRUKX8zes1vJwLTgyZuk7BWg38moSvYH8e2qtjH33a4BW94y zIGPoL4gT9ZuotkNOVXOXnqAoC7HxlIGrtg6OTj8= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from blr-ubuntu-173.qualcomm.com (blr-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.18.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: rnayak@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id AE648606DB; Tue, 12 Jun 2018 04:41:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1528778467; bh=KCAGd1RvOczUH/aWijumf4oODSSjeRJw3HwytpYLFC0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PHIb62OAM7XImfRd9IjvuTdMxPe9Ne5/TJopAJRouh6AiE0OcyD+zsJwmdzi3kWny VtOYtnpRman2aNdgB51fnAcNewVsO+yYEW1tNYRiOTUkh5f+52TQsYNYkxQTLCggpr weICIOiwpA6L4cZ1r+JD7meYSs3jlIv5ySxl9rfk= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org AE648606DB Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=rnayak@codeaurora.org From: Rajendra Nayak To: viresh.kumar@linaro.org, sboyd@kernel.org, andy.gross@linaro.org, ulf.hansson@linaro.org, collinsd@codeaurora.org Cc: devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Rajendra Nayak Subject: [PATCH v3 1/7] dt-bindings: power: Add qcom rpm power domain driver bindings Date: Tue, 12 Jun 2018 10:10:46 +0530 Message-Id: <20180612044052.4402-2-rnayak@codeaurora.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180612044052.4402-1-rnayak@codeaurora.org> References: <20180612044052.4402-1-rnayak@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add DT bindings to describe the rpm power domains found on Qualcomm Technologies, Inc. SoCs. These power domains communicate a performance state to RPM, which then translates it into corresponding voltage on a PMIC rail. Signed-off-by: Rajendra Nayak Signed-off-by: Viresh Kumar --- .../devicetree/bindings/power/qcom,rpmpd.txt | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/qcom,rpmpd.txt diff --git a/Documentation/devicetree/bindings/power/qcom,rpmpd.txt b/Documentation/devicetree/bindings/power/qcom,rpmpd.txt new file mode 100644 index 000000000000..61a0e2687940 --- /dev/null +++ b/Documentation/devicetree/bindings/power/qcom,rpmpd.txt @@ -0,0 +1,49 @@ +Qualcomm RPM Power domains + +For RPM Power domains, we communicate a performance state to RPM +which then translates it into a corresponding voltage on a rail + +Required Properties: + - compatible: Should be one of the following + * qcom,msm8996-rpmpd: RPM Power domain for the msm8996 family of SoC + - 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: + + rpmpd: power-controller { + compatible = "qcom,msm8996-rpmpd"; + #power-domain-cells = <1>; + operating-points-v2 = <&rpmpd_opp_table>; + }; + + rpmpd_opp_table: opp-table { + compatible = "operating-points-v2-qcom-level"; + + rpmpd_opp1: opp1 { + qcom,level = <1>; + }; + + rpmpd_opp2: opp2 { + qcom,level = <2>; + }; + + rpmpd_opp3: opp3 { + qcom,level = <3>; + }; + + rpmpd_opp4: opp4 { + qcom,level = <4>; + }; + + rpmpd_opp5: opp5 { + qcom,level = <5>; + }; + + rpmpd_opp6: opp6 { + qcom,level = <6>; + }; + }; -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation