[PATCH 1/2] ufs: core: Add quriks for VCC ramp-up delay

Bart Van Assche bvanassche at acm.org
Thu Mar 5 04:24:38 PST 2026


On 3/5/26 2:29 AM, ed.tsai at mediatek.com wrote:
> +	/*
> +	 * On platforms with a slow VCC ramp-up, a delay is needed after
> +	 * turning on VCC to ensure the voltage is stable before the
> +	 * reference clock is enabled.
> +	 */
> +	if (hba->quirks & UFSHCD_QUIRK_VCC_ON_DELAY && !ret && vcc_on &&
> +	    hba->vreg_info.vcc && !hba->vreg_info.vcc->always_on)
> +		usleep_range(1000, 1100);

Since the value of the delay is platform-dependent, has it been
considered to introduce a new vendor operation (vop)?

Thanks,

Bart.



More information about the Linux-mediatek mailing list