Skip to content

Commit

Permalink
arm: dts: qcom: msm8916: add dts for 3 MSM8916 based UFIs
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
185264646 committed Sep 14, 2023
1 parent 702e255 commit 4e0222a
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/arm/boot/dts/qcom/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
3 changes: 3 additions & 0 deletions arch/arm/boot/dts/qcom/qcom-msm8916-thwc-uf896.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// SPDX-License-Identifier: GPL-2.0-only
#include "arm64/qcom/qcom-msm8916-thwc-uf896.dts"
#include "qcom-msm8916-smp.dtsi"
3 changes: 3 additions & 0 deletions arch/arm/boot/dts/qcom/qcom-msm8916-thwc-ufi001c.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// SPDX-License-Identifier: GPL-2.0-only
#include "arm64/qcom/qcom-msm8916-thwc-ufi001c.dts"
#include "qcom-msm8916-smp.dtsi"
3 changes: 3 additions & 0 deletions arch/arm/boot/dts/qcom/qcom-msm8916-yiming-uz801v3.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// SPDX-License-Identifier: GPL-2.0-only
#include "arm64/qcom/qcom-msm8916-yiming-uz801v3.dts"
#include "qcom-msm8916-smp.dtsi"

0 comments on commit 4e0222a

Please sign in to comment.