From: Varadarajan Narayanan <quic_varada@quicinc.com>
To: <robh@kernel.org>, <krzk+dt@kernel.org>, <conor+dt@kernel.org>,
<angelogioacchino.delregno@collabora.com>, <andersson@kernel.org>,
<konrad.dybcio@linaro.org>, <mturquette@baylibre.com>,
<sboyd@kernel.org>, <ilia.lin@kernel.org>, <rafael@kernel.org>,
<viresh.kumar@linaro.org>, <ulf.hansson@linaro.org>,
<quic_sibis@quicinc.com>, <quic_varada@quicinc.com>,
<quic_rjendra@quicinc.com>, <otto.pflueger@abscue.de>,
<luca@z3ntu.xyz>, <danila@jiaxyga.com>,
<quic_ipkumar@quicinc.com>, <stephan.gerhold@kernkonzept.com>,
<linux-arm-msm@vger.kernel.org>, <devicetree@vger.kernel.org>,
<linux-kernel@vger.kernel.org>, <linux-clk@vger.kernel.org>,
<linux-pm@vger.kernel.org>
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Subject: [PATCH v5 4/9] dt-bindings: soc: qcom: cpr3: Add bindings for IPQ9574
Date: Tue, 9 Jul 2024 14:31:27 +0530 [thread overview]
Message-ID: <20240709090132.117077-5-quic_varada@quicinc.com> (raw)
In-Reply-To: <20240709090132.117077-1-quic_varada@quicinc.com>
Add the bindings for the IPQ9574 CPR3 driver to the documentation.
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Varadarajan Narayanan <quic_varada@quicinc.com>
---
v5: Add Reviewed-by
v4: Change compatible string to cpr4 instead of cprh
Not adding Reviewed-By as compatible string changed
v2: Constrained nvmem-cells and the other variant.
Removed unnecessary blank line.
---
.../bindings/soc/qcom/qcom,cpr3.yaml | 35 +++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,cpr3.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,cpr3.yaml
index acf2e294866b..b875a7633f31 100644
--- a/Documentation/devicetree/bindings/soc/qcom/qcom,cpr3.yaml
+++ b/Documentation/devicetree/bindings/soc/qcom/qcom,cpr3.yaml
@@ -24,6 +24,7 @@ properties:
- const: qcom,cpr4
- items:
- enum:
+ - qcom,ipq9574-cpr4
- qcom,msm8998-cprh
- qcom,sdm630-cprh
- const: qcom,cprh
@@ -52,9 +53,11 @@ properties:
nvmem-cells:
description: Cells containing the fuse corners and revision data
+ minItems: 17
maxItems: 32
nvmem-cell-names:
+ minItems: 17
maxItems: 32
operating-points-v2: true
@@ -74,6 +77,36 @@ required:
additionalProperties: false
allOf:
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - qcom,ipq9574-cpr4
+ then:
+ properties:
+ nvmem-cells:
+ maxItems: 17
+ nvmem-cell-names:
+ items:
+ - const: cpr_speed_bin
+ - const: cpr_fuse_revision
+ - const: cpr0_quotient1
+ - const: cpr0_quotient2
+ - const: cpr0_quotient3
+ - const: cpr0_quotient4
+ - const: cpr0_quotient_offset2
+ - const: cpr0_quotient_offset3
+ - const: cpr0_quotient_offset4
+ - const: cpr0_init_voltage1
+ - const: cpr0_init_voltage2
+ - const: cpr0_init_voltage3
+ - const: cpr0_init_voltage4
+ - const: cpr0_ring_osc1
+ - const: cpr0_ring_osc2
+ - const: cpr0_ring_osc3
+ - const: cpr0_ring_osc4
+
- if:
properties:
compatible:
@@ -82,6 +115,8 @@ allOf:
- qcom,msm8998-cprh
then:
properties:
+ nvmem-cells:
+ minItems: 32
nvmem-cell-names:
items:
- const: cpr_speed_bin
--
2.34.1
next prev parent reply other threads:[~2024-07-09 9:02 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-09 9:01 [PATCH v5 0/9] Enable CPR " Varadarajan Narayanan
2024-07-09 9:01 ` [PATCH v5 1/9] soc: qcom: cpr3: Fix 'acc_desc' usage Varadarajan Narayanan
2024-07-09 9:01 ` [PATCH v5 2/9] cpufreq: qcom-nvmem: Add support for IPQ9574 Varadarajan Narayanan
2024-07-09 9:01 ` [PATCH v5 3/9] dt-bindings: power: rpmpd: Add IPQ9574 power domains Varadarajan Narayanan
2024-07-09 9:01 ` Varadarajan Narayanan [this message]
2024-07-09 9:01 ` [PATCH v5 5/9] pmdomain: qcom: " Varadarajan Narayanan
2024-07-09 9:01 ` [PATCH v5 6/9] dt-bindings: clock: Add CPR clock defines for IPQ9574 Varadarajan Narayanan
2024-07-09 9:01 ` [PATCH v5 7/9] clk: qcom: gcc-ipq9574: Add CPR clock definition Varadarajan Narayanan
2024-07-09 9:01 ` [PATCH v5 8/9] soc: qcom: cpr3: Add IPQ9574 definitions Varadarajan Narayanan
2024-07-09 9:01 ` [PATCH v5 9/9] dts: arm64: qcom: ipq9574: Enable CPR Varadarajan Narayanan
2024-07-09 9:04 ` Krzysztof Kozlowski
2024-07-10 6:15 ` Varadarajan Narayanan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240709090132.117077-5-quic_varada@quicinc.com \
--to=quic_varada@quicinc.com \
--cc=andersson@kernel.org \
--cc=angelogioacchino.delregno@collabora.com \
--cc=conor+dt@kernel.org \
--cc=danila@jiaxyga.com \
--cc=devicetree@vger.kernel.org \
--cc=ilia.lin@kernel.org \
--cc=konrad.dybcio@linaro.org \
--cc=krzk+dt@kernel.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=luca@z3ntu.xyz \
--cc=mturquette@baylibre.com \
--cc=otto.pflueger@abscue.de \
--cc=quic_ipkumar@quicinc.com \
--cc=quic_rjendra@quicinc.com \
--cc=quic_sibis@quicinc.com \
--cc=rafael@kernel.org \
--cc=robh@kernel.org \
--cc=sboyd@kernel.org \
--cc=stephan.gerhold@kernkonzept.com \
--cc=ulf.hansson@linaro.org \
--cc=viresh.kumar@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®