Skip to content

Commit 442ee1f

Browse files
stephan-ghandersson
authored andcommitted
arm64: dts: qcom: Drop unneeded extra device-specific includes
For some reason apq8016-sbc, apq8096-db820c, msm8916-mtp and msm8996-mtp were added as separate .dts and .dtsi files where the first only contains the model name and the latter contains most of the actual definitions. Perhaps this was done with the expectation that there would be other devices also making use of exactly the same. However, this has not been the case until now and it also seems unlikely in the future. Having the extra .dtsi only clutters the file list and provides little benefit. Move the contents of the .dtsi into the .dts file to make this consistent with most other devices that simply define everything in the .dts. There are no functional changes introduced by this patch: The compiled ".dtb"s are completely identical. Signed-off-by: Stephan Gerhold <[email protected]> Signed-off-by: Bjorn Andersson <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent c86c43c commit 442ee1f

File tree

8 files changed

+1937
-1969
lines changed

8 files changed

+1937
-1969
lines changed

arch/arm64/boot/dts/qcom/apq8016-sbc.dts

Lines changed: 831 additions & 1 deletion
Large diffs are not rendered by default.

arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi

Lines changed: 0 additions & 838 deletions
This file was deleted.

arch/arm64/boot/dts/qcom/apq8096-db820c.dts

Lines changed: 1069 additions & 1 deletion
Large diffs are not rendered by default.

arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi

Lines changed: 0 additions & 1076 deletions
This file was deleted.

arch/arm64/boot/dts/qcom/msm8916-mtp.dts

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,22 @@
55

66
/dts-v1/;
77

8-
#include "msm8916-mtp.dtsi"
8+
#include "msm8916-pm8916.dtsi"
99

1010
/ {
1111
model = "Qualcomm Technologies, Inc. MSM 8916 MTP";
1212
compatible = "qcom,msm8916-mtp", "qcom,msm8916-mtp/1", "qcom,msm8916";
13+
14+
aliases {
15+
serial0 = &blsp1_uart2;
16+
usid0 = &pm8916_0;
17+
};
18+
19+
chosen {
20+
stdout-path = "serial0";
21+
};
22+
};
23+
24+
&blsp1_uart2 {
25+
status = "okay";
1326
};

arch/arm64/boot/dts/qcom/msm8916-mtp.dtsi

Lines changed: 0 additions & 21 deletions
This file was deleted.

arch/arm64/boot/dts/qcom/msm8996-mtp.dts

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,31 @@
55

66
/dts-v1/;
77

8-
#include "msm8996-mtp.dtsi"
8+
#include "msm8996.dtsi"
99

1010
/ {
1111
model = "Qualcomm Technologies, Inc. MSM 8996 MTP";
1212
compatible = "qcom,msm8996-mtp";
13+
14+
aliases {
15+
serial0 = &blsp2_uart2;
16+
};
17+
18+
chosen {
19+
stdout-path = "serial0";
20+
};
21+
22+
soc {
23+
serial@75b0000 {
24+
status = "okay";
25+
};
26+
};
27+
};
28+
29+
&hdmi {
30+
status = "okay";
31+
};
32+
33+
&hdmi_phy {
34+
status = "okay";
1335
};

arch/arm64/boot/dts/qcom/msm8996-mtp.dtsi

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)