Skip to contentSkip to conversation

ARM: dts: r8a7745: add VIN dt support

PATCH New Fabrizio Castro 2 participants 2 messages Jul 25, 2018 – Aug 24, 2018 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: r8a7745: add VIN dt support

Add VIN[01] support to SoC dt. Also, add aliases.

(cherry picked from commit 1a20f21899e7ae886675874b5b5fb03eb43ea69b)

(moved nodes to a better location to allow for better sorting. updated clocks and power-domains properties. removed resets property)

---
Hello Ben,

This patch depends on series "Add CAN support to iwg22d":
https://lists.cip-project.org/pipermail/cip-dev/2018-July/001403.html

and it applies on top of branch linux-4.4.y-cip, commit 4d769b2b8749e89dfc7ea179a44f652dcfbedb37 ("PM / OPP: Move error message to debug level").

Thanks,
Fab

 arch/arm/boot/dts/r8a7745.dtsi | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
arch/arm/boot/dts/r8a7745.dtsi +22 -0
index c2e38ae..0335e45 100644
@@ -30,6 +30,8 @@
 		spi1 = &msiof0;
 		spi2 = &msiof1;
 		spi3 = &msiof2;
+		vin0 = &vin0;
+		vin1 = &vin1;
 	};
 
 	/* External CAN clock */
@@ -878,6 +880,26 @@
 			status = "disabled";
 		};
 
+		vin0: video at e6ef0000 {
+			compatible = "renesas,vin-r8a7745",
+				     "renesas,rcar-gen2-vin";
+			reg = <0 0xe6ef0000 0 0x1000>;
+			interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&mstp8_clks R8A7745_CLK_VIN0>;
+			power-domains = <&cpg_clocks>;
+			status = "disabled";
+		};
+
+		vin1: video at e6ef1000 {
+			compatible = "renesas,vin-r8a7745",
+				     "renesas,rcar-gen2-vin";
+			reg = <0 0xe6ef1000 0 0x1000>;
+			interrupts = <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&mstp8_clks R8A7745_CLK_VIN1>;
+			power-domains = <&cpg_clocks>;
+			status = "disabled";
+		};
+
 		pci0: pci at ee090000 {
 			compatible = "renesas,pci-r8a7745",
 				     "renesas,pci-rcar-gen2";
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 ARM: dts: r8a7745: add VIN dt support

Quoted 13 lines · Fabrizio Castro

Add VIN[01] support to SoC dt. Also, add aliases.

(cherry picked from commit 1a20f21899e7ae886675874b5b5fb03eb43ea69b)

(moved nodes to a better location to allow for better sorting. updated clocks and power-domains properties. removed resets property)

---
Hello Ben,

Quoted 6 lines

This patch depends on series "Add CAN support to iwg22d":
https://lists.cip-project.org/pipermail/cip-dev/2018-July/001403.html

and it applies on top of branch linux-4.4.y-cip, commit 4d769b2b8749e89dfc7ea179a44f652dcfbedb37 ("PM / OPP: Move error message to debug level").

[...]

Applied, thanks.

Ben.

Signature · 3 lines
Ben Hutchings, Software Developer                ?        Codethink Ltd
https://www.codethink.co.uk/                 Dale House, 35 Dale Street
                                     Manchester, M1 2HF, United Kingdom