Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

arm64: dts: ti: k3-j721e-common-proc-board-infotainment: Update to comply with device tree schema

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>

authored by

Jayesh Choudhary and committed by
Nishanth Menon
8a0bba5b bcbc3d40

+38 -25
+33 -24
arch/arm64/boot/dts/ti/k3-j721e-common-proc-board-infotainment.dtso
··· 15 15 #include "k3-pinctrl.h" 16 16 17 17 &{/} { 18 - hdmi-connector { 18 + connector-hdmi { 19 19 compatible = "hdmi-connector"; 20 20 label = "hdmi"; 21 21 type = "a"; 22 22 ddc-i2c-bus = <&main_i2c1>; 23 - digital; 24 23 /* P12 - HDMI_HPD */ 25 24 hpd-gpios = <&exp6 10 GPIO_ACTIVE_HIGH>; 26 25 ··· 30 31 }; 31 32 }; 32 33 33 - dvi-bridge { 34 - #address-cells = <1>; 35 - #size-cells = <0>; 34 + bridge-dvi { 36 35 compatible = "ti,tfp410"; 37 36 /* P10 - HDMI_PDn */ 38 37 powerdown-gpios = <&exp6 8 GPIO_ACTIVE_LOW>; 38 + ti,deskew = <0>; 39 39 40 - port@0 { 41 - reg = <0>; 40 + ports { 41 + #address-cells = <1>; 42 + #size-cells = <0>; 42 43 43 - tfp410_in: endpoint { 44 - remote-endpoint = <&dpi_out0>; 45 - pclk-sample = <1>; 44 + port@0 { 45 + reg = <0>; 46 + 47 + tfp410_in: endpoint { 48 + remote-endpoint = <&dpi_out0>; 49 + pclk-sample = <1>; 50 + }; 46 51 }; 47 - }; 48 52 49 - port@1 { 50 - reg = <1>; 53 + port@1 { 54 + reg = <1>; 51 55 52 - tfp410_out: endpoint { 53 - remote-endpoint = 54 - <&hdmi_connector_in>; 56 + tfp410_out: endpoint { 57 + remote-endpoint = 58 + <&hdmi_connector_in>; 59 + }; 55 60 }; 56 61 }; 57 62 }; ··· 151 148 &dss { 152 149 pinctrl-names = "default"; 153 150 pinctrl-0 = <&dss_vout0_pins_default>; 154 - }; 155 151 156 - &dss_ports { 157 - #address-cells = <1>; 158 - #size-cells = <0>; 152 + ports { 153 + #address-cells = <1>; 154 + #size-cells = <0>; 159 155 160 - port@1 { 161 - reg = <1>; 156 + port@0 { 157 + reg = <0>; 158 + dpi0_out: endpoint { 159 + remote-endpoint = <&dp0_in>; 160 + }; 161 + }; 162 162 163 - dpi_out0: endpoint { 164 - remote-endpoint = <&tfp410_in>; 163 + port@1 { 164 + reg = <1>; 165 + dpi_out0: endpoint { 166 + remote-endpoint = <&tfp410_in>; 167 + }; 165 168 }; 166 169 }; 167 170 };
+5 -1
arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts
··· 804 804 }; 805 805 806 806 &dss_ports { 807 - port { 807 + #address-cells = <1>; 808 + #size-cells = <0>; 809 + 810 + port@0 { 811 + reg = <0>; 808 812 dpi0_out: endpoint { 809 813 remote-endpoint = <&dp0_in>; 810 814 };