Skip to content

Commit

Permalink
arm64: dts: qcom: Drop unneeded extra device-specific includes
Browse files Browse the repository at this point in the history
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]
  • Loading branch information
stephan-gh authored and andersson committed Oct 24, 2021
1 parent c86c43c commit 442ee1f
Show file tree
Hide file tree
Showing 8 changed files with 1,937 additions and 1,969 deletions.
832 changes: 831 additions & 1 deletion arch/arm64/boot/dts/qcom/apq8016-sbc.dts

Large diffs are not rendered by default.

838 changes: 0 additions & 838 deletions arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi

This file was deleted.

1,070 changes: 1,069 additions & 1 deletion arch/arm64/boot/dts/qcom/apq8096-db820c.dts

Large diffs are not rendered by default.

1,076 changes: 0 additions & 1,076 deletions arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi

This file was deleted.

15 changes: 14 additions & 1 deletion arch/arm64/boot/dts/qcom/msm8916-mtp.dts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,22 @@

/dts-v1/;

#include "msm8916-mtp.dtsi"
#include "msm8916-pm8916.dtsi"

/ {
model = "Qualcomm Technologies, Inc. MSM 8916 MTP";
compatible = "qcom,msm8916-mtp", "qcom,msm8916-mtp/1", "qcom,msm8916";

aliases {
serial0 = &blsp1_uart2;
usid0 = &pm8916_0;
};

chosen {
stdout-path = "serial0";
};
};

&blsp1_uart2 {
status = "okay";
};
21 changes: 0 additions & 21 deletions arch/arm64/boot/dts/qcom/msm8916-mtp.dtsi

This file was deleted.

24 changes: 23 additions & 1 deletion arch/arm64/boot/dts/qcom/msm8996-mtp.dts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,31 @@

/dts-v1/;

#include "msm8996-mtp.dtsi"
#include "msm8996.dtsi"

/ {
model = "Qualcomm Technologies, Inc. MSM 8996 MTP";
compatible = "qcom,msm8996-mtp";

aliases {
serial0 = &blsp2_uart2;
};

chosen {
stdout-path = "serial0";
};

soc {
serial@75b0000 {
status = "okay";
};
};
};

&hdmi {
status = "okay";
};

&hdmi_phy {
status = "okay";
};
30 changes: 0 additions & 30 deletions arch/arm64/boot/dts/qcom/msm8996-mtp.dtsi

This file was deleted.

0 comments on commit 442ee1f

Please sign in to comment.