arm64: dts: qcom: sm8150: Add support for SONY Xperia 1 / 5 (Kumano platform)
authorKonrad Dybcio <konrad.dybcio@somainline.org>
Fri, 11 Jun 2021 20:33:01 +0000 (22:33 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 15 Jun 2021 23:59:11 +0000 (18:59 -0500)
commitd0a6ce59ea4e529e30df950e3f0f61533be5301c
tree0b38a50863b01587eb6f586ca0db4c76e7779579
parentb1dc3c6b3dabbedaf896a3c1a998da191c311c70
arm64: dts: qcom: sm8150: Add support for SONY Xperia 1 / 5 (Kumano platform)

Add support for SONY Xperia 1 and 5 smartphones, both based on the
Qualcomm SM8150 chipset. There also exist 5G-capable versions of these
devices, but they weren't sold much (if at all) outside Japan.

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

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
Tested-by: Marijn Suijten <marijn.suijten@somainline.org> (On Bahamut)
Tested-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Link: https://lore.kernel.org/r/20210611203301.101067-2-konrad.dybcio@somainline.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/Makefile
arch/arm64/boot/dts/qcom/pm8150.dtsi
arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano-bahamut.dts [new file with mode: 0644]
arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano-griffin.dts [new file with mode: 0644]
arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano.dtsi [new file with mode: 0644]