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


Groups > linux.kernel > #1575880

[PATCH 05/10] ARM: dts: da850: add vpif video display pins

From Bartosz Golaszewski <bgolaszewski@baylibre.com>
Newsgroups linux.kernel
Subject [PATCH 05/10] ARM: dts: da850: add vpif video display pins
Date 2017-02-07 17:50 +0100
Message-ID <t8h7R-5ki-45@gated-at.bofh.it> (permalink)
References <t8h7P-5ki-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Add a new pinctrl sub-node for vpif display pins. Move VP_CLKIN3 and
VP_CLKIN2 to the display node where they actually belong (vide section
35.2.2 of the da850 datasheet).

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

diff --git a/arch/arm/boot/dts/da850-evm.dts b/arch/arm/boot/dts/da850-evm.dts
index 3d6dd66..6db16ba 100644
--- a/arch/arm/boot/dts/da850-evm.dts
+++ b/arch/arm/boot/dts/da850-evm.dts
@@ -295,7 +295,7 @@
 
 &vpif {
 	pinctrl-names = "default";
-	pinctrl-0 = <&vpif_capture_pins>;
+	pinctrl-0 = <&vpif_capture_pins>, <&vpif_display_pins>;
 	status = "okay";
 
 	/* VPIF capture port */
diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi
index 768a58c..d317bc5 100644
--- a/arch/arm/boot/dts/da850.dtsi
+++ b/arch/arm/boot/dts/da850.dtsi
@@ -218,8 +218,21 @@
 					0x3c 0x11111111 0xffffffff
 					/* VP_DIN[8..9] */
 					0x40 0x00000011 0x000000ff
-					/* VP_CLKIN3, VP_CLKIN2 */
-					0x4c 0x00010100 0x000f0f00
+				>;
+			};
+			vpif_display_pins: vpif_display_pins {
+				pinctrl-single,bits = <
+					/* VP_DOUT[2..7] */
+					0x40 0x11111100 0xffffff00
+					/* VP_DOUT[10..15,0..1] */
+					0x44 0x11111111 0xffffffff
+					/*  VP_DOUT[8..9] */
+					0x48 0x00000011 0x000000ff
+					/*
+					 * VP_CLKOUT3, VP_CLKIN3,
+					 * VP_CLKOUT2, VP_CLKIN2
+					 */
+					0x4c 0x00111100 0x00ffff00
 				>;
 			};
 		};
-- 
2.9.3

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


Thread

[PATCH 00/10] ARM: davinci: add vpif display support Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2017-02-07 17:50 +0100
  [PATCH 03/10] media: dt-bindings: vpif: extend the example with an output port Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2017-02-07 17:50 +0100
  [PATCH 04/10] ARM: dts: da850-evm: add the output port to the vpif node Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2017-02-07 17:50 +0100
  [PATCH 06/10] ARM: davinci_all_defconfig: enable VPIF display modules Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2017-02-07 17:50 +0100
  [PATCH 02/10] ARM: dts: da850-evm: fix whitespace errors Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2017-02-07 17:50 +0100
    Re: [PATCH 02/10] ARM: dts: da850-evm: fix whitespace errors Kevin Hilman <khilman@baylibre.com> - 2017-02-13 19:30 +0100
    Re: [PATCH 02/10] ARM: dts: da850-evm: fix whitespace errors Kevin Hilman <khilman@baylibre.com> - 2017-02-13 19:40 +0100
  [PATCH 05/10] ARM: dts: da850: add vpif video display pins Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2017-02-07 17:50 +0100
  [PATCH 01/10] media: dt-bindings: vpif: fix whitespace errors Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2017-02-07 17:50 +0100
  [PATCH 07/10] ARM: davinci: fix a whitespace error Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2017-02-07 17:50 +0100
    Re: [PATCH 07/10] ARM: davinci: fix a whitespace error Kevin Hilman <khilman@baylibre.com> - 2017-02-13 19:40 +0100
  Re: [PATCH 00/10] ARM: davinci: add vpif display support Sekhar Nori <nsekhar@ti.com> - 2017-02-13 10:30 +0100

csiph-web