arm64: dts: qcom: Add support for Xiaomi Poco F1 (Beryllium)
authorAmit Pundir <amit.pundir@linaro.org>
Fri, 11 Sep 2020 16:15:40 +0000 (21:45 +0530)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Sat, 12 Sep 2020 23:26:18 +0000 (23:26 +0000)
commit77809cf74a8c8ab21b02cc16f2bdc0dc1ed36421
tree4103e392251bd5fa83bd833f511655ff6b6fcadb
parent0a4fd091cf11203c3f0415be85c70daf8db0bd4f
arm64: dts: qcom: Add support for Xiaomi Poco F1 (Beryllium)

Add initial dts support for Xiaomi Poco F1 (Beryllium).

This initial support is based on upstream Dragonboard 845c
(sdm845) device. With this dts, Beryllium boots AOSP up to
ADB shell over USB-C.

Supported functionality includes UFS, USB-C (peripheral),
microSD card and Vol+/Vol-/power keys. Bluetooth should work
too but couldn't be verified from adb command line, it is
verified when enabled from UI with few WIP display patches.

Just like initial db845c support, initializing the SMMU is
clearing the mapping used for the splash screen framebuffer,
which causes the device to hang during boot and recovery
needs a hard power reset. This can be worked around using:

    fastboot oem select-display-panel none

To switch ON the display back run:

    fastboot oem select-display-panel

But this only works on Beryllium devices running bootloader
version BOOT.XF.2.0-00369-SDM845LZB-1 that shipped with
Android-9 based release. Newer bootloader version do not
support switching OFF the display panel at all.

Reviewed-by: Konrad Dybcio <konradybcio@gmail.com>
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Link: https://lore.kernel.org/r/1599840940-18144-1-git-send-email-amit.pundir@linaro.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/Makefile
arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dts [new file with mode: 0644]