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

Peter Wang (王信友) peter.wang at mediatek.com
Tue Dec 23 22:13:05 PST 2025


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 at mediatek.com>


More information about the Linux-mediatek mailing list