Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1589640

[PATCH v3 4/4] ARM: dts: da850-evm: add the output port to the vpif node

From Bartosz Golaszewski <bgolaszewski@baylibre.com>
Newsgroups linux.kernel
Subject [PATCH v3 4/4] ARM: dts: da850-evm: add the output port to the vpif node
Date 2017-02-28 18:20 +0100
Message-ID <tfTBo-7wT-25@gated-at.bofh.it> (permalink)
References <tfSOZ-6Wr-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Extend the vpif node with an output port with a single channel.

NOTE: this is still mostly just hardware description - the actual
driver is registered using pdata-quirks. We need the node however
for correct pin control function selection.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
---
 arch/arm/boot/dts/da850-evm.dts | 15 +++++++++++----
 arch/arm/boot/dts/da850.dtsi    |  8 +++++++-
 2 files changed, 18 insertions(+), 5 deletions(-)

diff --git a/arch/arm/boot/dts/da850-evm.dts b/arch/arm/boot/dts/da850-evm.dts
index 3968a18..aa29991 100644
--- a/arch/arm/boot/dts/da850-evm.dts
+++ b/arch/arm/boot/dts/da850-evm.dts
@@ -300,20 +300,27 @@
 
 &vpif {
 	pinctrl-names = "default";
-	pinctrl-0 = <&vpif_capture_pins>;
+	pinctrl-0 = <&vpif_capture_pins>, <&vpif_display_pins>;
 	status = "okay";
 
 	/* VPIF capture port */
-	port {
-		vpif_ch0: endpoint@0 {
+	port@0 {
+		vpif_input_ch0: endpoint@0 {
 			reg = <0>;
 			bus-width = <8>;
 		};
 
-		vpif_ch1: endpoint@1 {
+		vpif_input_ch1: endpoint@1 {
 			reg = <1>;
 			bus-width = <8>;
 			data-shift = <8>;
 		};
 	};
+
+	/* VPIF display port */
+	port@1 {
+		vpif_output_ch0: endpoint {
+			bus-width = <8>;
+		};
+	};
 };
diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi
index 5150331..c708155 100644
--- a/arch/arm/boot/dts/da850.dtsi
+++ b/arch/arm/boot/dts/da850.dtsi
@@ -358,7 +358,13 @@
 			status = "disabled";
 
 			/* VPIF capture port */
-			port {
+			port@0 {
+				#address-cells = <1>;
+				#size-cells = <0>;
+			};
+
+			/* VPIF display port */
+			port@1 {
 				#address-cells = <1>;
 				#size-cells = <0>;
 			};
-- 
2.9.3

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v3 0/4] ARM: dts: da850-evm: vpif DT changes Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2017-02-28 17:30 +0100
  [PATCH v3 3/4] ARM: dts: da850-evm: add the UI expander node Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2017-02-28 17:50 +0100
    Re: [PATCH v3 3/4] ARM: dts: da850-evm: add the UI expander node Sekhar Nori <nsekhar@ti.com> - 2017-03-07 14:30 +0100
  [PATCH v3 4/4] ARM: dts: da850-evm: add the output port to the vpif node Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2017-02-28 18:20 +0100
  [PATCH v3 2/4] ARM: dts: da850: add vpif video display pins Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2017-02-28 19:30 +0100
  Re: [PATCH v3 0/4] ARM: dts: da850-evm: vpif DT changes Sekhar Nori <nsekhar@ti.com> - 2017-03-07 12:30 +0100

csiph-web