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

From: Bart Van Assche

Date: Thu Mar 05 2026 - 07:32:48 EST


On 3/5/26 2:29 AM, ed.tsai@xxxxxxxxxxxx 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.