Re: [PATCH v3 2/2] scsi: ufs: core: Replace hard coded vcc-off delay with a variable
From: Peter Wang (王信友)
Date: Mon Oct 13 2025 - 22:07:21 EST
On Mon, 2025-10-13 at 12:38 -0700, Bao D. Nguyen wrote:
> After the ufs device vcc is powered off, all the ufs device
> manufacturers require a minimum of 1ms of power-off time before
> vcc can be powered on again. This requirement has been verified
> with all the ufs device manufacturer's datasheets.
>
> Replace the hard coded 5ms delay with a variable with a default
> setting of 2ms to improve the system resume latency. The platform
> drivers can override this setting as needed.
>
> Signed-off-by: Bao D. Nguyen <quic_nguyenb@xxxxxxxxxxx>
> Reviewed-by: Bart Van Assche <bvanassche@xxxxxxx>
Reviewed-by: Peter Wang <peter.wang@xxxxxxxxxxxx>