From patchwork Mon Aug 19 10:12:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Niklas Cassel X-Patchwork-Id: 171601 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp2759488ily; Mon, 19 Aug 2019 03:12:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqxraw630j69KZzyEkzprMTd89g8ln1IZqOlAYQ0vb9HP1QCNQgLNz1P2rOh7nAFnSA0Zgj7 X-Received: by 2002:a63:2004:: with SMTP id g4mr18281031pgg.97.1566209565021; Mon, 19 Aug 2019 03:12:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566209565; cv=none; d=google.com; s=arc-20160816; b=cQ38pvzURvjx/i02tnWipWTgb1Uobw0sw9UbjZ9bbEikVa7KxLDxNqkWuO3kKDQBXj OSgegFGA1cabqYCwq2lPsc5/0PdCXzT66PQAcovCI5ZfUjhukdMhRf7xaQMlK+pATTsu GJ+cJdCr+Dn1VX7TqknR1aILbFuVUE3/dsfrzlRpcsFqHngLE2f4t/qRTzg0yGLVxnzV CgUs6R6ZqrzVKA3o+7zBKZFZs/xloqSCn0twoupbtf2N9CNm5YI9DJIJvaEicobaLmPy cEugb3/nT8gUOwjQ45pWXwo7peD+/26A9Pro5COZeTrI91SLFzWU59rtn/iFa1Mium/K gJbA== 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=Savk0VYlvDVd8eWat8ONZ2W99qSJkuIV6aH6MqvKuRs=; b=qs44HJx7C2zfT53JdbavXWs+sCX3a/N5D3hPEJkuSihMe16t1AJ3oSJUTnDcTO47Gj TXerjn2ruWPzJ2zz5l12ZIaP31mO3PhwKnc6Sp1ZXw7IZmC93OXsTV0m7VopGjFpDB/k HxGzo87qrNe4MBm7kAYe5PnTdi7nsH+I4w1wx9YKsCVhnaxv8xUXf+IxNF2deS3KSpQJ DZeVTr9pOKWutoOPkENcQdjsH2TyPDbYACCySNRiVoOxDiDe/X8Dkkb5D5hf7QfHoDpE IN9y856r99Z/lQNs4DJIQHxHcLoOY6JDum2WCAY/3zOVfaSe0WAXiL/VBzuwYy+x7PZ2 oYig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Pn1xLF84; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 r14si9687188pli.257.2019.08.19.03.12.44; Mon, 19 Aug 2019 03:12:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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=Pn1xLF84; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 S1726805AbfHSKMo (ORCPT + 8 others); Mon, 19 Aug 2019 06:12:44 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:34333 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726343AbfHSKMo (ORCPT ); Mon, 19 Aug 2019 06:12:44 -0400 Received: by mail-lj1-f193.google.com with SMTP id x18so1213722ljh.1 for ; Mon, 19 Aug 2019 03:12:43 -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=Savk0VYlvDVd8eWat8ONZ2W99qSJkuIV6aH6MqvKuRs=; b=Pn1xLF84280o45HYFvVYs53zFRnFDqCTewkxRBsk/zLFhGHmdZhWYM+fkAW20o5JvJ kg2UPhDaKJKkkTVLdffVMsBwbSM3k7bqW7UXJ3iSnp/uBcu/Wygj4MT0DEK5u7QovJdI SQJf1/GC9Ep3wJo95A6vXTe7/SViCmAvGzuao9YM/NoQsXIw1+A++CDy5O5l0tyv4fJA MJ9706V+L9Rx13D77Pbqxxl/Ufx027B2Aj67DJvE+FZWB5BiIZB4FGg7XupGhQRJ9sRN fuVTyVS0M+0czwoPZLxCzSSsbpIQOeNL47QTqoc6pWaFQRnN6O/UgrV/4wSo2NXemEq6 06nQ== 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=Savk0VYlvDVd8eWat8ONZ2W99qSJkuIV6aH6MqvKuRs=; b=ieNq9HMyE2nMPH8bCfDdwvzhrIRuAXsxYmPAXN5JQ6ZYoA4DOcgl225gVga08D7HPG 5VoYrOV7AU4susW0/iplt75X0mpv2wLFgYlftoCbTg2QEbQlDosAfgwyY/wR7kR9Yzq0 g4LTruaP+ywpHHD6OPlPNUip+UC31lb8KfoUoNrnmilBb7rZ9SUxVEybDUHTp5DHYsz9 fa7B5pJpi+pcUbG/rJ39SHp1PCNj8zxBU7cmjuxQguxzfgIfuf/LmcjfGcaTUdX8qqQd tza9hWD8Zbrl7pzlIy72IRU4n9O+QZYTr7OQSbF3HkwG6Ca24/m51pHmjGfwUfsHMXog CTog== X-Gm-Message-State: APjAAAV2gQRV6m7khT5CDkdKWvkbUZrJ7r2VczwsCARiLDs4xKL6qOXq h78z+ylUrGFsRbktgJIvVbcWJQ== X-Received: by 2002:a2e:87d5:: with SMTP id v21mr12053322ljj.191.1566209562409; Mon, 19 Aug 2019 03:12:42 -0700 (PDT) Received: from localhost.localdomain (ua-84-219-138-247.bbcust.telenor.se. [84.219.138.247]) by smtp.gmail.com with ESMTPSA id t4sm2512368ljh.9.2019.08.19.03.12.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Aug 2019 03:12:41 -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 v3 09/14] dt-bindings: opp: Add qcom-opp bindings with properties needed for CPR Date: Mon, 19 Aug 2019 12:12:38 +0200 Message-Id: <20190819101238.17335-1-niklas.cassel@linaro.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190725104144.22924-10-niklas.cassel@linaro.org> References: <20190725104144.22924-10-niklas.cassel@linaro.org> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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. Co-developed-by: Jorge Ramirez-Ortiz Signed-off-by: Jorge Ramirez-Ortiz Signed-off-by: Niklas Cassel --- Changes since V2: qcom,opp-fuse-level is really a required property and not an optional property, so properly define it as such. .../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..32eb0793c7e6 --- /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 + +Required 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.