|
@@ -1,6 +1,7 @@
|
|
|
// SPDX-License-Identifier: GPL-2.0-only
|
|
|
/*
|
|
|
* Copyright (c) 2012-2020, The Linux Foundation. All rights reserved.
|
|
|
+ * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
|
|
*/
|
|
|
|
|
|
#include <asm/barrier.h>
|
|
@@ -80,6 +81,14 @@ int ipa3_enable_data_path(u32 clnt_hdl)
|
|
|
ep->client == IPA_CLIENT_USB_CONS) {
|
|
|
holb_cfg.en = IPA_HOLB_TMR_EN;
|
|
|
holb_cfg.tmr_val = IPA_HOLB_TMR_VAL_4_5;
|
|
|
+ } else if ((ipa3_ctx->ipa_hw_type == IPA_HW_v4_5) &&
|
|
|
+ (ep->client == IPA_CLIENT_USB_CONS)) {
|
|
|
+ holb_cfg.tmr_val = IPA_HOLB_TMR_VAL_4_5;
|
|
|
+ holb_cfg.en = IPA_HOLB_TMR_EN;
|
|
|
+ } else if ((ipa3_ctx->ipa_hw_type >= IPA_HW_v5_2) &&
|
|
|
+ (ep->client == IPA_CLIENT_USB_CONS)) {
|
|
|
+ holb_cfg.tmr_val = IPA_HOLB_TMR_VAL_4_5;
|
|
|
+ holb_cfg.en = IPA_HOLB_TMR_EN;
|
|
|
} else {
|
|
|
holb_cfg.en = IPA_HOLB_TMR_DIS;
|
|
|
holb_cfg.tmr_val = 0;
|