arm64: dts: renesas: draak: Make HDMI the default video input
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Sun, 22 Oct 2023 18:19:09 +0000 (20:19 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 27 Nov 2023 10:04:18 +0000 (11:04 +0100)
Most Gen3 R-Car devices have HDMI as the default video input source,
align Draak with them and make HDMI the default.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20231022181910.898040-2-niklas.soderlund+renesas@ragnatech.se
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm64/boot/dts/renesas/draak.dtsi

index ce57c9ad96726346cccb8588d19570e4b23337e0..d56cb04d82b5cfc1f5cf908c573d0bcbae78825e 100644 (file)
                                 * CVBS and HDMI inputs through SW[49-53]
                                 * switches.
                                 *
-                                * CVBS is the default selection, link it to
-                                * VIN4 here.
+                                * HDMI is the default selection, leave CVBS
+                                * not connected here.
                                 */
-                               adv7180_out: endpoint {
-                                       remote-endpoint = <&vin4_in>;
-                               };
                        };
                };
 
                                 * CVBS and HDMI inputs through SW[49-53]
                                 * switches.
                                 *
-                                * CVBS is the default selection, leave HDMI
-                                * not connected here.
+                                * HDMI is the default selection, link it to
+                                * VIN4 here.
                                 */
                                adv7612_out: endpoint {
                                        pclk-sample = <0>;
                                        hsync-active = <0>;
                                        vsync-active = <0>;
+                                       remote-endpoint = <&vin4_in>;
                                };
                        };
                };
                function = "usb0";
        };
 
-       vin4_pins_cvbs: vin4 {
-               groups = "vin4_data8", "vin4_sync", "vin4_clk";
+       vin4_pins: vin4 {
+               groups = "vin4_data24", "vin4_sync", "vin4_clk";
                function = "vin4";
        };
 };
 };
 
 &vin4 {
-       pinctrl-0 = <&vin4_pins_cvbs>;
+       pinctrl-0 = <&vin4_pins>;
        pinctrl-names = "default";
 
        status = "okay";
        ports {
                port {
                        vin4_in: endpoint {
-                               remote-endpoint = <&adv7180_out>;
+                               remote-endpoint = <&adv7612_out>;
                        };
                };
        };