From patchwork Tue Jun 27 18:30:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 697336 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 96B94C001B3 for ; Tue, 27 Jun 2023 18:31:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229497AbjF0Sa7 (ORCPT ); Tue, 27 Jun 2023 14:30:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231230AbjF0Sa5 (ORCPT ); Tue, 27 Jun 2023 14:30:57 -0400 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F982171C for ; Tue, 27 Jun 2023 11:30:52 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-4f122ff663eso6799511e87.2 for ; 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=RSSwOQSoxkZRZ5smo3KH+k8jlbPYcSfM/+1MnmoS9scaiJOZiJ0wYEMbHl7fds3uXf 9hrrnl1uF8Na5vxmR8UuoYOUVOcgcUMn3T7E8cODHwgW45EI6W3Co+wgwKI5b/3epjr9 spvAiHl5h3bJBNwTcapIhc3bohyzGlH/OjGbfjtJOwE4qfFUZncRYs8VzcdE/1/kTuGx hzBLuGh9lZpLeVJUAd/DTMAlAadRW0cY3S7s80e/e1V5ST3/0Y9aH37JDMXvTfXIQpJR cP5+7JEhmjD61MkXw9izlp7hVf9rg4ee+LonRdeZH9187gMIhFRL+aYDnsGrYkeSdz1V JJuQ== X-Gm-Message-State: AC+VfDwL0+AKmZdB6GErFawK7sWVfVdHoHlDhAV6W6AEGtoiQl8gVgCr oBs/5pi9Vsmy98mNlzdZTyJE1A== X-Google-Smtp-Source: ACHHUZ51IbO1DU4xTXVMOv7H43ylTD06BP0GttZE6+0R2eji9UBzZT59jyKTT7AHqQn8JAs9Xh3AmQ== 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 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 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 , Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Viresh Kumar , Nishanth Menon , Stephen Boyd , Niklas Cassel , Liam Girdwood , Mark Brown , Conor Dooley Cc: Robert Marko , linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-pm@vger.kernel.org, Marijn Suijten , Konrad Dybcio 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= Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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. 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