From patchwork Mon Aug 28 11:42:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13367854 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A102BC83F27 for ; Mon, 28 Aug 2023 11:43:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232486AbjH1LnG (ORCPT ); Mon, 28 Aug 2023 07:43:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232490AbjH1Lmj (ORCPT ); Mon, 28 Aug 2023 07:42:39 -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 DB66B110 for ; Mon, 28 Aug 2023 04:42:35 -0700 (PDT) Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-5008d16cc36so4722128e87.2 for ; Mon, 28 Aug 2023 04:42:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1693222954; x=1693827754; 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=Lc92mAtkRQx6lROJXZsbE1Z78tE/c7LVAty0SEnStAI=; b=TY2nT2jlSIm3rdBz17IZhftwVvx9Roq33fGw36bP/M1ROGzvuz86gG84InX/9n1pOv NPK0AAV/8wnzQGzKAUgdFTJ3VkqIPWsaNm9lQqSTMGu29xgLT+gN7F5lrwLdnaups/N9 nXCuZ5y+P1XZnGXXIrgXvNJEft9MLjo/6cZGLI4d4iHfKnuRHfFUgGS+P+m8t+zqcU5m PPZ1Poi001L5R4wF2LtUMceahIGLp+M4TM5yXE19DpRqD4NPNbMbn3BnML2mZsXKXW9W TiUfzLT3g0nLOFSlVOxHs4D6xNRIXIrma569Ynf/BEyv5FNN0SjI8S5IdG0sxDNqYXrf M8nQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693222954; x=1693827754; 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=Lc92mAtkRQx6lROJXZsbE1Z78tE/c7LVAty0SEnStAI=; b=XVlELtMwJ3T0y9GFteoABuCzg660jwOMhP+z6pZebhvurfRYDLLTLB7AtdQIGRLhD8 Gaa7jcpGsHpg/ufvedeWwyQ1fTtOWcjvxXIb9xzn0uHJXFMmUjGMo1WkznVhRmawzs3V avpgOrA7evLnKMLXcv5p3B9mtzqEBF6jJuSiLscRKdruqOiiIZr4dCneJD3/wAJrxB1i d0xVCJyueEvmJHNMKOTlZu52xchEk6TKbS7OO22s4oHPTmfjv6xOHkSDH0iPOnZ8ldmV pzDEK4GZz45sO71xZj9iiXVPY0Yr+FG4t1ulL4dprUsDQlzfyxsKFjm/Mz6K1lhz8grp h0bw== X-Gm-Message-State: AOJu0Yyx+gV7GFpHqVX2D/PxytNfNIotHMQLuUHa3qv/S9BpsdhYjHmq BgcXJUY0gE2K/ogAnm2rgRgMUg== X-Google-Smtp-Source: AGHT+IHs4krfqPk/ngVZJEiMOsX7zZoTdP2HqmNXWgvrBkB6uBxKns82d+V9qH9ZTaLAl59j1/U0vg== X-Received: by 2002:a05:6512:3d29:b0:500:9796:fb6 with SMTP id d41-20020a0565123d2900b0050097960fb6mr11768125lfv.40.1693222954173; Mon, 28 Aug 2023 04:42:34 -0700 (PDT) Received: from [192.168.1.101] (abyl195.neoplus.adsl.tpnet.pl. [83.9.31.195]) by smtp.gmail.com with ESMTPSA id b2-20020ac247e2000000b005009920b6afsm1547799lfp.9.2023.08.28.04.42.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Aug 2023 04:42:33 -0700 (PDT) From: Konrad Dybcio Date: Mon, 28 Aug 2023 13:42:14 +0200 Subject: [PATCH v14 2/9] dt-bindings: opp: v2-qcom-level: Document CPR3 open/closed loop volt adjustment MIME-Version: 1.0 Message-Id: <20230217-topic-cpr3h-v14-2-9fd23241493d@linaro.org> References: <20230217-topic-cpr3h-v14-0-9fd23241493d@linaro.org> In-Reply-To: <20230217-topic-cpr3h-v14-0-9fd23241493d@linaro.org> To: AngeloGioacchino Del Regno , Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Viresh Kumar , Nishanth Menon , Stephen Boyd , Niklas Cassel , Liam Girdwood , Mark Brown , Conor Dooley , "Rafael J. Wysocki" , Viresh Kumar , Ulf Hansson Cc: Robert Marko , linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-pm@vger.kernel.org, Jeffrey Hugo , Marijn Suijten , Konrad Dybcio , Krzysztof Kozlowski X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1693222948; l=1623; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=9e02GqF0W2bdk8xEgHkhPQoT5fTXD4a1qiHIfQOhR7M=; b=TX5ZrVYwwZ1ynV3DxOKAucd65FQiu2jr6VgZBujEKWHmOBGDcPpey9RZ2N0C/6mDdx5n1wpa0 W22D6tBhHRvBijjk6E2lZMAt9ly9SfEd9xPA7DO2t9AzsbdmJG5FP1f X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org 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 Tested-by: Jeffrey Hugo Reviewed-by: Krzysztof Kozlowski Signed-off-by: Konrad Dybcio --- .../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