OSDN Git Service

ARM: dts: da850-evm: add the output port to the vpif node
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Tue, 28 Feb 2017 16:15:16 +0000 (17:15 +0100)
committerSekhar Nori <nsekhar@ti.com>
Tue, 7 Mar 2017 11:16:56 +0000 (16:46 +0530)
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>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/boot/dts/da850-evm.dts
arch/arm/boot/dts/da850.dtsi

index c863fd7..8d244cd 100644 (file)
 
 &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>;
+               };
+       };
 };
index 5150331..c708155 100644 (file)
                        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>;
                        };