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
2022-09-26 15:04:26 +05:30
父节点 866685439c
当前提交 04ddb614e4
修改 2 个文件,包含 2 行新增1 行删除

查看文件

@@ -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);
}

查看文件

@@ -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",