ARM: dts: qcom: msm8916-samsung-serranove: Include dts from arm64
authorStephan Gerhold <stephan@gerhold.net>
Mon, 4 Oct 2021 20:49:55 +0000 (22:49 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Sun, 24 Oct 2021 03:35:38 +0000 (22:35 -0500)
After adding all necessary support for MSM8916 SMP/cpuidle without PSCI
on ARM32, build the Samsung Galaxy S4 Mini VE device tree from the arm64
tree together with the ARM32 include to allow booting this device on ARM32.

The approach to include device tree files from other architectures is
inspired from e.g. the Raspberry Pi (bcm2711-rpi-4-b.dts) where this is
used to build the device tree for both ARM32 and ARM64.

Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20211004204955.21077-15-stephan@gerhold.net
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/qcom-msm8916-samsung-serranove.dts [new file with mode: 0644]

index 7e0934180724d86c704768e46600daaa828dc2c9..c33ff015af1c67524d357198dc51a338220638cf 100644 (file)
@@ -959,6 +959,7 @@ dtb-$(CONFIG_ARCH_QCOM) += \
        qcom-ipq8064-rb3011.dtb \
        qcom-msm8226-samsung-s3ve3g.dtb \
        qcom-msm8660-surf.dtb \
+       qcom-msm8916-samsung-serranove.dtb \
        qcom-msm8960-cdp.dtb \
        qcom-msm8974-fairphone-fp2.dtb \
        qcom-msm8974-lge-nexus5-hammerhead.dtb \
diff --git a/arch/arm/boot/dts/qcom-msm8916-samsung-serranove.dts b/arch/arm/boot/dts/qcom-msm8916-samsung-serranove.dts
new file mode 100644 (file)
index 0000000..dee2c20
--- /dev/null
@@ -0,0 +1,3 @@
+// SPDX-License-Identifier: GPL-2.0-only
+#include "arm64/qcom/msm8916-samsung-serranove.dts"
+#include "qcom-msm8916-smp.dtsi"