Skip to content

Commit 8a0bba5

Browse files
jayesh-tinmenon
authored andcommitted
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>
1 parent bcbc3d4 commit 8a0bba5

File tree

2 files changed

+38
-25
lines changed

2 files changed

+38
-25
lines changed

arch/arm64/boot/dts/ti/k3-j721e-common-proc-board-infotainment.dtso

Lines changed: 33 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,11 @@
1515
#include "k3-pinctrl.h"
1616

1717
&{/} {
18-
hdmi-connector {
18+
connector-hdmi {
1919
compatible = "hdmi-connector";
2020
label = "hdmi";
2121
type = "a";
2222
ddc-i2c-bus = <&main_i2c1>;
23-
digital;
2423
/* P12 - HDMI_HPD */
2524
hpd-gpios = <&exp6 10 GPIO_ACTIVE_HIGH>;
2625

@@ -31,28 +30,32 @@
3130
};
3231
};
3332

34-
dvi-bridge {
35-
#address-cells = <1>;
36-
#size-cells = <0>;
33+
bridge-dvi {
3734
compatible = "ti,tfp410";
3835
/* P10 - HDMI_PDn */
3936
powerdown-gpios = <&exp6 8 GPIO_ACTIVE_LOW>;
37+
ti,deskew = <0>;
4038

41-
port@0 {
42-
reg = <0>;
39+
ports {
40+
#address-cells = <1>;
41+
#size-cells = <0>;
42+
43+
port@0 {
44+
reg = <0>;
4345

44-
tfp410_in: endpoint {
45-
remote-endpoint = <&dpi_out0>;
46-
pclk-sample = <1>;
46+
tfp410_in: endpoint {
47+
remote-endpoint = <&dpi_out0>;
48+
pclk-sample = <1>;
49+
};
4750
};
48-
};
4951

50-
port@1 {
51-
reg = <1>;
52+
port@1 {
53+
reg = <1>;
5254

53-
tfp410_out: endpoint {
54-
remote-endpoint =
55-
<&hdmi_connector_in>;
55+
tfp410_out: endpoint {
56+
remote-endpoint =
57+
<&hdmi_connector_in>;
58+
};
5659
};
5760
};
5861
};
@@ -148,17 +151,23 @@
148151
&dss {
149152
pinctrl-names = "default";
150153
pinctrl-0 = <&dss_vout0_pins_default>;
151-
};
152154

153-
&dss_ports {
154-
#address-cells = <1>;
155-
#size-cells = <0>;
155+
ports {
156+
#address-cells = <1>;
157+
#size-cells = <0>;
156158

157-
port@1 {
158-
reg = <1>;
159+
port@0 {
160+
reg = <0>;
161+
dpi0_out: endpoint {
162+
remote-endpoint = <&dp0_in>;
163+
};
164+
};
159165

160-
dpi_out0: endpoint {
161-
remote-endpoint = <&tfp410_in>;
166+
port@1 {
167+
reg = <1>;
168+
dpi_out0: endpoint {
169+
remote-endpoint = <&tfp410_in>;
170+
};
162171
};
163172
};
164173
};

arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,11 @@
804804
};
805805

806806
&dss_ports {
807-
port {
807+
#address-cells = <1>;
808+
#size-cells = <0>;
809+
810+
port@0 {
811+
reg = <0>;
808812
dpi0_out: endpoint {
809813
remote-endpoint = <&dp0_in>;
810814
};

0 commit comments

Comments
 (0)