linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] ARM: dts: Add TVE200 to the Gemini SoC DTSI
@ 2017-10-11 17:45 Linus Walleij
  2017-10-19 21:52 ` Arnd Bergmann
  0 siblings, 1 reply; 2+ messages in thread
From: Linus Walleij @ 2017-10-11 17:45 UTC (permalink / raw)
  To: linux-arm-kernel

The Faraday TVE200 is present in the Gemini SoC, sometimes
under the name "TVC". Add it to the SoC DTSI file along with
its resources.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
ARM SoC folks:

Please apply this directly to some DT branch. I am not
planning any more Gemini DTS patches for v4.15.

ChangeLog v1->v2:
- Move the definition of cells to this file as it is part
  of the IP binding.
- Rename node from "tvc" to "display-controller"
---
 arch/arm/boot/dts/gemini.dtsi | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/arch/arm/boot/dts/gemini.dtsi b/arch/arm/boot/dts/gemini.dtsi
index c68e8d430234..53baba4d9392 100644
--- a/arch/arm/boot/dts/gemini.dtsi
+++ b/arch/arm/boot/dts/gemini.dtsi
@@ -141,6 +141,12 @@
 						groups = "idegrp";
 					};
 				};
+				tvc_default_pins: pinctrl-tvc {
+					mux {
+						function = "tvc";
+						groups = "tvcgrp";
+					};
+				};
 			};
 		};
 
@@ -346,5 +352,20 @@
 			memcpy-bus-width = <32>;
 			#dma-cells = <2>;
 		};
+
+		display-controller at 6a000000 {
+			compatible = "cortina,gemini-tvc", "faraday,tve200";
+			reg = <0x6a000000 0x1000>;
+			interrupts = <13 IRQ_TYPE_EDGE_RISING>;
+			resets = <&syscon GEMINI_RESET_TVC>;
+			clocks = <&syscon GEMINI_CLK_GATE_TVC>,
+				 <&syscon GEMINI_CLK_TVC>;
+			clock-names = "PCLK", "TVE";
+			pinctrl-names = "default";
+			pinctrl-0 = <&tvc_default_pins>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+			status = "disabled";
+		};
 	};
 };
-- 
2.13.6

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH v2] ARM: dts: Add TVE200 to the Gemini SoC DTSI
  2017-10-11 17:45 [PATCH v2] ARM: dts: Add TVE200 to the Gemini SoC DTSI Linus Walleij
@ 2017-10-19 21:52 ` Arnd Bergmann
  0 siblings, 0 replies; 2+ messages in thread
From: Arnd Bergmann @ 2017-10-19 21:52 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Oct 11, 2017 at 7:45 PM, Linus Walleij <linus.walleij@linaro.org> wrote:
> The Faraday TVE200 is present in the Gemini SoC, sometimes
> under the name "TVC". Add it to the SoC DTSI file along with
> its resources.
>
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> ---
> ARM SoC folks:
>
> Please apply this directly to some DT branch. I am not
> planning any more Gemini DTS patches for v4.15.

Applied to next/dt, thanks!

     Arnd

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-10-19 21:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-11 17:45 [PATCH v2] ARM: dts: Add TVE200 to the Gemini SoC DTSI Linus Walleij
2017-10-19 21:52 ` Arnd Bergmann

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).