usb: misc: Add host driver support for telematics PIDs

Add host driver support for the new telematics PIDs
such as 910A, 910B, 910C and 910D.

Change-Id: Ic872ed72a943818eb9e24a68b69dde34b8f1a326
Signed-off-by: Aniket Randive <arandive@codeaurora.org>
This commit is contained in:
Aniket Randive 2020-03-30 20:33:17 +05:30
parent f5cd938cb0
commit 26e2629e54
5 changed files with 43 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* Copyright (c) 2011-2015, 2019, The Linux Foundation. All rights reserved.
/* Copyright (c) 2011-2015, 2019-2020, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@ -608,6 +608,14 @@ static const struct usb_device_id diag_bridge_ids[] = {
.driver_info = DEV_ID(0), },
{ USB_DEVICE_INTERFACE_NUMBER(0x5c6, 0x9107, 0),
.driver_info = DEV_ID(0), },
{ USB_DEVICE_INTERFACE_NUMBER(0x5c6, 0x910A, 0),
.driver_info = DEV_ID(0), },
{ USB_DEVICE_INTERFACE_NUMBER(0x5c6, 0x910B, 0),
.driver_info = DEV_ID(0), },
{ USB_DEVICE_INTERFACE_NUMBER(0x5c6, 0x910C, 0),
.driver_info = DEV_ID(0), },
{ USB_DEVICE_INTERFACE_NUMBER(0x5c6, 0x910D, 0),
.driver_info = DEV_ID(0), },
{} /* terminating entry */
};

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2012-2014, 2017-2019, Linux Foundation. All rights reserved.
* Copyright (c) 2012-2014, 2017-2020, Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@ -958,6 +958,14 @@ static const struct usb_device_id ksb_usb_ids[] = {
.driver_info = DEV_ID(0), },
{ USB_DEVICE_INTERFACE_NUMBER(0x5c6, 0x9107, 0),
.driver_info = DEV_ID(0), },
{ USB_DEVICE_INTERFACE_NUMBER(0x5c6, 0x910A, 0),
.driver_info = DEV_ID(0), },
{ USB_DEVICE_INTERFACE_NUMBER(0x5c6, 0x910B, 0),
.driver_info = DEV_ID(0), },
{ USB_DEVICE_INTERFACE_NUMBER(0x5c6, 0x910C, 0),
.driver_info = DEV_ID(0), },
{ USB_DEVICE_INTERFACE_NUMBER(0x5c6, 0x910D, 0),
.driver_info = DEV_ID(0), },
{} /* terminating entry */
};

View File

@ -1,4 +1,4 @@
/* Copyright (c) 2011-2014, 2019, Linux Foundation. All rights reserved.
/* Copyright (c) 2011-2014, 2020, Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@ -988,6 +988,18 @@ static const struct usb_device_id bridge_ids[] = {
.driver_info = (kernel_ulong_t)("dpl"), },
{ USB_DEVICE_INTERFACE_NUMBER(0x05c6, 0x9107, 5),
.driver_info = (kernel_ulong_t)("dpl"), },
{ USB_DEVICE_INTERFACE_NUMBER(0x05c6, 0x910A, 2),
.driver_info = (kernel_ulong_t)("dpl"), },
{ USB_DEVICE_INTERFACE_NUMBER(0x05c6, 0x910A, 3),
.driver_info = (kernel_ulong_t)("qdss"), },
{ USB_DEVICE_INTERFACE_NUMBER(0x05c6, 0x910B, 2),
.driver_info = (kernel_ulong_t)("dpl"), },
{ USB_DEVICE_INTERFACE_NUMBER(0x05c6, 0x910C, 1),
.driver_info = (kernel_ulong_t)("dpl"), },
{ USB_DEVICE_INTERFACE_NUMBER(0x05c6, 0x910C, 2),
.driver_info = (kernel_ulong_t)("qdss"), },
{ USB_DEVICE_INTERFACE_NUMBER(0x05c6, 0x910D, 1),
.driver_info = (kernel_ulong_t)("dpl"), },
{ } /* Terminating entry */
};

View File

@ -313,6 +313,10 @@ static const struct usb_device_id qcom_usb_qrtr_ids[] = {
{ USB_DEVICE_INTERFACE_NUMBER(QRTR_VENDOR_ID, 0x9103, 1) },
{ USB_DEVICE_INTERFACE_NUMBER(QRTR_VENDOR_ID, 0x9106, 1) },
{ USB_DEVICE_INTERFACE_NUMBER(QRTR_VENDOR_ID, 0x9107, 1) },
{ USB_DEVICE_INTERFACE_NUMBER(QRTR_VENDOR_ID, 0x910A, 4) },
{ USB_DEVICE_INTERFACE_NUMBER(QRTR_VENDOR_ID, 0x910B, 3) },
{ USB_DEVICE_INTERFACE_NUMBER(QRTR_VENDOR_ID, 0x910C, 3) },
{ USB_DEVICE_INTERFACE_NUMBER(QRTR_VENDOR_ID, 0x910D, 2) },
{ } /* Terminating entry */
};
MODULE_DEVICE_TABLE(usb, qcom_usb_qrtr_ids);

View File

@ -479,6 +479,14 @@ static const struct usb_device_id rmnet_usb_ids[] = {
USB_DEVICE_INTERFACE_NUMBER(RMNET_VENDOR_ID, 0x9107, 2),
.driver_info = (unsigned long)&rmnet_usb1_info,
},
{
USB_DEVICE_INTERFACE_NUMBER(RMNET_VENDOR_ID, 0x910A, 1),
.driver_info = (unsigned long)&rmnet_usb0_info,
},
{
USB_DEVICE_INTERFACE_NUMBER(RMNET_VENDOR_ID, 0x910B, 1),
.driver_info = (unsigned long)&rmnet_usb0_info,
},
{ } /* Terminating entry */
};
MODULE_DEVICE_TABLE(usb, rmnet_usb_ids);