Re: [PATCH] scsi: ufs: dt-bindings: exynos: add power-domains

From: André Draszik

Date: Wed Oct 08 2025 - 03:56:45 EST


On Wed, 2025-10-08 at 11:05 +0530, Alim Akhtar wrote:
>
>
> > -----Original Message-----
> > From: André Draszik <andre.draszik@xxxxxxxxxx>
> > Sent: Tuesday, October 7, 2025 9:26 PM
> > To: Alim Akhtar <alim.akhtar@xxxxxxxxxxx>; Avri Altman
> > <avri.altman@xxxxxxx>; Bart Van Assche <bvanassche@xxxxxxx>; Rob
> > Herring <robh@xxxxxxxxxx>; Krzysztof Kozlowski <krzk+dt@xxxxxxxxxx>;
> > Conor Dooley <conor+dt@xxxxxxxxxx>
> > Cc: Peter Griffin <peter.griffin@xxxxxxxxxx>; Tudor Ambarus
> > <tudor.ambarus@xxxxxxxxxx>; Will McVicker <willmcvicker@xxxxxxxxxx>;
> > kernel-team@xxxxxxxxxxx; linux-scsi@xxxxxxxxxxxxxxx;
> > devicetree@xxxxxxxxxxxxxxx; linux-arm-kernel@xxxxxxxxxxxxxxxxxxx; linux-
> > samsung-soc@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; André Draszik
> > <andre.draszik@xxxxxxxxxx>
> > Subject: [PATCH] scsi: ufs: dt-bindings: exynos: add power-domains
> >
> > The UFS controller can be part of a power domain, so we need to allow the
> > relevant property 'power-domains'.
> >
> In Exynos, power domains has a boundary at _block_ level. I assume in this
> case it is BLK_HSI, which contains, multiple IPs within block, including UFS
> controller.

On gs101, there are three hsi power domains:
* hsi0 (USB)
* hsi1 (PCIe)
* hsi2 (UFS)

I have not looked at hsi1 so far.

>From what I can gather, hsi2-pd affects:
* cmu_hsi2
* sysreg hsi2
* pinctrl (gpio) hsi2
* ufs
* ufs-phy
(not sure if there is more)

hsi0-pd is similar, except that there is no pinctrl (gpio) hsi0.

They're all modelled as individual nodes in DT, so we need to add the
power-domains = <>
to each of them.

> I hope you will be sending the corresponding DTS changes as well.

Yes, of course :-)

> Feel free to add
> Reviewed-by: Alim Akhtar <alim.akhtar@xxxxxxxxxxx>

Thanks :-)

Cheers,
Andre'