Skip to content

arm64: dts: qcom: sm8350-sagami: UFS

Jan Paszkowski linux-arm-msm linux-devicetree sashiko-reviews 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/1arm64: dts: qcom: sm8350-sony-xperia-sagami: enable UFSarch/arm64/boot/dts/qcom/sm8350-sony-xperia-sagami.dtsi+14 -32 replies

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchDmitry Baryshkov
1/1R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/1] arm64: dts: qcom: sm8350-sagami: UFS

This patch is about turning on the UFS for the sony xperia sagami platform.

The patch is small, but due to the grave risk of the patch combined with my inexperience I wanted to write this cover letter.

While digging through the reasons for the UFS bug in sony devices, I stumbled upon a downstream workaround in the initial commit for sm8250-sony-xperia devices [1]. The workaround did not mention the sagami platform. Looking through android patches for UFS for the sony sagami copyleft kernel, they seemed to be minor compared to previous generations[2].

With that I got a spare pdx215 to try this on. I compiled a kernel with postmarketOS tools. Normal flashing of pmOS on a single partition seemed to not work, though the UFS device was visible when booting on the sd card. That said both split flashing of pmOS onto two partitions and formating partitions worked, at least for super and userdata with ext4. The booted device detected the partitions and even worked without the sd card. With that I wanted to send it to the mailing lists in case the bug is gone this generation.

I guess that most likely I am missing something. If so please respond to this series. I am happy to test further to make sure it won't brick anybody's device.

[1] https://github.com/kholk/kernel/commit/2e7a9ee1c91a016baa0b826a7752ec45663a0561
[2] https://github.com/sonyxperiadev/kernel-copyleft/tree/61.0.A.11.xxx

Jan Paszkowski (1):
arm64: dts: qcom: sm8350-sony-xperia-sagami: enable UFS

 .../dts/qcom/sm8350-sony-xperia-sagami.dtsi     | 17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)
Signature · 1 line
2.55.0