linux-renesas-soc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Simon Horman <horms+renesas@verge.net.au>
To: linux-renesas-soc@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org,
	Magnus Damm <magnus.damm@gmail.com>,
	Fabrizio Castro <fabrizio.castro@bp.renesas.com>,
	Simon Horman <horms+renesas@verge.net.au>
Subject: [PATCH 29/44] arm64: dts: renesas: r8a774c0: Add VIN and CSI-2 device nodes
Date: Thu, 24 Jan 2019 16:12:23 +0100	[thread overview]
Message-ID: <e961ab42e034d4690ab4fd6a112b50209dec46ea.1548233325.git.horms+renesas@verge.net.au> (raw)
In-Reply-To: <cover.1548233325.git.horms+renesas@verge.net.au>

From: Fabrizio Castro <fabrizio.castro@bp.renesas.com>

Add device nodes for VIN4, VIN5 and CSI40 to RZ/G2E (a.k.a. R8A774C0)
SoC specific device tree.

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm64/boot/dts/renesas/r8a774c0.dtsi | 88 +++++++++++++++++++++++++++++++
 1 file changed, 88 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a774c0.dtsi b/arch/arm64/boot/dts/renesas/r8a774c0.dtsi
index c13c1827d5d9..3970aafeee12 100644
--- a/arch/arm64/boot/dts/renesas/r8a774c0.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a774c0.dtsi
@@ -1057,6 +1057,62 @@
 			status = "disabled";
 		};
 
