Re: [PATCH v2 3/5] scsi: ufs: mediatek: Move MTK_SIP_UFS_CONTROL to mtk_sip_svc.h

From: Peter Wang (王信友)
Date: Fri Oct 17 2025 - 02:57:23 EST


On Thu, 2025-10-16 at 14:06 +0200, Nicolas Frattaroli wrote:
> SMC commands used by multiple drivers need to live in a shared header
> file somewhere to avoid code duplication. In order to rework the MPHY
> reset control to be in the phy-mtk-ufs.c driver, both ufs-mediatek
> and
> the phy driver need access to this command.
>
> Move it to mtk_sip_svc.h, where other such command definitions
> already
> live.
>
> Reviewed-by: AngeloGioacchino Del Regno
> <angelogioacchino.delregno@xxxxxxxxxxxxx>
> Signed-off-by: Nicolas Frattaroli <nicolas.frattaroli@xxxxxxxxxxxxx>

Reviewed-by: Peter Wang <peter.wang@xxxxxxxxxxxx>