[v11,2/9] dt-bindings: opp: v2-qcom-level: Document CPR3 open/closed loop volt adjustment
Message ID | 20230217-topic-cpr3h-v11-2-ba22b4daa5d6@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp8399067vqr; Tue, 27 Jun 2023 11:42:59 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7X6MR6lJYKBy5/qpDEAb/kKkBeCxpaAWRINZVlu78mUDYaDsJjB0WvdzKE7Km7wFV5gGJz X-Received: by 2002:aa7:d3d8:0:b0:51d:a485:27be with SMTP id o24-20020aa7d3d8000000b0051da48527bemr2929468edr.8.1687891379418; Tue, 27 Jun 2023 11:42:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687891379; cv=none; d=google.com; s=arc-20160816; b=PWvcq3O5hY/05v8G3tIqu0aDFfp7uCEiSUjIWA5OGqTrZh9MiIVwhVtVe5M5hcww62 wSNdptgVTwY0BOx6cKWeyGj+hqKDTLR3se8TvMC3WgN4e0VPxMdsu/EU18thrI6oisfE AP/H+8lzmUR+4CUcW9Rx2Neu430DseiDcgx/E9dgcKLPjKpQ/+laLh3iXvpMXIthrk3U +D9+r7eL2cRWlUwoxKPPhb4ukWM4p6h5Wkc+7YBsMzD8C6d0kPx9c+eedQcozxQoBruo parDlPVgvZ5SgNYa86xEQqP/lkS1fQvrIsw6/EwrEUx1lMSb+oFqR9DhBIMMv7x6ykl5 ruCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=dAlp+yDxSxsRQptzR5NDOwv6iD3bpQxnIcoaRH90yZA=; fh=i1BpNPiOwIhOm2uy3VIp+JRBxLgKEuL4DML59YeVPi0=; b=dVjmjTAfbOp1Vg6sBlMqGHC6CEpEAeFaHwJY9opqnvbnvbB2dG3V5vOtrBL9DgZfGp uCeOprXcs5HEaL6kJiQaPrMY/CL0dNdVuqCwYklFMvN16CNHCPgoEWR7UD6cwJXBKQ7w 9ecnCF9Q1cydwn1/BJn1xE5JQhMs3GLuFFSiJBM1UDaKvJiNiMHk7LrGQrgxJPscVTDT k+ioXHPJ4djKwqYlEH5BvxrL5oiuDXVB5mbqRR9edfcTHYCE0fAj0yGXzuBQhke+0LAQ qhIBO3cEmB/AcAD7jFZXcOs2OPxQLUwb5JuxVO2cTpDub8XF8lh0qO1OhG5GPzEA+jVS hZDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ILqCNtGq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t17-20020aa7d711000000b0051daf55e52fsi817110edq.561.2023.06.27.11.42.33; Tue, 27 Jun 2023 11:42:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ILqCNtGq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S231148AbjF0SbD (ORCPT <rfc822;nicolai.engesland@gmail.com> + 99 others); Tue, 27 Jun 2023 14:31:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55572 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231232AbjF0Sa5 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 27 Jun 2023 14:30:57 -0400 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F8C2E71 for <linux-kernel@vger.kernel.org>; Tue, 27 Jun 2023 11:30:52 -0700 (PDT) Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-4fb7589b187so3907931e87.1 for <linux-kernel@vger.kernel.org>; Tue, 27 Jun 2023 11:30:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687890650; x=1690482650; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=dAlp+yDxSxsRQptzR5NDOwv6iD3bpQxnIcoaRH90yZA=; b=ILqCNtGqQXZISlUOCXmTfwPZWX3osMK5JSpd/zmUpEkbvmV5Y3ac1JYkrRG9xLV1mq ptpJ5wkBAqcqgmfVIdfl6spXQnJz3uuyda5rohv9Pv+QWISU5RLSPeKJg1Cb2x1krpc+ UvivWz4rVznvYnm7GfLJfjvOmZE8LfYIsYf9j5TeqZ+MCjgIiMyiBm8HMJzpzj2u1RgL 4F8Cy0y6V7TF0bBjt6Ue3oCyu5D2EgHKcgG9BlDnEPtOZ3uWiZu1a4gH/4ZtEa6SwLdT JU2vsuHlazt+v5L6QwmVKPRDB3rSYHanNwi+QlXmsiX+7pq90Um45dalKecA40E6F94q PDaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687890650; x=1690482650; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dAlp+yDxSxsRQptzR5NDOwv6iD3bpQxnIcoaRH90yZA=; b=GaWFt8ABjj7e5y8Q6uydJEDCQ1orzbPnmQPyfat/+BO4bZglehPoQpOiAD+ALdFtjp lCn8bK1syCbQSM1arCqYz3PeXGGIbQWDACuz/DEulo8T+PjClXoo2iJKuLR9EKzq4tI7 esosPx/GE8N64xqDYbVaozrGXdgbxKYKrHgNUpg0pMd0d/sPBtUTtW7dMuLlc7fxY0l7 rzn79ee0Yn887rVzpii269uvPEPA5HncxJWz7nCbm0vOS7/zwerzwBmNrC90vlVwtdNR Bt0oTyOp8KiJiCRq5rUN/RKPk/x8Xn2JlVUU8SzZmnMfeQNoK7xVwc7X/2CvgmGj+eRT gZuw== X-Gm-Message-State: AC+VfDxek+AJg//GYukmwD8trp+wsAkOq0CEx5cOiRRMaokmeiBHgEnl ByZZAE34BIn3oDJ2Jbhs5XW1Cw== X-Received: by 2002:a05:6512:3f24:b0:4fb:7be5:7404 with SMTP id y36-20020a0565123f2400b004fb7be57404mr3813308lfa.63.1687890650498; Tue, 27 Jun 2023 11:30:50 -0700 (PDT) Received: from [192.168.1.101] (abxj103.neoplus.adsl.tpnet.pl. [83.9.3.103]) by smtp.gmail.com with ESMTPSA id q16-20020ac25290000000b004f640b0fb04sm1605205lfm.212.2023.06.27.11.30.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Jun 2023 11:30:50 -0700 (PDT) From: Konrad Dybcio <konrad.dybcio@linaro.org> Date: Tue, 27 Jun 2023 20:30:38 +0200 Subject: [PATCH v11 2/9] dt-bindings: opp: v2-qcom-level: Document CPR3 open/closed loop volt adjustment MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230217-topic-cpr3h-v11-2-ba22b4daa5d6@linaro.org> References: <20230217-topic-cpr3h-v11-0-ba22b4daa5d6@linaro.org> In-Reply-To: <20230217-topic-cpr3h-v11-0-ba22b4daa5d6@linaro.org> To: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>, Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Viresh Kumar <vireshk@kernel.org>, Nishanth Menon <nm@ti.com>, Stephen Boyd <sboyd@kernel.org>, Niklas Cassel <nks@flawful.org>, Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>, Conor Dooley <conor+dt@kernel.org> Cc: Robert Marko <robimarko@gmail.com>, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-pm@vger.kernel.org, Marijn Suijten <marijn.suijten@somainline.org>, Konrad Dybcio <konrad.dybcio@linaro.org> X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1687890646; l=1423; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=WRqHzfry/bVzZ1IkMj1Q1p4NGE07AGHXQmZVGRY1FDM=; b=8PnKSlSpFTAIQOFe6Wpt3Z1SBO7+E5nltoD5pfvymK2X6cRPhM+rEPderSS3ylCMfic97+IAy VWhMFkHN9bvBkapwbKZi4AkyqVM9Omoq9NozF0FxTFAJSryR9622bCG X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769882391258389200?= X-GMAIL-MSGID: =?utf-8?q?1769882391258389200?= |
Series |
Add support for Core Power Reduction v3, v4 and Hardened
|
|
Commit Message
Konrad Dybcio
June 27, 2023, 6:30 p.m. UTC
CPR3 and newer can be fed per-OPP voltage adjustment values for both
open- and closed-loop paths to make better decisions about settling
on the final voltage offset target. Document these properties.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
.../devicetree/bindings/opp/opp-v2-qcom-level.yaml | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/Documentation/devicetree/bindings/opp/opp-v2-qcom-level.yaml b/Documentation/devicetree/bindings/opp/opp-v2-qcom-level.yaml index a30ef93213c0..b203ea01b17a 100644 --- a/Documentation/devicetree/bindings/opp/opp-v2-qcom-level.yaml +++ b/Documentation/devicetree/bindings/opp/opp-v2-qcom-level.yaml @@ -34,6 +34,20 @@ patternProperties: minItems: 1 maxItems: 2 + qcom,opp-cloop-vadj: + description: | + An array of per-thread values representing the closed-loop + voltage adjustment value associated with this OPP node. + $ref: /schemas/types.yaml#/definitions/int32-array + maxItems: 2 + + qcom,opp-oloop-vadj: + description: | + An array of per-thread values representing the open-loop + voltage adjustment value associated with this OPP node. + $ref: /schemas/types.yaml#/definitions/int32-array + maxItems: 2 + required: - opp-level - qcom,opp-fuse-level