+		vin4: video@e6ef4000 {
+			compatible = "renesas,vin-r8a774c0";
+			reg = <0 0xe6ef4000 0 0x1000>;
+			interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 807>;
+			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
+			resets = <&cpg 807>;
+			renesas,id = <4>;
+			status = "disabled";
+
+			ports {
+				#address-cells = <1>;
+				#size-cells = <0>;
+
+				port@1 {
+					#address-cells = <1>;
+					#size-cells = <0>;
+
+					reg = <1>;
+
+					vin4csi40: endpoint@2 {
+						reg = <2>;
+						remote-endpoint= <&csi40vin4>;
+					};
+				};
+			};
+		};
+
+		vin5: video@e6ef5000 {
+			compatible = "renesas,vin-r8a774c0";
+			reg = <0 0xe6ef5000 0 0x1000>;
+			interrupts = <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 806>;
+			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
+			resets = <&cpg 806>;
+			renesas,id = <5>;
+			status = "disabled";
+
+			ports {
+				#address-cells = <1>;
+				#size-cells = <0>;
+
+				port@1 {
+					#address-cells = <1>;
+					#size-cells = <0>;
+
+					reg = <1>;
+
+					vin5csi40: endpoint@2 {
+						reg = <2>;
+						remote-endpoint= <&csi40vin5>;
+					};
+				};
+			};
+		};
+
 		rcar_sound: sound@ec500000 {
 			/*
 			 * #sound-dai-cells is required
@@ -1521,6 +1577,38 @@
 			iommus = <&ipmmu_vi0 9>;
 		};
 
+		csi40: csi2@feaa0000 {
+			compatible = "renesas,r8a774c0-csi2",
+				     "renesas,rcar-gen3-csi2";
+			reg = <0 0xfeaa0000 0 0x10000>;
+			interrupts = <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 716>;
+			power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>;
+			resets = <&cpg 716>;
+			status = "disabled";
+
+			ports {
+				#address-cells = <1>;
+				#size-cells = <0>;
+
+				port@1 {
+					#address-cells = <1>;
+					#size-cells = <0>;
+
+					reg = <1>;
+
+					csi40vin4: endpoint@0 {
+						reg = <0>;
+						remote-endpoint = <&vin4csi40>;
+					};
+					csi40vin5: endpoint@1 {
+						reg = <1>;
+						remote-endpoint = <&vin5csi40>;
+					};
+				};
+			};
+		};
+
 		du: display@feb00000 {
 			compatible = "renesas,du-r8a774c0";
 			reg = <0 0xfeb00000 0 0x80000>;
-- 
2.11.0


  parent reply	other threads:[~2019-01-24 15:13 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-24 15:12 [GIT PULL] Renesas ARM64 Based SoC DT Updates for v5.1 Simon Horman
2019-01-24 15:11 ` [PATCH 01/44] arm64: dts: renesas: r8a77990: ebisu: Add backlight Simon Horman
2019-01-24 15:11 ` [PATCH 02/44] arm64: dts: renesas: r8a77995: draak: Set better backlight levels Simon Horman
2019-01-24 15:11 ` [PATCH 03/44] arm64: dts: renesas: r8a77990: ebisu: Fix EthernetAVB phy mode to rgmii Simon Horman
2019-01-24 15:11 ` [PATCH 04/44] arm64: dts: renesas: Initial device tree for r8a774c0 Simon Horman
2019-01-24 15:11 ` [PATCH 05/44] arm64: dts: renesas: r8a774c0: Add SYS-DMAC controller nodes Simon Horman
2019-01-24 15:12 ` [PATCH 06/44] arm64: dts: renesas: r8a774c0: Add SCIF and HSCIF nodes Simon Horman
2019-01-24 15:12 ` [PATCH 07/44] arm64: dts: renesas: r8a774c0: Add INTC-EX device node Simon Horman
2019-01-24 15:12 ` [PATCH 08/44] arm64: dts: renesas: r8a774c0: Add PFC support Simon Horman
2019-01-24 15:12 ` [PATCH 09/44] arm64: dts: renesas: r8a774c0: Add GPIO device nodes Simon Horman
2019-01-24 15:12 ` [PATCH 10/44] arm64: dts: renesas: r8a774c0: Add Ethernet AVB node Simon Horman
2019-01-24 15:12 ` [PATCH 11/44] arm64: dts: renesas: r8a774c0: Add watchdog support Simon Horman
2019-01-24 15:12 ` [PATCH 12/44] arm64: dts: renesas: r8a774c0: Add secondary CA53 CPU core Simon Horman
2019-01-24 15:12 ` [PATCH 13/44] arm64: dts: renesas: r8a774c0: Add SDHI nodes Simon Horman
2019-01-24 15:12 ` [PATCH 14/44] arm64: dts: renesas: r8a774c0: Add I2C and IIC-DVFS support Simon Horman
2019-01-24 15:12 ` [PATCH 15/44] arm64: dts: renesas: r8a774c0: Add IPMMU device nodes Simon Horman
2019-01-24 15:12 ` [PATCH 16/44] arm64: dts: renesas: r8a774c0: Add CAN nodes Simon Horman
2019-01-24 15:12 ` [PATCH 17/44] arm64: dts: renesas: r8a774c0: Add thermal support Simon Horman
2019-01-24 15:12 ` [PATCH 18/44] arm64: dts: renesas: r8a774c0: Add MSIOF nodes Simon Horman
2019-01-24 15:12 ` [PATCH 19/44] arm64: dts: renesas: r8a774c0: Add audio support Simon Horman
2019-01-24 15:12 ` [PATCH 20/44] arm64: dts: renesas: r8a774c0: Add PWM support Simon Horman
2019-01-24 15:12 ` [PATCH 21/44] arm64: dts: renesas: r8a774c0: Add display output support Simon Horman
2019-01-24 15:12 ` [PATCH 22/44] arm64: dts: renesas: r8a774c0: Add USB2.0 phy and host device nodes Simon Horman
2019-01-24 15:12 ` [PATCH 23/44] arm64: dts: renesas: r8a774c0: Add USB-DMAC and HSUSB " Simon Horman
2019-01-24 15:12 ` [PATCH 24/44] arm64: dts: renesas: r8a774c0: Add USB3.0 " Simon Horman
2019-01-24 15:12 ` [PATCH 25/44] arm64: dts: renesas: r8a774c0: Connect RZ/G2E SYS-DMAC to IPMMU Simon Horman
2019-01-24 15:12 ` [PATCH 26/44] arm64: dts: renesas: r8a774c0: Connect RZ/G2E AVB " Simon Horman
2019-01-24 15:12 ` [PATCH 27/44] arm64: dts: renesas: r8a774c0: Connect RZ/G2E Audio-DMAC " Simon Horman
2019-01-24 15:12 ` [PATCH 28/44] arm64: dts: renesas: r8a774c0: Add PCIe device node Simon Horman
2019-01-24 15:12 ` Simon Horman [this message]
2019-01-24 15:12 ` [PATCH 30/44] arm64: dts: renesas: r8a774a1: Fix hsusb reg size Simon Horman
2019-01-24 15:12 ` [PATCH 31/44] arm64: dts: renesas: r8a77990: sort pciec0 node within soc node Simon Horman
2019-01-24 15:12 ` [PATCH 32/44] arm64: dts: renesas: r8a77990: Sort i2c nodes " Simon Horman
2019-01-24 15:12 ` [PATCH 33/44] arm64: dts: renesas: r8a7796: salvator-xs: Convert to new LVDS DT bindings Simon Horman
2019-01-24 15:12 ` [PATCH 34/44] arm64: dts: renesas: ulcb: use audio-graph-card Simon Horman
2019-01-24 15:12 ` [PATCH 35/44] arm64: dts: renesas: ulcb: add HDMI sound support Simon Horman
2019-01-24 15:12 ` [PATCH 36/44] arm64: dts: renesas: ulcb-kf: add pcm3168 sound codec Simon Horman
2019-01-24 15:12 ` [PATCH 37/44] arm64: dts: renesas: r8a7795: remove BUSIF0 settings from rcar_sound,ssi Simon Horman
2019-01-24 15:12 ` [PATCH 38/44] arm64: dts: renesas: r8a7796: " Simon Horman
2019-01-24 15:12 ` [PATCH 39/44] arm64: dts: renesas: r8a77990-ebisu: use simple-audio-card Simon Horman
2019-01-24 15:12 ` [PATCH 40/44] arm64: dts: renesas: v3msk: specify EtherAVB PHY IRQ Simon Horman
2019-01-24 15:12 ` [PATCH 41/44] arm64: dts: renesas: r8a77990: ebisu: Fix backlight regulator numbering Simon Horman
2019-01-24 15:12 ` [PATCH 42/44] arm64: dts: renesas: r8a774c0: Enable DMA for SCIF2 Simon Horman
2019-01-24 15:12 ` [PATCH 43/44] arm64: dts: renesas: r8a77990: " Simon Horman
2019-01-24 15:12 ` [PATCH 44/44] arm64: dts: renesas: r8a77990: ebisu: Enable HS400 of SDHI3 Simon Horman
2019-01-30 16:55 ` [GIT PULL] Renesas ARM64 Based SoC DT Updates for v5.1 Arnd Bergmann

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=e961ab42e034d4690ab4fd6a112b50209dec46ea.1548233325.git.horms+renesas@verge.net.au \
    --to=horms+renesas@verge.net.au \
    --cc=fabrizio.castro@bp.renesas.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=magnus.damm@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).