From patchwork Thu Jan 10 04:02:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajendra Nayak X-Patchwork-Id: 10755199 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6678D6C5 for ; Thu, 10 Jan 2019 04:04:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 56B0729356 for ; Thu, 10 Jan 2019 04:04:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4B3752935C; Thu, 10 Jan 2019 04:04:10 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EBEBB29356 for ; Thu, 10 Jan 2019 04:04:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727233AbfAJEDM (ORCPT ); Wed, 9 Jan 2019 23:03:12 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:50364 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726692AbfAJEDL (ORCPT ); Wed, 9 Jan 2019 23:03:11 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 66484608C6; Thu, 10 Jan 2019 04:03:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1547092990; bh=l8Qx+naGUMK0vxCdn5acoRvtP7BYOkxPyNrfAiktrIY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=i/kqVtma3fMgutE8V5wyHaz9a1+uRGMidf+28h9wunxzPoGENdEdSkVJqIgihx0t1 Yr2qs93Yyv1hHCPYuyM7PR2NCUBziTucXF4Gou4RcAkaWN9Rur9X1ct67ZFPkq0He+ AFl4WtOnzBqEav0UNXtl/7wZMiszsWy5mZ1rOqes= 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 741796038E; Thu, 10 Jan 2019 04:03:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1547092990; bh=l8Qx+naGUMK0vxCdn5acoRvtP7BYOkxPyNrfAiktrIY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=i/kqVtma3fMgutE8V5wyHaz9a1+uRGMidf+28h9wunxzPoGENdEdSkVJqIgihx0t1 Yr2qs93Yyv1hHCPYuyM7PR2NCUBziTucXF4Gou4RcAkaWN9Rur9X1ct67ZFPkq0He+ AFl4WtOnzBqEav0UNXtl/7wZMiszsWy5mZ1rOqes= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 741796038E 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: andy.gross@linaro.org, robh@kernel.org, viresh.kumar@linaro.org, sboyd@kernel.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, henryc.chen@mediatek.com, Rajendra Nayak Subject: [PATCH v11 1/9] dt-bindings: opp: Introduce opp-level bindings Date: Thu, 10 Jan 2019 09:32:01 +0530 Message-Id: <20190110040209.6028-2-rnayak@codeaurora.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190110040209.6028-1-rnayak@codeaurora.org> References: <20190110040209.6028-1-rnayak@codeaurora.org> MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add opp-level as an additional property in the OPP node to describe the performance level of the device. On some SoCs (especially from Qualcomm and MediaTek) this value is 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. Signed-off-by: Rajendra Nayak Acked-by: Viresh Kumar Reviewed-by: Stephen Boyd Reviewed-by: Douglas Anderson Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/opp/opp.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/opp/opp.txt b/Documentation/devicetree/bindings/opp/opp.txt index c396c4c0af92..76b6c79604a5 100644 --- a/Documentation/devicetree/bindings/opp/opp.txt +++ b/Documentation/devicetree/bindings/opp/opp.txt @@ -129,6 +129,9 @@ Optional properties: - opp-microamp-: Named opp-microamp property. Similar to opp-microvolt- property, but for microamp instead. +- opp-level: A value representing the performance level of the device, + expressed as a 32-bit integer. + - clock-latency-ns: Specifies the maximum possible transition latency (in nanoseconds) for switching to this OPP from any other OPP.