From: Eugen Hristev <eugen.hristev@microchip.com>
To: <linux-arm-kernel@lists.infradead.org>,
<linux-media@vger.kernel.org>, <hverkuil@xs4all.nl>
Cc: <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<claudiu.beznea@microchip.com>, <nicolas.ferre@microchip.com>,
<jacopo@jmondi.org>, Eugen Hristev <eugen.hristev@microchip.com>
Subject: [PATCH v10 3/5] ARM: dts: at91: sama7g5: add nodes for video capture
Date: Tue, 3 May 2022 12:51:25 +0300 [thread overview]
Message-ID: <20220503095127.48710-4-eugen.hristev@microchip.com> (raw)
In-Reply-To: <20220503095127.48710-1-eugen.hristev@microchip.com>
Add node for the XISC (eXtended Image Sensor Controller) and CSI2DC
(csi2 demux controller).
These nodes represent the top level of the video capture hardware pipeline
and are directly connected in hardware.
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
---
Changes in v10:
- nodes disabled by default
arch/arm/boot/dts/sama7g5.dtsi | 51 ++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
diff --git a/arch/arm/boot/dts/sama7g5.dtsi b/arch/arm/boot/dts/sama7g5.dtsi
index 4decd3a91a76..fe9c6df9819b 100644
--- a/arch/arm/boot/dts/sama7g5.dtsi
+++ b/arch/arm/boot/dts/sama7g5.dtsi
@@ -454,6 +454,57 @@ sdmmc2: mmc@e120c000 {
status = "disabled";
};
+ csi2dc: csi2dc@e1404000 {
+ compatible = "microchip,sama7g5-csi2dc";
+ reg = <0xe1404000 0x500>;
+ clocks = <&pmc PMC_TYPE_PERIPHERAL 34>, <&xisc>;
+ clock-names = "pclk", "scck";
+ assigned-clocks = <&xisc>;
+ assigned-clock-rates = <266000000>;
+ status = "disabled";
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ port@0 {
+ reg = <0>;
+ csi2dc_in: endpoint {
+ };
+ };
+
+ port@1 {
+ reg = <1>;
+ csi2dc_out: endpoint {
+ bus-width = <14>;
+ hsync-active = <1>;
+ vsync-active = <1>;
+ remote-endpoint = <&xisc_in>;
+ };
+ };
+ };
+ };
+
+ xisc: xisc@e1408000 {
+ compatible = "microchip,sama7g5-isc";
+ reg = <0xe1408000 0x2000>;
+ interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&pmc PMC_TYPE_PERIPHERAL 56>;
+ clock-names = "hclock";
+ #clock-cells = <0>;
+ clock-output-names = "isc-mck";
+ status = "disabled";
+
+ port {
+ xisc_in: endpoint {
+ bus-type = <5>; /* Parallel */
+ bus-width = <14>;
+ hsync-active = <1>;
+ vsync-active = <1>;
+ remote-endpoint = <&csi2dc_out>;
+ };
+ };
+ };
+
pwm: pwm@e1604000 {
compatible = "microchip,sama7g5-pwm", "atmel,sama5d2-pwm";
reg = <0xe1604000 0x4000>;
--
2.25.1
next prev parent reply other threads:[~2022-05-03 9:52 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-03 9:51 [PATCH v10 0/5] media: atmel: atmel-isc: implement media controller Eugen Hristev
2022-05-03 9:51 ` [PATCH v10 1/5] media: atmel: atmel-isc: prepare for media controller support Eugen Hristev
2022-05-03 9:51 ` [PATCH v10 2/5] media: atmel: atmel-isc: implement media controller Eugen Hristev
2022-05-03 9:51 ` Eugen Hristev [this message]
2022-12-14 12:55 ` [PATCH v10 3/5] ARM: dts: at91: sama7g5: add nodes for video capture Eugen.Hristev
2022-12-14 14:47 ` Claudiu.Beznea
2023-01-12 9:18 ` Claudiu.Beznea
2022-05-03 9:51 ` [PATCH v10 4/5] ARM: configs: at91: sama7: add xisc and csi2dc Eugen Hristev
2022-05-05 13:30 ` Nicolas Ferre
2022-05-03 9:51 ` [PATCH v10 5/5] ARM: multi_v7_defconfig: add atmel video pipeline modules Eugen Hristev
2022-05-05 15:17 ` Nicolas Ferre
2022-06-15 11:06 ` [PATCH v10 0/5] media: atmel: atmel-isc: implement media controller Eugen.Hristev
2022-06-21 12:22 ` Hans Verkuil
2022-06-22 11:53 ` Hans Verkuil
2022-06-22 12:25 ` Eugen.Hristev
2022-06-22 12:42 ` Eugen.Hristev
2022-06-22 13:47 ` Hans Verkuil
2022-06-22 14:09 ` Eugen.Hristev
2022-06-22 14:14 ` Jacopo Mondi
2022-06-22 14:23 ` Eugen.Hristev
2022-06-22 14:55 ` Hans Verkuil
2022-06-22 15:46 ` Jacopo Mondi
2022-06-23 8:39 ` Eugen.Hristev
2022-06-23 9:19 ` Jacopo Mondi
2022-06-23 9:24 ` Hans Verkuil
2022-06-22 13:35 ` Hans Verkuil
2022-06-22 13:52 ` Eugen.Hristev
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=20220503095127.48710-4-eugen.hristev@microchip.com \
--to=eugen.hristev@microchip.com \
--cc=claudiu.beznea@microchip.com \
--cc=devicetree@vger.kernel.org \
--cc=hverkuil@xs4all.nl \
--cc=jacopo@jmondi.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=nicolas.ferre@microchip.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