arm64: dts: qcom: sm8250: Add support for SONY Xperia 1 II / 5 II (Edo platform)
authorKonrad Dybcio <konrad.dybcio@somainline.org>
Wed, 16 Jun 2021 00:23:21 +0000 (02:23 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 16 Jun 2021 00:38:58 +0000 (19:38 -0500)
commit69cdb97ef6529b6b23c81da37bab7b183af7b8ee
treefa6e2ce44463629085aaaf2d11ea81873579bcbf
parent759488004ffb7f3b3190677bc7ddc1d8137974aa
arm64: dts: qcom: sm8250: Add support for SONY Xperia 1 II / 5 II (Edo platform)

Add support for SONY Xperia 1 II and 5 II smartphones (read one/five mark two).
They are based on the Qualcomm SM8250 chipset and both feature 5G modems. There
also exists a third Edo board, namely the Xperia PRO (PDX204), but it's $2500
and no developers have obtained it so far (to my knowledge).

The devices are affected by a scary UFS behaviour where sending a certain UFS
command (which is worked around on downstream) renders the device unbootable,
by effectively erasing the bootloader. Therefore UFS AND UFSPHY are strictly
disabled for now.

Downstream workaround:
https://github.com/kholk/kernel/commit/2e7a9ee1c91a016baa0b826a7752ec45663a0561

Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Link: https://lore.kernel.org/r/20210616002321.74155-4-konrad.dybcio@somainline.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/Makefile
arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo-pdx203.dts [new file with mode: 0644]
arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo-pdx206.dts [new file with mode: 0644]
arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo.dtsi [new file with mode: 0644]