]> www.infradead.org Git - users/willy/xarray.git/commitdiff
arm64: dts: ti: k3-j721e-common-proc-board-infotainment: Update to comply with device...
authorJayesh Choudhary <j-choudhary@ti.com>
Thu, 24 Apr 2025 08:03:28 +0000 (13:33 +0530)
committerNishanth Menon <nm@ti.com>
Fri, 25 Apr 2025 20:45:46 +0000 (15:45 -0500)
Fix hdmi-connector and tfp bridge node as per the bindings,
- Remove 'digital' property which is required for DVI connector not HDMI
- Add 'ti,deskew' property which is a required property
- Fix ports property for tfp410 bridge
- Change node names appropriately

Redefine the ports for dss and for k3-j721e-common-proc-board.dts, add
reg property for the port (@0) to get rid of dtbs_check warnings in
infotainment overlay when ports for dss are re-defined.

Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
Reviewed-by: Udit Kumar <u-kumar1@ti.com>
Link: https://lore.kernel.org/r/20250424080328.57671-1-j-choudhary@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
arch/arm64/boot/dts/ti/k3-j721e-common-proc-board-infotainment.dtso
arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts

index 65a7e54f088418cce47f9cbab0dac22a1db7f67f..e4e5f941f20bd54bf6964ac1d44960096c15e330 100644 (file)
 #include "k3-pinctrl.h"
 
 &{/} {
-       hdmi-connector {
+       connector-hdmi {
                compatible = "hdmi-connector";
                label = "hdmi";
                type = "a";
                ddc-i2c-bus = <&main_i2c1>;
-               digital;
                /* P12 - HDMI_HPD */
                hpd-gpios = <&exp6 10 GPIO_ACTIVE_HIGH>;
 
                };
        };
 
-       dvi-bridge {
-               #address-cells = <1>;
-               #size-cells = <0>;
+       bridge-dvi {
                compatible = "ti,tfp410";
                /* P10 - HDMI_PDn */
                powerdown-gpios = <&exp6 8 GPIO_ACTIVE_LOW>;
+               ti,deskew = <0>;
 
-               port@0 {
-                       reg = <0>;
+               ports {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
+                       port@0 {
+                               reg = <0>;
 
-                       tfp410_in: endpoint {
-                               remote-endpoint = <&dpi_out0>;
-                               pclk-sample = <1>;
+                               tfp410_in: endpoint {
+                                       remote-endpoint = <&dpi_out0>;
+                                       pclk-sample = <1>;
+                               };
                        };
-               };
 
-               port@1 {
-                       reg = <1>;
+                       port@1 {
+                               reg = <1>;
 
-                       tfp410_out: endpoint {
-                               remote-endpoint =
-                                       <&hdmi_connector_in>;
+                               tfp410_out: endpoint {
+                                       remote-endpoint =
+                                               <&hdmi_connector_in>;
+                               };
                        };
                };
        };
 &dss {
        pinctrl-names = "default";
        pinctrl-0 = <&dss_vout0_pins_default>;
-};
 
-&dss_ports {
-       #address-cells = <1>;
-       #size-cells = <0>;
+       ports {
+               #address-cells = <1>;
+               #size-cells = <0>;
 
-       port@1 {
-               reg = <1>;
+               port@0 {
+                       reg = <0>;
+                       dpi0_out: endpoint {
+                               remote-endpoint = <&dp0_in>;
+                       };
+               };
 
-               dpi_out0: endpoint {
-                       remote-endpoint = <&tfp410_in>;
+               port@1 {
+                       reg = <1>;
+                       dpi_out0: endpoint {
+                               remote-endpoint = <&tfp410_in>;
+                       };
                };
        };
 };
index 4421852161dd65b30df96ac2dc5a5b2dfb921991..e3d0ef6913b28eff226bde3431d1d67994f4ab11 100644 (file)
 };
 
 &dss_ports {
-       port {
+       #address-cells = <1>;
+       #size-cells = <0>;
+
+       port@0 {
+               reg = <0>;
                dpi0_out: endpoint {
                        remote-endpoint = <&dp0_in>;
                };