devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Richard Acayan <mailingradian@gmail.com>
To: Loic Poulain <loic.poulain@linaro.org>,
	Robert Foss <rfoss@kernel.org>,
	Andi Shyti <andi.shyti@kernel.org>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Todor Tomov <todor.too@gmail.com>,
	"Bryan O'Donoghue" <bryan.odonoghue@linaro.org>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	Bjorn Andersson <andersson@kernel.org>,
	Konrad Dybcio <konradybcio@kernel.org>,
	Richard Acayan <mailingradian@gmail.com>,
	linux-arm-msm@vger.kernel.org, linux-i2c@vger.kernel.org,
	devicetree@vger.kernel.org, linux-media@vger.kernel.org
Subject: [PATCH v3 1/5] dt-bindings: i2c: qcom-cci: Document SDM670 compatible
Date: Mon, 19 Aug 2024 18:10:53 -0400	[thread overview]
Message-ID: <20240819221051.31489-8-mailingradian@gmail.com> (raw)
In-Reply-To: <20240819221051.31489-7-mailingradian@gmail.com>

The CCI on the Snapdragon 670 is the interface for controlling camera
hardware over I2C. Add the compatible so it can be added to the SDM670
device tree.

Signed-off-by: Richard Acayan <mailingradian@gmail.com>
---
 .../devicetree/bindings/i2c/qcom,i2c-cci.yaml  | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/Documentation/devicetree/bindings/i2c/qcom,i2c-cci.yaml b/Documentation/devicetree/bindings/i2c/qcom,i2c-cci.yaml
index c33ae7b63b84..af6dd9a34fd4 100644
--- a/Documentation/devicetree/bindings/i2c/qcom,i2c-cci.yaml
+++ b/Documentation/devicetree/bindings/i2c/qcom,i2c-cci.yaml
@@ -27,6 +27,7 @@ properties:
           - enum:
               - qcom,sc7280-cci
               - qcom,sc8280xp-cci
+              - qcom,sdm670-cci
               - qcom,sdm845-cci
               - qcom,sm6350-cci
               - qcom,sm8250-cci
@@ -138,6 +139,23 @@ allOf:
             - const: cci
             - const: camss_ahb
 
+  - if:
+      properties:
+        compatible:
+          contains:
+            enum:
+              - qcom,sdm670-cci
+    then:
+      properties:
+        clocks:
+          minItems: 4
+        clock-names:
+          items:
+            - const: camnoc_axi
+            - const: soc_ahb
+            - const: cpas_ahb
+            - const: cci
+
   - if:
       properties:
         compatible:
-- 
2.46.0


  reply	other threads:[~2024-08-19 22:10 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-19 22:10 [PATCH v3 0/5] Add SDM670 camera subsystem Richard Acayan
2024-08-19 22:10 ` Richard Acayan [this message]
2024-08-20  6:23   ` [PATCH v3 1/5] dt-bindings: i2c: qcom-cci: Document SDM670 compatible Krzysztof Kozlowski
2024-08-20  8:40   ` Vladimir Zapolskiy
2024-08-19 22:10 ` [PATCH v3 2/5] dt-bindings: media: camss: Add qcom,sdm670-camss Richard Acayan
2024-08-20  7:31   ` Krzysztof Kozlowski
2024-08-20  9:15   ` Vladimir Zapolskiy
2024-08-20  9:56     ` Krzysztof Kozlowski
2024-08-20 11:37       ` Vladimir Zapolskiy
2024-08-19 22:10 ` [PATCH v3 3/5] media: qcom: camss: add support for SDM670 camss Richard Acayan
2024-08-20  9:45   ` Bryan O'Donoghue
2024-08-21  8:15   ` Vladimir Zapolskiy
2024-08-19 22:10 ` [PATCH v3 4/5] arm64: dts: qcom: sdm670: add camcc Richard Acayan
2024-08-20  9:23   ` Vladimir Zapolskiy
2024-08-20  9:26     ` Konrad Dybcio
2024-08-19 22:10 ` [PATCH v3 5/5] arm64: dts: qcom: sdm670: add camss and cci Richard Acayan
2024-08-20  9:40   ` Bryan O'Donoghue
2024-08-21 10:40   ` Vladimir Zapolskiy
2024-08-23 23:44     ` Richard Acayan
2024-08-24 11:56       ` Bryan O'Donoghue
2024-08-24 11:59       ` [PATCH] i2c: qcom-cci: Stop complaining about DT set clock rate Bryan O'Donoghue
2024-08-24 12:39         ` Vladimir Zapolskiy

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=20240819221051.31489-8-mailingradian@gmail.com \
    --to=mailingradian@gmail.com \
    --cc=andersson@kernel.org \
    --cc=andi.shyti@kernel.org \
    --cc=bryan.odonoghue@linaro.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=loic.poulain@linaro.org \
    --cc=mchehab@kernel.org \
    --cc=rfoss@kernel.org \
    --cc=robh@kernel.org \
    --cc=todor.too@gmail.com \
    /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;
as well as URLs for NNTP newsgroup(s).