usb: Add support diag host driver
USB diag host driver will be used to connect diag interface
exposed by Qualcomm devices. This driver currently supports
usb qualcomm devices with product id: 9001 and vendor id:
0x5c6. Also add simple unit test driver to test diag host
driver.
Signed-off-by: Vamsi Krishna <vskrishn@codeaurora.org>
Signed-off-by: Jack Pham <jackp@codeaurora.org>
diff --git a/drivers/usb/misc/Kconfig b/drivers/usb/misc/Kconfig
index cf5d452..527dc85 100644
--- a/drivers/usb/misc/Kconfig
+++ b/drivers/usb/misc/Kconfig
@@ -259,3 +259,24 @@
To compile this driver as a module, choose M here: the
module will be called yurex.
+config USB_QCOM_DIAG
+ tristate "USB Qualcomm diag port driver"
+ depends on USB && !USB_SERIAL_QUALCOMM
+ default n
+ help
+ Say Y here if you want to use the diag ports provided
+ by many Qualcomm chipsets.
+
+ To compile this driver as a module, choose M here: the
+ module will be called qcaux. If unsure, choose N.
+
+config USB_QCOM_DIAG_TEST
+ tristate "USB Qualcomm diag port unit test driver"
+ depends on USB && USB_QCOM_DIAG
+ default n
+ help
+ Say Y here if you want to use unit test diag port provided
+ by many Qualcomm chipsets.
+
+ To compile this driver as a module, choose M here: the
+ module will be called qcaux. If unsure, choose N.