[v12,03/10] dt-bindings: opp: v2-qcom-level: Document CPR3 open/closed loop volt adjustment
Message ID | 20230217-topic-cpr3h-v12-3-1a4d050e1e67@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 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 <rfc822;ivan.orlov0322@gmail.com> + 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 <rfc822;linux-kernel@vger.kernel.org>); 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 <linux-kernel@vger.kernel.org>; Wed, 28 Jun 2023 07:00:51 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-4fa16c6a85cso6587407e87.3 for <linux-kernel@vger.kernel.org>; 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 <konrad.dybcio@linaro.org> 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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 <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, 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=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: <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?1769956572334801796?= X-GMAIL-MSGID: =?utf-8?q?1769956572334801796?= |
Series |
(no cover subject)
|
|
Commit Message
Konrad Dybcio
June 28, 2023, 2 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(+)
Comments
On Wed, 28 Jun 2023 16:00:42 +0200, 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. > > Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> > --- > .../devicetree/bindings/opp/opp-v2-qcom-level.yaml | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' on your patch (DT_CHECKER_FLAGS is new in v5.13): yamllint warnings/errors: dtschema/dtc warnings/errors: Documentation/devicetree/bindings/iio/adc/ti,palmas-gpadc.example.dtb: /example-0/pmic: failed to match any schema with compatible: ['ti,twl6035-pmic', 'ti,palmas-pmic'] Documentation/devicetree/bindings/iio/adc/ti,palmas-gpadc.example.dtb: /example-0/pmic: failed to match any schema with compatible: ['ti,twl6035-pmic', 'ti,palmas-pmic'] Documentation/devicetree/bindings/i2c/qcom,i2c-cci.example.dtb: /example-0/cci@ac4a000/i2c-bus@1/camera@60: failed to match any schema with compatible: ['ovti,ov7251'] Documentation/devicetree/bindings/net/marvell,mvusb.example.dtb: /example-0/usb/mdio@1/switch@0: failed to match any schema with compatible: ['marvell,mv88e6190'] Documentation/devicetree/bindings/net/qca,ar71xx.example.dtb: /example-0/ethernet@1a000000/mdio/switch@10: failed to match any schema with compatible: ['qca,ar9331-switch'] Documentation/devicetree/bindings/memory-controllers/ingenic,nemc.example.dtb: /example-0/memory-controller@13410000/ethernet@6: failed to match any schema with compatible: ['davicom,dm9000'] Documentation/devicetree/bindings/reset/hisilicon,hi3660-reset.example.dtb: /example-0/iomcu@ffd7e000: failed to match any schema with compatible: ['hisilicon,hi3660-iomcu', 'syscon'] Documentation/devicetree/bindings/leds/common.example.dtb: /example-2/i2c/led-controller@30: failed to match any schema with compatible: ['panasonic,an30259a'] Documentation/devicetree/bindings/dma/dma-router.example.dtb: /example-0/dma-router@4a002b78: failed to match any schema with compatible: ['ti,dra7-dma-crossbar'] Documentation/devicetree/bindings/dma/dma-controller.example.dtb: /example-0/dma-controller@48000000: failed to match any schema with compatible: ['ti,omap-sdma'] Documentation/devicetree/bindings/media/rockchip-isp1.example.dtb: /example-0/parent/i2c/camera@36: failed to match any schema with compatible: ['ovti,ov5695'] Documentation/devicetree/bindings/clock/sprd,sc9863a-clk.example.dtb: /example-1/syscon@20e00000: failed to match any schema with compatible: ['sprd,sc9863a-glbregs', 'syscon', 'simple-mfd'] Documentation/devicetree/bindings/clock/milbeaut-clock.example.dtb: /example-2/serial@1e700010: failed to match any schema with compatible: ['socionext,milbeaut-usio-uart'] Documentation/devicetree/bindings/arm/hisilicon/controller/cpuctrl.example.dtb: /example-0/cpuctrl@a22000/clock@0: failed to match any schema with compatible: ['hisilicon,hix5hd2-clock'] Documentation/devicetree/bindings/arm/hisilicon/controller/hi3798cv200-perictrl.example.dtb: /example-0/peripheral-controller@8a20000/phy@850: failed to match any schema with compatible: ['hisilicon,hi3798cv200-combphy'] Documentation/devicetree/bindings/arm/hisilicon/controller/sysctrl.example.dtb: /example-0/system-controller@802000/clock@0: failed to match any schema with compatible: ['hisilicon,hi3620-clock'] Documentation/devicetree/bindings/sound/audio-graph-card2.example.dtb: /example-0/cpu: failed to match any schema with compatible: ['cpu-driver'] Documentation/devicetree/bindings/sound/audio-graph-card2.example.dtb: /example-0/codec: failed to match any schema with compatible: ['codec-driver'] Documentation/devicetree/bindings/input/sprd,sc27xx-vibrator.example.dtb: /example-0/pmic@0: failed to match any schema with compatible: ['sprd,sc2731'] Documentation/devicetree/bindings/input/mediatek,pmic-keys.example.dtb: /example-0/pmic: failed to match any schema with compatible: ['mediatek,mt6397'] Documentation/devicetree/bindings/thermal/brcm,avs-ro-thermal.example.dtb: /example-0/avs-monitor@7d5d2000: failed to match any schema with compatible: ['brcm,bcm2711-avs-monitor', 'syscon', 'simple-mfd'] Documentation/devicetree/bindings/thermal/imx-thermal.example.dtb: /example-0/anatop@20c8000: failed to match any schema with compatible: ['fsl,imx6q-anatop', 'syscon', 'simple-mfd'] doc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20230217-topic-cpr3h-v12-3-1a4d050e1e67@linaro.org The base for the series is generally the latest rc1. A different dependency should be noted in *this* patch. If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date: pip3 install dtschema --upgrade Please check and re-submit after running the above command yourself. Note that DT_SCHEMA_FILES can be set to your schema file to speed up checking your schema. However, it must be unset to test all examples with your schema.
Il 28/06/23 16:00, Konrad Dybcio ha scritto: > 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> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
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