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

Peter Wang (王信友)
2025-10-17T06:53:14Z

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@collabora.com>
> Signed-off-by: Nicolas Frattaroli <nicolas.frattaroli@collabora.com>

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