[v13,03/10] dt-bindings: opp: v2-qcom-level: Document CPR3 open/closed loop volt adjustment
Message ID | 20230217-topic-cpr3h-v13-3-d01cff1c54cf@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f41:0:b0:3e4:2afc:c1 with SMTP id v1csp464529vqx; Wed, 2 Aug 2023 06:40:52 -0700 (PDT) X-Google-Smtp-Source: APBJJlGN+9w9meC1RF3X16yPBeuUXoaTuO1DzM6MhHHIcEeMnnRtRrz2618e/7EygWP0obZ3aqmR X-Received: by 2002:a5d:8849:0:b0:783:63d6:4cb with SMTP id t9-20020a5d8849000000b0078363d604cbmr16270234ios.14.1690983652278; Wed, 02 Aug 2023 06:40:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690983652; cv=none; d=google.com; s=arc-20160816; b=DU2lCsYW0KohysW6XuH4O5Vsosoj67B/43ze54ts796QWV8WqId7nHrlNkJkSSC8UG IMqrMcXJQtXGcKUwftB7vZMe5LSG624F2+bTcQiF+qW7f3vEpFD5FGdoNqnkAnwSZ1LH f12JAZoqV5XiVCPjSlfbik28ULWI8V+XLnBFFgK0qbzULwx7i++cT3/iIgBtKB+ZeQnS cBDH8PUtIFyQqTnpYmFcu8AIB++gImp3Srx5QffChiqISbHPsC3SeIlzre4XhvOJ2aF2 gOV5O5wPCbPwIpklCjyTdEw2T1mlTj+v8M/Wcq4h5H/WSWMbF3NkMVOrL5qZ+5k0Zu38 7kCg== 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=p8ibCsCefa6ZAWVplZiGBVLhq2a/cqsLVlyXMZQI290=; fh=ahM2wzW2Lmty1oF7VdzlQW5IFLwtWPXmLAKhzW6r3bw=; b=E5rWS1Y8uz1wN3cNGwupz3Qhunz/xsJ1jx+WH5HwxkqFF5WIug46QZ7lt0IJPTsr7U aXDCZ9unF49BrWYuGUjgO2ZwfAr0I1MLMtzj6zC4WxUKYehRXlb6mn9ePangQSC4m/oT Qcx3gw88kbL0yY+jt62N1hvH4PvCts1QL8H099/8bpt2Vo3XiV7LtRxOhnM5NmaX5Tj9 W935RsSAh58ndEj5f3BemLwSFB4/VMGzOWVr0JS9HpALBnmw4kjoLGgj0Nfbi3IU4kEu pE0YKUbWPK9MXb2IZD+t6VfLvmHVmjMlK2ggMW0n+4XTKPTeLShM8gXaxFa/nyrUH2fI nidw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="L/WAhGYg"; 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 d12-20020a63f24c000000b00563da4d2a77si1850039pgk.867.2023.08.02.06.40.38; Wed, 02 Aug 2023 06:40:52 -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="L/WAhGYg"; 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 S234572AbjHBMij (ORCPT <rfc822;maxi.paulin@gmail.com> + 99 others); Wed, 2 Aug 2023 08:38:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58562 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234525AbjHBMia (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 2 Aug 2023 08:38:30 -0400 Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7771F270F for <linux-kernel@vger.kernel.org>; Wed, 2 Aug 2023 05:38:22 -0700 (PDT) Received: by mail-lj1-x233.google.com with SMTP id 38308e7fff4ca-2b9a828c920so106341671fa.1 for <linux-kernel@vger.kernel.org>; Wed, 02 Aug 2023 05:38:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1690979900; x=1691584700; 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=p8ibCsCefa6ZAWVplZiGBVLhq2a/cqsLVlyXMZQI290=; b=L/WAhGYg89vCGvKJ01xmKEj/kAYomwjtqchmRnAljmrzypWGf1ExVNCPvP2t84Fa+H 5nhcRtEoiypv+ORz4oZa7O//4OxFXX1xNzhCgTtBF3ndTp5N4VfY59H6yXfwNvmBF4L0 oMSEts9C/Ju6pwtv9v/tZXD9XCCBhS0Gv2KVlcdai7CllO6imkWoZA/Y4ooniHZkF4VX HmkILrPsPmVPSoBpgDFNqEXzZwYKyGURbINqnijylTODT57GlOv8VinWfMeQuC8ixDnh uRFr7ESBxePYuwdQN+k+RTwxiKDVZnXdlSKkvbft5LX1teVY5mkkdE2EuXo/i5I+vT6O YkfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690979900; x=1691584700; 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=p8ibCsCefa6ZAWVplZiGBVLhq2a/cqsLVlyXMZQI290=; b=bR9GJSmmNJ6LbyDmQPpr7gQwJHUKqMCDz8p/t7cc/Vy8/aAilSd9hSiwtkvmvmS6UW o6wSnmexeTtskhZwF0AoKE8koMKTVG+oDNaYv4KsHkfIj8UcBLvP9eJKSq/DtORNk0Ec O9agHLUJ42Wmhh7Rd+TQ+E71ZHUlyGyG7TxUWJah/6M/mt0x6rAkIdmkb9YDH71vyMH0 2gYfkqUSlh9ZOJpYEphABYR6hCH6eDd8vEMmil4hKL0e5NyRco7nSd6jKVPNqp1ZscT/ 9qyJEnxe+kM1+h3vPeqU3uc5TeX7C71Mw5LAQH7imdi4QgsqIR2lHsiNttBbJMvW6Wnt 6iAA== X-Gm-Message-State: ABy/qLZMGtM49h04deCjtMuXoMnppdkQqdz8Vbjobjag5X05Bba1+ZpI y67KwcI2SI1gcobd8Ul1n9tzrg== X-Received: by 2002:a2e:3307:0:b0:2b6:ba54:cc8 with SMTP id d7-20020a2e3307000000b002b6ba540cc8mr4884185ljc.30.1690979900741; Wed, 02 Aug 2023 05:38:20 -0700 (PDT) Received: from [192.168.1.101] (abyk53.neoplus.adsl.tpnet.pl. [83.9.30.53]) by smtp.gmail.com with ESMTPSA id h8-20020a2e9ec8000000b002b9e5fe86dasm1897050ljk.81.2023.08.02.05.38.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Aug 2023 05:38:20 -0700 (PDT) From: Konrad Dybcio <konrad.dybcio@linaro.org> Date: Wed, 02 Aug 2023 14:37:43 +0200 Subject: [PATCH v13 03/10] 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-v13-3-d01cff1c54cf@linaro.org> References: <20230217-topic-cpr3h-v13-0-d01cff1c54cf@linaro.org> In-Reply-To: <20230217-topic-cpr3h-v13-0-d01cff1c54cf@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>, "Rafael J. Wysocki" <rafael@kernel.org>, Viresh Kumar <viresh.kumar@linaro.org>, Ulf Hansson <ulf.hansson@linaro.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, Jeffrey Hugo <quic_jhugo@quicinc.com>, 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=1690979891; l=1556; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=1PU66HaoulFU/Wo7HNKJEIXnou7x9T43KX25qUVEdMs=; b=l6lqMVeLONCbszDhY3T5E0D1mbsBcY/OrtcjDOXJH7657zxZ58AWWw/XkxmTXe9bkCyinjJlt BS3oS28U+1OAnL6wInr9zNUYwqUYsKemAIvGlsroPFO+qkgLuMT7VlN 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_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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: INBOX X-GMAIL-THRID: 1773124874017919314 X-GMAIL-MSGID: 1773124874017919314 |
Series |
Add support for Core Power Reduction v3, v4 and Hardened
|
|
Commit Message
Konrad Dybcio
Aug. 2, 2023, 12:37 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. Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Tested-by: Jeffrey Hugo <quic_jhugo@quicinc.com> Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> --- .../devicetree/bindings/opp/opp-v2-qcom-level.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
Comments
On 02/08/2023 14:37, Konrad Dybcio wrote: > 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. > > Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> > Tested-by: Jeffrey Hugo <quic_jhugo@quicinc.com> > 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 I assume negative values are accepted on purpose. Adding these to example would be useful. Anyway: Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
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