From: Jack Zhu <jack.zhu@starfivetech.com>
To: Mauro Carvalho Chehab <mchehab@kernel.org>,
Maxime Ripard <mripard@kernel.org>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Robert Foss <rfoss@kernel.org>,
"Todor Tomov" <todor.too@gmail.com>,
Philipp Zabel <p.zabel@pengutronix.de>,
"Laurent Pinchart" <laurent.pinchart@ideasonboard.com>,
Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>,
Hans Verkuil <hverkuil-cisco@xs4all.nl>,
Eugen Hristev <eugen.hristev@collabora.com>
Cc: <linux-media@vger.kernel.org>, <devicetree@vger.kernel.org>,
<linux-kernel@vger.kernel.org>, <jack.zhu@starfivetech.com>,
<changhuang.liang@starfivetech.com>
Subject: [PATCH v4 2/8] media: dt-bindings: cadence-csi2rx: Add resets property
Date: Thu, 13 Apr 2023 11:55:35 +0800 [thread overview]
Message-ID: <20230413035541.62129-3-jack.zhu@starfivetech.com> (raw)
In-Reply-To: <20230413035541.62129-1-jack.zhu@starfivetech.com>
Add resets property for Cadence MIPI-CSI2 RX controller
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Jack Zhu <jack.zhu@starfivetech.com>
---
.../bindings/media/cdns,csi2rx.yaml | 24 +++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/Documentation/devicetree/bindings/media/cdns,csi2rx.yaml b/Documentation/devicetree/bindings/media/cdns,csi2rx.yaml
index aba1191b3e77..30a335b10762 100644
--- a/Documentation/devicetree/bindings/media/cdns,csi2rx.yaml
+++ b/Documentation/devicetree/bindings/media/cdns,csi2rx.yaml
@@ -41,6 +41,24 @@ properties:
- const: pixel_if2_clk
- const: pixel_if3_clk
+ resets:
+ items:
+ - description: CSI2Rx system reset
+ - description: Gated Register bank reset for APB interface
+ - description: pixel reset for Stream interface 0
+ - description: pixel reset for Stream interface 1
+ - description: pixel reset for Stream interface 2
+ - description: pixel reset for Stream interface 3
+
+ reset-names:
+ items:
+ - const: sys
+ - const: reg_bank
+ - const: pixel_if0
+ - const: pixel_if1
+ - const: pixel_if2
+ - const: pixel_if3
+
phys:
maxItems: 1
description: MIPI D-PHY
@@ -123,6 +141,12 @@ examples:
clock-names = "sys_clk", "p_clk",
"pixel_if0_clk", "pixel_if1_clk",
"pixel_if2_clk", "pixel_if3_clk";
+ resets = <&bytereset 9>, <&bytereset 4>,
+ <&corereset 5>, <&corereset 6>,
+ <&corereset 7>, <&corereset 8>;
+ reset-names = "sys", "reg_bank",
+ "pixel_if0", "pixel_if1",
+ "pixel_if2", "pixel_if3";
phys = <&csi_phy>;
phy-names = "dphy";
--
2.34.1
next prev parent reply other threads:[~2023-04-13 3:55 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-13 3:55 [PATCH v4 0/8] Add StarFive Camera Subsystem driver Jack Zhu
2023-04-13 3:55 ` [PATCH v4 1/8] media: dt-bindings: cadence-csi2rx: Convert to DT schema Jack Zhu
2023-04-15 8:56 ` Krzysztof Kozlowski
2023-04-19 6:08 ` Laurent Pinchart
2023-04-13 3:55 ` Jack Zhu [this message]
2023-04-13 3:55 ` [PATCH v4 3/8] media: cadence: Add operation on reset Jack Zhu
2023-04-13 3:55 ` [PATCH v4 4/8] media: cadence: Add support for external dphy Jack Zhu
2023-04-13 3:55 ` [PATCH v4 5/8] media: cadence: Add support for JH7110 SoC Jack Zhu
2023-04-13 3:55 ` [PATCH v4 6/8] media: dt-bindings: Add bindings for JH7110 Camera Subsystem Jack Zhu
2023-04-15 8:59 ` Krzysztof Kozlowski
2023-04-17 9:21 ` Jack Zhu
2023-04-19 6:15 ` Laurent Pinchart
2023-04-20 8:51 ` Jack Zhu
2023-04-24 12:02 ` Laurent Pinchart
2023-04-25 6:34 ` Jack Zhu
2023-04-13 3:55 ` [PATCH v4 7/8] media: admin-guide: Add starfive_camss.rst for Starfive " Jack Zhu
2023-04-13 3:55 ` [PATCH v4 8/8] media: starfive: Add Starfive Camera Subsystem driver Jack Zhu
2023-04-24 11:19 ` [PATCH v4 0/8] Add StarFive " Jack Zhu
2023-05-05 5:57 ` Jack Zhu
2023-05-05 6:40 ` Krzysztof Kozlowski
2023-05-05 8:14 ` Jack Zhu
2023-05-05 12:24 ` Krzysztof Kozlowski
2023-05-06 2:25 ` Jack Zhu
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=20230413035541.62129-3-jack.zhu@starfivetech.com \
--to=jack.zhu@starfivetech.com \
--cc=changhuang.liang@starfivetech.com \
--cc=devicetree@vger.kernel.org \
--cc=eugen.hristev@collabora.com \
--cc=ezequiel@vanguardiasur.com.ar \
--cc=hverkuil-cisco@xs4all.nl \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=mripard@kernel.org \
--cc=p.zabel@pengutronix.de \
--cc=rfoss@kernel.org \
--cc=robh+dt@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).