From a1378a3d273cd63473f47a6408092ea063f752ed Mon Sep 17 00:00:00 2001 From: Ajit Pal Singh Date: Tue, 5 Mar 2019 14:43:17 +0530 Subject: [PATCH] qcacmn: usb: Add support for QCN7605 v2 Add device IDs for QCN7605v2 USB variant. Change-Id: I5d9d2731068c0d31b78197f3732fb253bf440ea2 CRs-Fixed: 2474407 --- hif/src/hif_main.c | 2 ++ hif/src/hif_main.h | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/hif/src/hif_main.c b/hif/src/hif_main.c index 3f1a717ae988..20fa5e09efc5 100644 --- a/hif/src/hif_main.c +++ b/hif/src/hif_main.c @@ -816,6 +816,8 @@ int hif_get_device_type(uint32_t device_id, case QCN7605_DEVICE_ID: case QCN7605_COMPOSITE: case QCN7605_STANDALONE: + case QCN7605_STANDALONE_V2: + case QCN7605_COMPOSITE_V2: *hif_type = HIF_TYPE_QCN7605; *target_type = TARGET_TYPE_QCN7605; HIF_INFO(" *********** QCN7605 *************\n"); diff --git a/hif/src/hif_main.h b/hif/src/hif_main.h index 0a26d3997d59..02fab8e04325 100644 --- a/hif/src/hif_main.h +++ b/hif/src/hif_main.h @@ -98,8 +98,10 @@ #define QCA6018_DEVICE_ID (0xfffd) /* Todo: replace this with actual number */ /* Genoa */ #define QCN7605_DEVICE_ID (0x1102) /* Genoa PCIe device ID*/ -#define QCN7605_COMPOSITE (0x9900) -#define QCN7605_STANDALONE (0x9901) +#define QCN7605_COMPOSITE (0x9901) +#define QCN7605_STANDALONE (0x9900) +#define QCN7605_STANDALONE_V2 (0x9902) +#define QCN7605_COMPOSITE_V2 (0x9903) #define RUMIM2M_DEVICE_ID_NODE0 0xabc0 #define RUMIM2M_DEVICE_ID_NODE1 0xabc1