From patchwork Fri Jul 5 09:57:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Niklas Cassel X-Patchwork-Id: 168524 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp3355072ilk; Fri, 5 Jul 2019 02:58:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqz/XKd6PwhwszayzMi5axb3Cqht1vAkNoOdD6Cp81mH5VlIrRqMGlI8I66lEhytkPen042M X-Received: by 2002:a63:4e58:: with SMTP id o24mr4317124pgl.366.1562320709456; Fri, 05 Jul 2019 02:58:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562320709; cv=none; d=google.com; s=arc-20160816; b=yLZSbuWL5zpegunoSNGT9qxjNxdNCEoK8x8GbB9mKeozt9kSHQ0Aw7sDzxDkGwGZ4o vTmuK02dT/4TliNu8/bfJYqb5jPiDHEQKbjoI8Na6eEcZ2KckTAFvi7Oh5Od0Dn8eWxs 5UUwrrTi/ArkXzA5aPuq0++6gEYNwKK2iQQRo9Iv0hT4qgVhZCb2jSiHvrIjOJp4W0Pn 8cYbX8vw7o953jKdbjIavwiyFQ+/3hDjJzL5g7MSeCMetimcIBf4Lebo8MUVNuqGz5W/ YWtLzQf1WGj/IXE2zufkkq+TnOKjqmCqHMVwBrpdodfbQrUkZ7wCQrriMw+9OkbFdC4n bO+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=T9WpS+HVMWD8ur8SuhCnKoutTiVOWrWJ89RfcZ9PQgs=; b=vnUjawYXdZnRMm0bxHomGD1n1m5zzQQ2J4CefEsTQYQhrQQP9bDZ/CAi/M+I+xkZNP KJN7FfeK7Ww1mYZWdy16v0N4fTwKtkYpF//HPbu3VB6V9TU1Kv4wdDxm6YqpmaJUaa81 XtduvEylqL6ZVbp01sP7nP6tNxm9W2021xXvaVaR98asdQp32V2RFr4wP40IaKq2vQ6Z 3xix8kFwpA7NQsJSCZlLbK4X84IzXyVIjlLyjnPFPQBZ8nQbLDGH2KyqOz5aYC2ZGNCp QBiQTG3FIkfXhG2kNzytWbExK3YFQ0nMs0NmnRxORSWnQnUPF8GDHDGx2uVlGH/RRnf4 OzCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=quRGeLJj; 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 72si8464146plb.177.2019.07.05.02.58.29; Fri, 05 Jul 2019 02:58:29 -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=quRGeLJj; 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 S1728522AbfGEJ62 (ORCPT + 30 others); Fri, 5 Jul 2019 05:58:28 -0400 Received: from mail-lf1-f68.google.com ([209.85.167.68]:45919 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728503AbfGEJ60 (ORCPT ); Fri, 5 Jul 2019 05:58:26 -0400 Received: by mail-lf1-f68.google.com with SMTP id u10so5921722lfm.12 for ; Fri, 05 Jul 2019 02:58:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=T9WpS+HVMWD8ur8SuhCnKoutTiVOWrWJ89RfcZ9PQgs=; b=quRGeLJjnlYqiflrezgM9kTuvWWmR1zElFnf5iYvD6ljqXJwm3FmkqeRkRI8tu9o55 pxGzSYze1Z/rEWljHvZYqpXsWpx0qSEKUk12LrEB7Dorbpjf/PwlfpvkyEy2KxeCXbgF xAnbDlYHPjDVY9wr1ilAS6D1dP/LI6zC06Idbk+lP67Giqvc/CZ1Oj+40YW484PcRmQl FMV4k0tkNpGw5VEtUwmeq5FghK2vS5XB7cIrrenYBqeOjWPjuZ6tZ9LnfRtRn0QTnFXD 1db1A99zKgpkWI/fh8808GVMPvpVu64sB7wCPFfXjDKzA0vIO7cWiSzMlfzeZZhuk8oN tMzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=T9WpS+HVMWD8ur8SuhCnKoutTiVOWrWJ89RfcZ9PQgs=; b=NqE2RUMx6H4hbq623j6RJodwPG1p4JwOM8pEJgD8ab/1Lla3i/1VoLyvUv8aXylp/h uKn9OULjEvePz3U5HhyrQteFxqD8u3YQDvQXxcqbgM+4sNsSGZ9O+y4AlPM1DhCCxZgJ g7Kp7Fs45bxh5rNoMolPMaJZMz1acS11QK3J7NWAOd6VgXwZbL8fmjccQpFsM+LX1pZB QSI3HHGppc5nN7d1yAapRJTvnSpxp2q6A4DzFhouiPwcgcjECHdeSYdkCxfDhOxKNEQE yRVGuvGaqeLhqd8IDcG23owg170SUbxq0oZYUOu9iOVQT6BI12eB+gI6WVj/h/AnXX46 Pt6A== X-Gm-Message-State: APjAAAX3y6buvQ6mIHah+Uzi8j6QBys4atAHhxVQs6VV0IY1N/PZe7b0 Py6UxhooIFAOtUyjltQI3Jf1BfxYhDg= X-Received: by 2002:a05:6512:288:: with SMTP id j8mr1701505lfp.181.1562320704609; Fri, 05 Jul 2019 02:58:24 -0700 (PDT) Received: from localhost.localdomain (ua-83-226-34-119.bbcust.telenor.se. [83.226.34.119]) by smtp.gmail.com with ESMTPSA id o24sm1674955ljg.6.2019.07.05.02.58.23 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 05 Jul 2019 02:58:23 -0700 (PDT) From: Niklas Cassel To: Andy Gross , Viresh Kumar , Nishanth Menon , Stephen Boyd Cc: linux-arm-msm@vger.kernel.org, jorge.ramirez-ortiz@linaro.org, bjorn.andersson@linaro.org, ulf.hansson@linaro.org, Niklas Cassel , Rob Herring , Mark Rutland , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 08/13] dt-bindings: opp: Add qcom-opp bindings with properties needed for CPR Date: Fri, 5 Jul 2019 11:57:19 +0200 Message-Id: <20190705095726.21433-9-niklas.cassel@linaro.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190705095726.21433-1-niklas.cassel@linaro.org> References: <20190705095726.21433-1-niklas.cassel@linaro.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add qcom-opp bindings with properties needed for Core Power Reduction (CPR). CPR is included in a great variety of Qualcomm SoCs, e.g. msm8916 and msm8996. CPR was first introduced in msm8974. Changes since RFC: -Removed opp-hz. It is already an optional property in opp.txt so no need to specify it with the same definition here. Co-developed-by: Jorge Ramirez-Ortiz Signed-off-by: Jorge Ramirez-Ortiz Signed-off-by: Niklas Cassel --- .../devicetree/bindings/opp/qcom-opp.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Documentation/devicetree/bindings/opp/qcom-opp.txt -- 2.21.0 diff --git a/Documentation/devicetree/bindings/opp/qcom-opp.txt b/Documentation/devicetree/bindings/opp/qcom-opp.txt new file mode 100644 index 000000000000..f204685d029c --- /dev/null +++ b/Documentation/devicetree/bindings/opp/qcom-opp.txt @@ -0,0 +1,19 @@ +Qualcomm OPP bindings to describe OPP nodes + +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 + +Optional properties: +- qcom,opp-fuse-level: A positive value representing the fuse corner/level + associated with this OPP node. Sometimes several corners/levels shares + a certain fuse corner/level. A fuse corner/level contains e.g. ref uV, + min uV, and max uV.