From 7ab90fa1ee37169d2526451a3c646258032c8fe7 Mon Sep 17 00:00:00 2001 From: Yang Xiwen Date: Thu, 14 Sep 2023 03:01:33 +0800 Subject: [PATCH] arm: dts: qcom: msm8916: add dts for 3 MSM8916 based UFIs All of them already have arm64 support in mainline. But for the following reasons, it might be appropriate to add arm32 aupport: 1. arm64 is only supoorted with an updated tz. It's quite dangerous to flash tz, and it will break the downstream Android system. 2. arm64 consumes more RAM than arm32, which can not be ignored due to only 512 MiB of RAM (only ~380MiB available) for these devices. So add arm32 support for them, even when arm64 is available. Signed-off-by: Yang Xiwen --- arch/arm/boot/dts/qcom/Makefile | 3 +++ arch/arm/boot/dts/qcom/qcom-msm8916-thwc-uf896.dts | 3 +++ arch/arm/boot/dts/qcom/qcom-msm8916-thwc-ufi001c.dts | 3 +++ arch/arm/boot/dts/qcom/qcom-msm8916-yiming-uz801v3.dts | 3 +++ 4 files changed, 12 insertions(+) create mode 100644 arch/arm/boot/dts/qcom/qcom-msm8916-thwc-uf896.dts create mode 100644 arch/arm/boot/dts/qcom/qcom-msm8916-thwc-ufi001c.dts create mode 100644 arch/arm/boot/dts/qcom/qcom-msm8916-yiming-uz801v3.dts diff --git a/arch/arm/boot/dts/qcom/Makefile b/arch/arm/boot/dts/qcom/Makefile index bdb4cfc65e4a47..d46f8695c7e58b 100644 --- a/arch/arm/boot/dts/qcom/Makefile +++ b/arch/arm/boot/dts/qcom/Makefile @@ -35,6 +35,9 @@ dtb-$(CONFIG_ARCH_QCOM) += \ qcom-msm8916-samsung-grandmax.dtb \ qcom-msm8916-samsung-heatqlte.dtb \ qcom-msm8916-samsung-serranove.dtb \ + qcom-msm8916-thwc-uf896.dtb \ + qcom-msm8916-thwc-ufi001c.dtb \ + qcom-msm8916-yiming-uz801v3.dtb \ qcom-msm8960-cdp.dtb \ qcom-msm8960-samsung-expressatt.dtb \ qcom-msm8974-lge-nexus5-hammerhead.dtb \ diff --git a/arch/arm/boot/dts/qcom/qcom-msm8916-thwc-uf896.dts b/arch/arm/boot/dts/qcom/qcom-msm8916-thwc-uf896.dts new file mode 100644 index 00000000000000..8d72b556edbbdd --- /dev/null +++ b/arch/arm/boot/dts/qcom/qcom-msm8916-thwc-uf896.dts @@ -0,0 +1,3 @@ +// SPDX-License-Identifier: GPL-2.0-only +#include "arm64/qcom/msm8916-thwc-uf896.dts" +#include "qcom-msm8916-smp.dtsi" diff --git a/arch/arm/boot/dts/qcom/qcom-msm8916-thwc-ufi001c.dts b/arch/arm/boot/dts/qcom/qcom-msm8916-thwc-ufi001c.dts new file mode 100644 index 00000000000000..a488efe247d1fa --- /dev/null +++ b/arch/arm/boot/dts/qcom/qcom-msm8916-thwc-ufi001c.dts @@ -0,0 +1,3 @@ +// SPDX-License-Identifier: GPL-2.0-only +#include "arm64/qcom/msm8916-thwc-ufi001c.dts" +#include "qcom-msm8916-smp.dtsi" diff --git a/arch/arm/boot/dts/qcom/qcom-msm8916-yiming-uz801v3.dts b/arch/arm/boot/dts/qcom/qcom-msm8916-yiming-uz801v3.dts new file mode 100644 index 00000000000000..50bc88e6e3238e --- /dev/null +++ b/arch/arm/boot/dts/qcom/qcom-msm8916-yiming-uz801v3.dts @@ -0,0 +1,3 @@ +// SPDX-License-Identifier: GPL-2.0-only +#include "arm64/qcom/msm8916-yiming-uz801v3.dts" +#include "qcom-msm8916-smp.dtsi"