Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp848262yba; Wed, 3 Apr 2019 22:13:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqw02SK8THXOSA2/lOFZo2u44hmb1i358aeT6WLkMMMfJlR7sjsy/czjOM7kmexpKvmFZUqw X-Received: by 2002:a62:1249:: with SMTP id a70mr3722018pfj.160.1554354782032; Wed, 03 Apr 2019 22:13:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554354782; cv=none; d=google.com; s=arc-20160816; b=eCHQwAhh+Nn9MMTBeMqHUULmwXQgejlL3Bb6tqyKFbFy7WyavrvyKaEkeNBUy5Snch sKOKS4hUywDFV5ju56UDK6DYWJVJxJ8PIVGyjFeAylAyN/U6Eg/HNaU3IOADOH7tbLbI ApUOAdMfIGUdM4SIJCT0k0wByh3cPnhC0J+8MneIiYZL9Rw1JR3/Fsos1wUKlyAHRaha Vd8V7ttdOMlmQnLj7vsRZrsVxIaZBem6BDQu0qdhAeVz26qwekD2MRc84hKZsWEEmvXM 5eJlQIOHovjOPBnRPJ7ZVK6UdhOzBY3XIOxsJt2MUXb5L8VSqUHZCzMvGd/p1qkJ3hNe X+1A== 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=5f+kkMUgvOOpOd6cTF9Ie+6FOr6453kj1E1ya/v5Za8=; b=GCYH5HBtuHXMl+aWoFgMJ4DTCN8V+hPOmnFg/jd5Ut/IrwagoXnZe2xMopufK42aFg kJA7aiRfsvo7j6qbTGPbhXYFZy9XHsqYGvEkqQVEOR3SuRv64Z5dk/XNVznPhNmw34y5 1IMh+rNshtA+zgcVSfqe5dmiDdARTZv3c94pS3koVuHwj3jAMMHalZPoge4PAJhYWfb8 lf54rQFAL2IES6AFtiYCN2bWEvvkWDk2/vewluP/vX5eHrKZrDFIvWuN5aVT8X9BiS2C 2TIMsRsJdVRLtDQGYaKoeb4kk0g2dwExQCak/U8xCRX+nLE/THZhulGmPJTA6n0v/T51 dbRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OQusTV+s; 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 r15si15942721pgi.27.2019.04.03.22.12.47; Wed, 03 Apr 2019 22:13:02 -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=OQusTV+s; 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 S1727040AbfDDFKl (ORCPT + 99 others); Thu, 4 Apr 2019 01:10:41 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:46350 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727004AbfDDFKl (ORCPT ); Thu, 4 Apr 2019 01:10:41 -0400 Received: by mail-pf1-f195.google.com with SMTP id 9so714553pfj.13 for ; Wed, 03 Apr 2019 22:10:40 -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=5f+kkMUgvOOpOd6cTF9Ie+6FOr6453kj1E1ya/v5Za8=; b=OQusTV+sLzBgbuQim/aJBTk/xjcBPTqYlFT9scR6O8fYzA0i29sdhhV5Jnxg81dPHL MwAFl+bs31OrLE9iQXLisbdttm0uhX7lBVJOLlI3joGVjmPJ6uPi0qF4Tt8gAR7JbWdZ SvVAnPMZu0ZxSSXF9Ap7xv/YSNby0tIJIqwSeSjlSl6zskXvNpgv5CAofOoQf3BRztZ+ y+LYNuu4+wmQ32CfLWWUzCnFzLJPWclgKOPHXyxiwJitkTI8+9f8jv37IfGfhgQLMUIV k+yDCnbs4xXT2c2ttyqaycOFf5Kt5efXpoxaXHPnnFSUnBRN+2LZ034sjgPgD3U0wydF FwOw== 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=5f+kkMUgvOOpOd6cTF9Ie+6FOr6453kj1E1ya/v5Za8=; b=bBn4t+RfkOTx1QMJ5NGEihDZLj0flCg290pRnFJYSqb+MbnKzV0nF2XTbgtMFxkGog G8NkPobCzkgyLvli0nXxv/VEn1MfQCDADAUju69vFu8dkRYgGgv8IVfCbQE2RMF3yaVX 2U5aB7mfi9oJ23wFSceBsfT3+1EhbgrUXZVwKsmBArgk2lFw6wP2u3z0kOd28xcZm+Bx 3z6UqOe3HcX37rqrjqoiG9xOhSMV81AjkPoo4K1lrZjaw+NAwJeuRqld1IBTFS+nhZnQ K2qZ5PzOodXazj8ZFGOlWYfail27SJiWztkhOBe7QtENXUSaZSh/qogTS+QAx3p3bvns L/5w== X-Gm-Message-State: APjAAAUG2SqebSh3k/g33XerAAwQ/ErxAjkzvxyTcnKvbWc3e/TsJ/T+ AfDpgm+JXB9/zTt6xk3w1w4xng== X-Received: by 2002:a63:1064:: with SMTP id 36mr3772475pgq.155.1554354640554; Wed, 03 Apr 2019 22:10:40 -0700 (PDT) Received: from centauri.imgcgcw.net ([147.50.13.10]) by smtp.gmail.com with ESMTPSA id g64sm43254361pfg.13.2019.04.03.22.10.36 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 03 Apr 2019 22:10:40 -0700 (PDT) From: Niklas Cassel To: Andy Gross , David Brown , Viresh Kumar , Nishanth Menon , Stephen Boyd , Rob Herring , Mark Rutland Cc: linux-arm-msm@vger.kernel.org, jorge.ramirez-ortiz@linaro.org, Niklas Cassel , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RFC PATCH 6/9] dt-bindings: opp: Add qcom-opp bindings with properties needed for CPR Date: Thu, 4 Apr 2019 07:09:27 +0200 Message-Id: <20190404050931.9812-7-niklas.cassel@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190404050931.9812-1-niklas.cassel@linaro.org> References: <20190404050931.9812-1-niklas.cassel@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 SoC, e.g. msm8916 and msm8996, and was first introduced in msm8974. Co-developed-by: Jorge Ramirez-Ortiz Signed-off-by: Jorge Ramirez-Ortiz Signed-off-by: Niklas Cassel --- .../devicetree/bindings/opp/qcom-opp.txt | 24 +++++++++++++++++++ 1 file changed, 24 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..d24280467db7 --- /dev/null +++ b/Documentation/devicetree/bindings/opp/qcom-opp.txt @@ -0,0 +1,24 @@ +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: +- opp-hz: Frequency in Hz, expressed as a 64-bit big-endian integer. Even + though a power domain doesn't need a opp-hz, there can be devices in the + power domain that need to know the highest supported frequency for each + corner/level (e.g. CPR), in order to properly initialize the hardware. + +- 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. -- 2.20.1