From patchwork Wed Jun 28 14:00:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 113930 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp8964715vqr; Wed, 28 Jun 2023 07:22:04 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4YBypHbp+DPYdIsUE4ZCr3yzhrXeRD6hDO86Xu1dqIL2/HDaCouAttErOGFMZ9oTzrBa7u X-Received: by 2002:a17:906:648e:b0:988:8e7a:d953 with SMTP id e14-20020a170906648e00b009888e7ad953mr4143182ejm.1.1687962123915; Wed, 28 Jun 2023 07:22:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687962123; cv=none; d=google.com; s=arc-20160816; b=f8XQq4ZKSUS4PpVr1KAtaXr8QfNr5Il61xgy429H9VZ2NAa06HDfXpghubdFlglovj ZOaW6XGi7d7rXhkAr8ndMkxwIKdTsS8Ai0jRr7z9SmWiq2ERr9ZpOX7cVQ82bjShOk1s 9lpmLvsisVsHlITFdNEeTBBkd0pKhqMEjXT1PN3rB7WjICev0MDSneky6qnDNFEvkglr fuIBSyRPLzHnpIuGBlH5f7f8d+/3s93bn/lHnamE1ioOsJw128WKRcLnp7rtoH/AU9Gd 0J0HWghpCZDQFMeBkqTq4dw28ophTn9Q+WFPfO+jJlfeFiGYkDxn4EMqePD7de8UHi5T iqWA== 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=4QnxOa6B794SVIyocnOVG+x+vajOeIWtq2DTmRXKqj4=; b=JM/0d2qeIzPFs/BUtBagwr7o56hMwlGaMGa4U5WSauOvK2oaNe9VrUYxAhQYwgLvIB r4s7YCRIAUxW7HO/px7PWoyRWFVtJOvi32I21h0/JOqL/4hRtRTrwmVRL3uAJr4XB6yQ /40DMNnm7BUrsRXUxlOKvbra6LG4Xtl1MWMx2B6evxRAKqiGv1Wj6vmYtJ0P1xT5qtRB DcQ+VTL8XWosAqo/oIEBlL0u0+vFB+BoQpVbyk273Dv3QRRLz5S36npa00lKHxp1do/A hFxD3qfDuzTrWH63Ako+oHdYA+jFTEB/GQVQGGaAU3n0o1rxFSOpBJrdUUHmUpni5DOW YVOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gYGMmZjQ; 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 gl4-20020a170906e0c400b0099283fccb4fsi636113ejb.16.2023.06.28.07.21.29; Wed, 28 Jun 2023 07:22:03 -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=gYGMmZjQ; 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 S232347AbjF1OBG (ORCPT + 99 others); Wed, 28 Jun 2023 10:01:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232274AbjF1OAx (ORCPT ); Wed, 28 Jun 2023 10:00:53 -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 69C2326AB for ; Wed, 28 Jun 2023 07:00:51 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-4fa16c6a85cso6587407e87.3 for ; Wed, 28 Jun 2023 07:00:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687960849; x=1690552849; 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=gYGMmZjQMT2xQ+MvbxcKxMB+lwJeW4SP8q8Ud2ot95OfKdvkuSLkgy8NadKM9kXLXk dwxRfgCRNOakD32hgwNcO3Q+gsPVq1dSg/h87w1589V8HKD74zsOrJ6pc/a8ticZUbD1 +chhL/eqi5fHoxGSwfDChmx9LRPT9PI+XZOgPopzLbGXIGcugRrgEfDHNnDj1oelIdpd Csz4YnKeQGOF1is9KcJrXQ+C522wwQVIrp5UvwYp+iMSwRRgWMzGgvyemd93SFrG7xSg Rlq0ke9ztTGh34i89YSzj5iHR+3DT8mGuBOqLbapQyWoPGsFidQt6qyGV7Yk6Qd52T6Z agBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687960849; x=1690552849; 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=JmxszaQ1M0xiL/ZKm4nVIz+0luZoEXuN6q3kgUuOEatdA45goe4y7pJYD4vb+Z3pJx OC9t4pA43ctPf7Sh5nXceVr1OrjLHSUBgETzS0Jle6fq0sSDAi7e4AAjbaIHI+wxWxPb SILUchzefzhwT59wNvAsgFArExuoU1N4xhD7SOZyxojHF1OVvKCtOHTb5eSBKTZo2Y8A 5F/q49T2gMwvxz4WfNBKbKqVmi1zZUCGgLzyuJf/OlvnZsVMkq07ZRG8S2CxZ3AQOrR6 iNrS0oRuR2MVyk296hB512qnSHNqg183sOkrR+4pTgmCq0ZoP1OEpUyY2wP5RPEIke5R TYZw== X-Gm-Message-State: AC+VfDzpwKMuMEWZuj/6bEBNvepS49JPGgY4TWsjVYpfx6XOi60fGphA bmVUiasT0x+s4rQkRXHepdCT6g== X-Received: by 2002:a05:6512:74a:b0:4f9:b032:5361 with SMTP id c10-20020a056512074a00b004f9b0325361mr7259068lfs.10.1687960849612; Wed, 28 Jun 2023 07:00:49 -0700 (PDT) Received: from [192.168.1.101] (abyk82.neoplus.adsl.tpnet.pl. [83.9.30.82]) by smtp.gmail.com with ESMTPSA id w2-20020a05651204c200b004f8586ab633sm1941359lfq.279.2023.06.28.07.00.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Jun 2023 07:00:49 -0700 (PDT) From: Konrad Dybcio Date: Wed, 28 Jun 2023 16:00:42 +0200 Subject: [PATCH v12 03/10] dt-bindings: opp: v2-qcom-level: Document CPR3 open/closed loop volt adjustment MIME-Version: 1.0 Message-Id: <20230217-topic-cpr3h-v12-3-1a4d050e1e67@linaro.org> References: <20230217-topic-cpr3h-v12-0-1a4d050e1e67@linaro.org> In-Reply-To: <20230217-topic-cpr3h-v12-0-1a4d050e1e67@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, Jeffrey Hugo , Marijn Suijten , Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1687960842; l=1423; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=WRqHzfry/bVzZ1IkMj1Q1p4NGE07AGHXQmZVGRY1FDM=; b=fmRAjhcXakJvteIMyPJ3dqzr/YpyAJd1sbA3FlZU+g97vJPUQvq4+nkL3Y9g27jcuZ6MD3hl3 c8VgaIzIBU/DVfcqSRYBj1Tp2NsHo25lyAmd/r63DUtB/OuralTt5Dr 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769956572334801796?= X-GMAIL-MSGID: =?utf-8?q?1769956572334801796?= 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 Reviewed-by: AngeloGioacchino Del Regno --- .../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