Re: [PATCH V2 2/2] ufs: ufs-qcom: Enable Auto Hibern8 clock request support

From: Bart Van Assche

Date: Fri Mar 27 2026 - 17:25:50 EST


On 3/27/26 2:03 AM, palash.kambar@xxxxxxxxxxxxxxxx wrote:
On platforms that support Auto Hibern8 (AH8), the UFS controller can
autonomously de-assert clk_req signals to the GCC when entering the
Hibern8 state. This allows GCC to gate unused clocks, improving
power efficiency.

What is the "GCC"? Please expand acronyms that are neither defined in
the UFSHCI standard nor in the UFS standard.

+static void ufs_qcom_link_startup_post_change(struct ufs_hba *hba)
+{
+ if (ufshcd_is_auto_hibern8_supported(hba)) {
+ ufshcd_rmwl(hba, UFS_HW_CLK_CTRL_EN, UFS_HW_CLK_CTRL_EN,
+ UFS_AH8_CFG);
+ }
+}

From the Linux kernel coding style "Do not unnecessarily use braces where a single statement will do." Please follow that rule.

Thanks,

Bart.