Skip to content

Commit 8b9c57c

Browse files
committed
dtsi: update for new mdss_ label prefix
With most dts files now using mdss_dsi0* labels, it's time to update the dtsi generation part.
1 parent 0bff93e commit 8b9c57c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

dtsi.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def generate_panel_dtsi(p: Panel, options: Options) -> None:
3434
3535
''')
3636
f.write(f'''\
37-
&dsi0 {{
37+
&mdss_dsi0 {{
3838
panel@0 {{
3939
compatible = "{options.compatible}";
4040
reg = <0>;
@@ -45,27 +45,27 @@ def generate_panel_dtsi(p: Panel, options: Options) -> None:
4545
4646
port {{
4747
panel_in: endpoint {{
48-
remote-endpoint = <&dsi0_out>;
48+
remote-endpoint = <&mdss_dsi0_out>;
4949
}};
5050
}};
5151
}};
5252
}};
5353
54-
&dsi0_out {{
54+
&mdss_dsi0_out {{
5555
data-lanes = <{' '.join(map(str, p.lane_map.phys2log[:p.lanes]))}>;
5656
remote-endpoint = <&panel_in>;
5757
}};
5858
''')
5959

6060
if p.ldo_mode:
6161
f.write('''
62-
&dsi_phy0 {
62+
&mdss_dsi0_phy {
6363
qcom,dsi-phy-regulator-ldo-mode;
6464
};
6565
''')
6666
if p.cphy_mode:
6767
f.write('''
68-
&dsi0_phy {
68+
&mdss_dsi0_phy {
6969
phy-type = <PHY_TYPE_CPHY>;
7070
};
7171
''')

0 commit comments

Comments
 (0)