OSDN Git Service

arm64: dts: qcom: sc7280: Add herobrine-villager-r1
authorJimmy Chen <jinghung.chen3@hotmail.com>
Tue, 26 Jul 2022 09:45:48 +0000 (17:45 +0800)
committerBjorn Andersson <andersson@kernel.org>
Tue, 13 Sep 2022 14:37:43 +0000 (09:37 -0500)
This adds sc7280-herobrine-villager-r1.dts for villager device tree files.
Herobrine-r1 is exactly the same as -r0 except that it uses a
different audio solution (it uses the same one as the CRD).

Signed-off-by: Jimmy Chen <jinghung.chen3@hotmail.com>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/SG2PR03MB500667CFE3F5F59585F8BA77CC949@SG2PR03MB5006.apcprd03.prod.outlook.com
arch/arm64/boot/dts/qcom/Makefile
arch/arm64/boot/dts/qcom/sc7280-herobrine-villager-r0.dts
arch/arm64/boot/dts/qcom/sc7280-herobrine-villager-r1.dts [new file with mode: 0644]

index f4126f7..994ce96 100644 (file)
@@ -107,6 +107,7 @@ dtb-$(CONFIG_ARCH_QCOM)     += sc7280-herobrine-crd.dtb
 dtb-$(CONFIG_ARCH_QCOM)        += sc7280-herobrine-evoker-r0.dtb
 dtb-$(CONFIG_ARCH_QCOM)        += sc7280-herobrine-herobrine-r1.dtb
 dtb-$(CONFIG_ARCH_QCOM)        += sc7280-herobrine-villager-r0.dtb
+dtb-$(CONFIG_ARCH_QCOM)        += sc7280-herobrine-villager-r1.dtb
 dtb-$(CONFIG_ARCH_QCOM)        += sc7280-idp.dtb
 dtb-$(CONFIG_ARCH_QCOM)        += sc7280-idp2.dtb
 dtb-$(CONFIG_ARCH_QCOM)        += sc7280-crd-r3.dtb
index 2cacafd..cbd8a2d 100644 (file)
@@ -10,8 +10,8 @@
 #include "sc7280-herobrine.dtsi"
 
 / {
-       model = "Google Villager (rev0+)";
-       compatible = "google,villager", "qcom,sc7280";
+       model = "Google Villager (rev0)";
+       compatible = "google,villager-rev0", "qcom,sc7280";
 };
 
 /*
diff --git a/arch/arm64/boot/dts/qcom/sc7280-herobrine-villager-r1.dts b/arch/arm64/boot/dts/qcom/sc7280-herobrine-villager-r1.dts
new file mode 100644 (file)
index 0000000..c03b3ae
--- /dev/null
@@ -0,0 +1,14 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Google Villager board device tree source
+ *
+ * Copyright 2022 Google LLC.
+ */
+
+#include "sc7280-herobrine-villager-r0.dts"
+#include "sc7280-herobrine-audio-wcd9385.dtsi"
+
+/ {
+       model = "Google Villager (rev1+)";
+       compatible = "google,villager", "qcom,sc7280";
+};