[PATCH 0/1] arm64: dts: qcom: sdm845-sony-tama: Enable UFS host controller and PHY

From: Shujath Mohd

Date: Mon Sep 14 2026 - 06:15:07 EST


This patch enables the UFS host controller and PHY on Sony Xperia Tama
devices.

UFS is currently disabled in the Tama device tree with the following
warning:

/* BIG WARNING! DO NOT TOUCH UFS, YOUR DEVICE WILL DIE! */

This restriction was introduced because of a known UFS behaviour on
these devices. While investigating whether the historical restriction
is still required on production Tama devices, I tested the UFS
controller without the historical UFS quirks.

The UFS controller and PHY successfully initialize when the required
reset GPIO and regulator supplies are described in the device tree.

The required hardware configuration is:

- UFS reset GPIO: TLMM GPIO 150, active low
- UFS VCC: vreg_l20a_2p7, maximum 600 mA
- UFS PHY VDDA: vreg_l1a_0p9
- UFS PHY PLL: vreg_l26a_1p2

I tested this configuration on all three Sony Tama variants:

- Xperia XZ2 Compact (Akari)
- Xperia XZ2 (Akatsuki)
- Xperia XZ3 (Apollo)

Each device was rebooted repeatedly with UFS enabled. I did not observe
UFS data loss or corruption during testing.

As part of the investigation, I used EDL mode to access the UFS device
and dump LUN0, LUN1 and LUN2. This provided an independent way to inspect
the UFS storage while investigating the historical restriction.

The EDL/UFS access was based on work related to CVE-2021-30327 and its
SDM845 implementation in the katana project. This gave me enough
confidence to investigate the historical UFS restriction and test the
mainline kernel with UFS enabled.

The testing indicates that the historical UFS restriction is not
required for these production Tama devices when the required UFS
hardware configuration is provided.

This patch only enables the existing UFS controller and PHY nodes and
provides their required GPIO and regulator configuration. It does not
add or modify any UFS driver quirks.

Shujath Mohd (1):
arm64: dts: qcom: sdm845-sony-tama: Enable UFS host controller and PHY

.../boot/dts/qcom/sdm845-sony-xperia-tama.dtsi | 18 +++++++++++++++---
1 file changed, 15 insertions(+), 3 deletions(-)

--
2.55.0