All of lore.kernel.org
 help / color / mirror / Atom feed
From: linus.walleij@linaro.org (Linus Walleij)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/4] ARM: dts: Add TVE200 to the Gemini SoC DTSI
Date: Sun, 13 Aug 2017 17:11:31 +0200	[thread overview]
Message-ID: <20170813151132.24736-4-linus.walleij@linaro.org> (raw)
In-Reply-To: <20170813151132.24736-1-linus.walleij@linaro.org>

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>
---
DRM developers: I will merge this patch through the ARM SoC
tree. It is only included in this series for completion.
---
 arch/arm/boot/dts/gemini.dtsi | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/arch/arm/boot/dts/gemini.dtsi b/arch/arm/boot/dts/gemini.dtsi
index c68e8d430234..f4957545e558 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,18 @@
 			memcpy-bus-width = <32>;
 			#dma-cells = <2>;
 		};
+
+		tvc 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>;
+			status = "disabled";
+		};
 	};
 };
-- 
2.13.4

WARNING: multiple messages have this Message-ID (diff)
From: Linus Walleij <linus.walleij@linaro.org>
To: dri-devel@lists.freedesktop.org, Eric Anholt <eric@anholt.net>,
	Daniel Vetter <daniel.vetter@intel.com>,
	Jani Nikula <jani.nikula@linux.intel.com>,
	Sean Paul <seanpaul@chromium.org>
Cc: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/4] ARM: dts: Add TVE200 to the Gemini SoC DTSI
Date: Sun, 13 Aug 2017 17:11:31 +0200	[thread overview]
Message-ID: <20170813151132.24736-4-linus.walleij@linaro.org> (raw)
In-Reply-To: <20170813151132.24736-1-linus.walleij@linaro.org>

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>
---
DRM developers: I will merge this patch through the ARM SoC
tree. It is only included in this series for completion.
---
 arch/arm/boot/dts/gemini.dtsi | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/arch/arm/boot/dts/gemini.dtsi b/arch/arm/boot/dts/gemini.dtsi
index c68e8d430234..f4957545e558 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,18 @@
 			memcpy-bus-width = <32>;
 			#dma-cells = <2>;
 		};
+
+		tvc@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>;
+			status = "disabled";
+		};
 	};
 };
-- 
2.13.4

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  parent reply	other threads:[~2017-08-13 15:11 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-13 15:11 [PATCH 0/4] DRM driver for Faraday TVE200 Linus Walleij
2017-08-13 15:11 ` Linus Walleij
     [not found] ` <20170813151132.24736-1-linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2017-08-13 15:11   ` [PATCH 1/4] drm/tve200: Add DT bindings Linus Walleij
2017-08-13 15:11     ` Linus Walleij
2017-08-17 20:46     ` Rob Herring
2017-08-17 20:46       ` Rob Herring
2017-08-13 15:11 ` [PATCH 2/4] drm/tve200: Add new driver for TVE200 Linus Walleij
2017-08-13 15:11   ` Linus Walleij
2017-08-14 14:20   ` Daniel Vetter
2017-08-14 14:20     ` Daniel Vetter
2017-08-15 20:02     ` Linus Walleij
2017-08-15 20:02       ` Linus Walleij
2017-08-15 20:08       ` Daniel Vetter
2017-08-15 20:08         ` Daniel Vetter
2017-08-14 18:56   ` Eric Anholt
2017-08-14 18:56     ` Eric Anholt
2017-08-20 10:04     ` Linus Walleij
2017-08-20 10:04       ` Linus Walleij
2017-08-15 21:49   ` Noralf Trønnes
2017-08-15 21:49     ` Noralf Trønnes
2017-08-13 15:11 ` Linus Walleij [this message]
2017-08-13 15:11   ` [PATCH 3/4] ARM: dts: Add TVE200 to the Gemini SoC DTSI Linus Walleij
2017-08-13 15:11 ` [PATCH 4/4] ARM: dts: Add TVE/TVC and ILI9322 panel to DIR-685 Linus Walleij
2017-08-13 15:11   ` Linus Walleij

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=20170813151132.24736-4-linus.walleij@linaro.org \
    --to=linus.walleij@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.