Re: [PATCH v4 07/25] scsi: ufs: mediatek: Rework 0.9V regulator

Peter Wang (王信友)
2025-12-24T06:13:13Z

On Tue, 2025-12-23 at 17:13 +0100, Nicolas Frattaroli wrote:
>
>
> Hi,
>
> that would allow compatibles that are not allowed to have an avdd09
> regulator by the binding (because the SoC doesn't have that pin) to
> have one specified in the device tree get picked up. This would then
> cause those devices with such a device tree to enter
> ufs_mtk_va09_pwr_ctrl(), which is not what we want. While we could
> blame this on the DT being wrong in that case, I think it's better
> if we avoid such a situation entirely.
>
> Kind regards,
> Nicolas Frattaroli
>
>

Hi Nicolas,

Okay, this does help avoid issues caused by incorrect DTS
settings. Although it increases the complexity of the code,
it provides a mistake proofing.
Thanks.

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