浏览代码

cnss2: Use ol cpr to update retention voltage of aop regulator

Use ol cpr to update retention voltage of aop regulator
for qca6490 chipsets.

Change-Id: Ic67ca32964bd89fb940be069ec9468d97bbec68d
CRs-Fixed: 3326028
Sandeep Singh 2 年之前
父节点
当前提交
04ddb614e4
共有 2 个文件被更改,包括 2 次插入1 次删除
  1. 1 1
      cnss2/power.c
  2. 1 0
      cnss2/qmi.c

+ 1 - 1
cnss2/power.c

@@ -1630,7 +1630,7 @@ int cnss_update_cpr_info(struct cnss_plat_data *plat_priv)
 		return cnss_aop_set_vreg_param(plat_priv,
 					       plat_priv->vreg_ol_cpr,
 					       CNSS_VREG_VOLTAGE,
-					       CNSS_TCS_UP_SEQ,
+					       CNSS_TCS_DOWN_SEQ,
 					       cpr_info->voltage);
 	}
 

+ 1 - 0
cnss2/qmi.c

@@ -540,6 +540,7 @@ int cnss_wlfw_tgt_cap_send_sync(struct cnss_plat_data *plat_priv)
 		strlcpy(plat_priv->fw_build_id, resp->fw_build_id,
 			QMI_WLFW_MAX_BUILD_ID_LEN + 1);
 	}
+	/* FW will send aop retention volatage for qca6490 */
 	if (resp->voltage_mv_valid) {
 		plat_priv->cpr_info.voltage = resp->voltage_mv;
 		cnss_pr_dbg("Voltage for CPR: %dmV\n",