Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp5925376imm; Tue, 26 Jun 2018 22:15:21 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIW4lHv9HLAgBPHmNG5EhL+Hh7I6XHXVwHpFS0ZOYOXZeof+J/r4pVkMzPEnWLtHNU5oJqn X-Received: by 2002:a17:902:e3:: with SMTP id a90-v6mr4639645pla.227.1530076521197; Tue, 26 Jun 2018 22:15:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530076521; cv=none; d=google.com; s=arc-20160816; b=0Fl590kX/Hqo2t2oVsz7YTelX/4AdUP72ot76UgXLUQLnk34tG6NfAWDTWbAENZnQd B0SAytkc7mDOoMbmkZTFjzv19Wi/uf/y1Glkhhu9SvU24LisPH87UK+7y+ExIEh43d5a mVDa0jHp9xlbJGXU7EI42kjn1aVDu6bhSHxGlVy89f6fITuZWj9+KVsbwv5G8r5GRwgt xifS8GjCwhwyXsJ57hxpkwAlnO/GNrlPOEcLB2bKIsKUt5LDJjfyjpkBCUT13siNpz2X F2/RlaUySPpuW5ic1npDeqHqFJVg5129watyBK3t/97xrvvDfGUPSlBGxfrul2DBD1nG QOQA== 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=798k+w6UlmMQTvwEId6hmKvh304a7Qf8rvJySeBpLKg=; b=R9w2lYlPl7s/8SEuXLn9X2KQlIW0ozz6QMimTtHAgwVpSpDSIr+eWCbdHeZKOQHuCy Dby3WFtJEclw6GZVtle0+qsWEtoHoT9wizAApXYOZ5uywiDwbCbkTnCM0/A0vhEZLenB jXpj/w/pz/ZNbPnc0v1ZGkwuHn1XKvigaZWpE6FpWAPem08dfd8HJQ0lEFFtTQ7wGAc3 A+VJ1frZhNvxFf5z1RUf+YbJBTy6yKoM+jcKz00STXqvFlTPdaz7bZ/TiJ77LVpyS0Fz b356fpKNHfrxpwp79+lm40ijT4kLgsZYD96ePPqlgkHqyiKDg6D+DuHbkTLMZj3j+N6b 2oCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=HQNec5S3; dkim=pass header.i=@codeaurora.org header.s=default header.b=HQNec5S3; 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 66-v6si2654034pge.159.2018.06.26.22.15.07; Tue, 26 Jun 2018 22:15:21 -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=HQNec5S3; dkim=pass header.i=@codeaurora.org header.s=default header.b=HQNec5S3; 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 S932713AbeF0ExK (ORCPT + 99 others); Wed, 27 Jun 2018 00:53:10 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:57586 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752979AbeF0ExG (ORCPT ); Wed, 27 Jun 2018 00:53:06 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id D5FDA60131; Wed, 27 Jun 2018 04:53:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1530075185; bh=6g8LTSBuZB7mtzcyMqIwcdV4QG2g8EIWVDr09pI7qw0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HQNec5S3NFJQEfjf85k4iiS8IP0WkWTvu3pIEznL2gdcrHnIdhtNhDigOLd7eJLI8 ERKqPYZ/nRS8oyRtq/B6RaZXlr8AT5Jb++5FXuAh9inbDAS0OdVE+eYQqCc5o3E1lz qgC8l7m7H+7Lg+EjY2gaPJIxK/opxUO8vR5jW9Ik= 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 350CD60131; Wed, 27 Jun 2018 04:53:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1530075185; bh=6g8LTSBuZB7mtzcyMqIwcdV4QG2g8EIWVDr09pI7qw0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HQNec5S3NFJQEfjf85k4iiS8IP0WkWTvu3pIEznL2gdcrHnIdhtNhDigOLd7eJLI8 ERKqPYZ/nRS8oyRtq/B6RaZXlr8AT5Jb++5FXuAh9inbDAS0OdVE+eYQqCc5o3E1lz qgC8l7m7H+7Lg+EjY2gaPJIxK/opxUO8vR5jW9Ik= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 350CD60131 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, mka@chromium.org Cc: devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Rajendra Nayak Subject: [PATCH v4 1/6] dt-bindings: opp: Introduce qcom-opp bindings Date: Wed, 27 Jun 2018 10:22:29 +0530 Message-Id: <20180627045234.27403-2-rnayak@codeaurora.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180627045234.27403-1-rnayak@codeaurora.org> References: <20180627045234.27403-1-rnayak@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Qualcomm Technologies, Inc. platforms, an OPP node needs to describe an additional level/corner value that is then communicated to a remote microprocessor by the CPU, which then takes some actions (like adjusting voltage values across various rails) based on the value passed. Describe these bindings in the qcom-opp bindings document. Signed-off-by: Rajendra Nayak Acked-by: Viresh Kumar Reviewed-by: Rob Herring --- .../devicetree/bindings/opp/qcom-opp.txt | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Documentation/devicetree/bindings/opp/qcom-opp.txt diff --git a/Documentation/devicetree/bindings/opp/qcom-opp.txt b/Documentation/devicetree/bindings/opp/qcom-opp.txt new file mode 100644 index 000000000000..db4d970c7ec7 --- /dev/null +++ b/Documentation/devicetree/bindings/opp/qcom-opp.txt @@ -0,0 +1,25 @@ +Qualcomm OPP bindings to descibe OPP nodes with corner/level values + +OPP tables for devices on Qualcomm platforms require an additional +platform specific corner/level value to be specified. +This value is passed on to the RPM (Resource Power Manager) by +the CPU, which then takes the necessary actions to set a voltage +rail to an appropriate voltage based on the value passed. + +The bindings are based on top of the operating-points-v2 bindings +described in Documentation/devicetree/bindings/opp/opp.txt +Additional properties are described below. + +* OPP Table Node + +Required properties: +- compatible: Allow OPPs to express their compatibility. It should be: + "operating-points-v2-qcom-level" + +* OPP Node + +Required properties: +- qcom,level: On Qualcomm platforms an OPP node can describe a positive value +representing a corner/level that's communicated with a remote microprocessor +(usually called the RPM) which then translates it into a certain voltage on +a voltage rail. -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation