]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: qcom: sc7280: Move herobrine-r0 to its own dts
authorDouglas Anderson <dianders@chromium.org>
Tue, 25 Jan 2022 22:44:19 +0000 (14:44 -0800)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 31 Jan 2022 16:53:41 +0000 (10:53 -0600)
The upcoming herobrine-r1 board is really not very similar to
herobrine-r0. Let's get rid of the "herobrine.dtsi" file and stick all
the content in the -r0 dts file directly. We'll also rename the dts so
it's obvious that it's just for -r0.

While renaming, let's actually name the file so it's obvious that
"herobrine" is both the name of the board and the name of the
"baseboard". In other words "herobrine" is an actual board but also
often used as the name of a whole class of similar boards that forked
from a design. While "herobrine-herobrine" is a bit of mouthful it
makes it more obvious which things are part of an actual board rather
than the baseboard.

NOTE: herobrine-rev0's days are likely doomed and this device tree is
likely to be deleted in the future.

Signed-off-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220125144316.v2.2.Id9716db8c133bcb14c9413144048f8d00ae2674f@changeid
arch/arm64/boot/dts/qcom/Makefile
arch/arm64/boot/dts/qcom/sc7280-herobrine-herobrine-r0.dts [moved from arch/arm64/boot/dts/qcom/sc7280-herobrine.dtsi with 99% similarity]
arch/arm64/boot/dts/qcom/sc7280-herobrine.dts [deleted file]

index f7232052d2862b1219fa5cd31c7c61931b6ecebf..9db743826391607faa289f4fa2cdd1424162d9f3 100644 (file)
@@ -82,7 +82,7 @@ dtb-$(CONFIG_ARCH_QCOM)       += sc7180-trogdor-pompom-r3.dtb
 dtb-$(CONFIG_ARCH_QCOM)        += sc7180-trogdor-pompom-r3-lte.dtb
 dtb-$(CONFIG_ARCH_QCOM)        += sc7180-trogdor-r1.dtb
 dtb-$(CONFIG_ARCH_QCOM)        += sc7180-trogdor-r1-lte.dtb
-dtb-$(CONFIG_ARCH_QCOM)        += sc7280-herobrine.dtb
+dtb-$(CONFIG_ARCH_QCOM)        += sc7280-herobrine-herobrine-r0.dtb
 dtb-$(CONFIG_ARCH_QCOM)        += sc7280-idp.dtb
 dtb-$(CONFIG_ARCH_QCOM)        += sc7280-idp2.dtb
 dtb-$(CONFIG_ARCH_QCOM)        += sc7280-crd.dtb
similarity index 99%
rename from arch/arm64/boot/dts/qcom/sc7280-herobrine.dtsi
rename to arch/arm64/boot/dts/qcom/sc7280-herobrine-herobrine-r0.dts
index 4619fa9fcacd50ef4a6b21f93b6606f77554104c..8676c93590b5ff13a1dd857ea8df25e03c967dca 100644 (file)
 #include "pm8350c.dtsi"
 #include "pmk8350.dtsi"
 
+/ {
+       model = "Google Herobrine (rev0)";
+       compatible = "google,herobrine",
+                    "qcom,sc7280";
+};
+
 /*
  * Reserved memory changes
  *
diff --git a/arch/arm64/boot/dts/qcom/sc7280-herobrine.dts b/arch/arm64/boot/dts/qcom/sc7280-herobrine.dts
deleted file mode 100644 (file)
index 7a92679..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
-/*
- * Google Herobrine board device tree source
- *
- * Copyright 2021 Google LLC.
- */
-
-#include "sc7280-herobrine.dtsi"
-
-/ {
-       model = "Google Herobrine";
-       compatible = "google,herobrine",
-                    "qcom,sc7280";
-};