summaryrefslogtreecommitdiff
path: root/drivers/usb/serial
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2014-08-18 18:14:53 +0200
committerJohan Hovold <johan@kernel.org>2014-09-01 12:04:27 +0200
commitc5cd24d7b179a415df263e5b18b72f6e3aaf81e0 (patch)
treef653660da115ad43da888ffc6f9aaf67911eff2c /drivers/usb/serial
parentb9f040389e23fb95fde36cb0a3c2c516fb3e9d1c (diff)
USB: serial: add Novatel Wireless GPS driver
Add simple driver for Novatel Wireless GPS receivers. Reported-by: Kirk Madsen <kirkm@Navsys.com> Tested-by: Kirk Madsen <kirkm@Navsys.com> Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'drivers/usb/serial')
-rw-r--r--drivers/usb/serial/Kconfig1
-rw-r--r--drivers/usb/serial/usb-serial-simple.c7
2 files changed, 8 insertions, 0 deletions
diff --git a/drivers/usb/serial/Kconfig b/drivers/usb/serial/Kconfig
index 3ce5c74b29e4..ab05158ad03e 100644
--- a/drivers/usb/serial/Kconfig
+++ b/drivers/usb/serial/Kconfig
@@ -61,6 +61,7 @@ config USB_SERIAL_SIMPLE
- Fundamental Software dongle.
- HP4x calculators
- a number of Motorola phones
+ - Novatel Wireless GPS receivers
- Siemens USB/MPI adapter.
- ViVOtech ViVOpay USB device.
- Infineon Modem Flashloader USB interface
diff --git a/drivers/usb/serial/usb-serial-simple.c b/drivers/usb/serial/usb-serial-simple.c
index 02cb77a1e79d..5565308c870c 100644
--- a/drivers/usb/serial/usb-serial-simple.c
+++ b/drivers/usb/serial/usb-serial-simple.c
@@ -65,6 +65,11 @@ DEVICE(vivopay, VIVOPAY_IDS);
{ USB_DEVICE(0x22b8, 0x2c64) } /* Motorola V950 phone */
DEVICE(moto_modem, MOTO_IDS);
+/* Novatel Wireless GPS driver */
+#define NOVATEL_IDS() \
+ { USB_DEVICE(0x09d7, 0x0100) } /* NovAtel FlexPack GPS */
+DEVICE_N(novatel_gps, NOVATEL_IDS, 3);
+
/* HP4x (48/49) Generic Serial driver */
#define HP4X_IDS() \
{ USB_DEVICE(0x03f0, 0x0121) }
@@ -88,6 +93,7 @@ static struct usb_serial_driver * const serial_drivers[] = {
&flashloader_device,
&vivopay_device,
&moto_modem_device,
+ &novatel_gps_device,
&hp4x_device,
&suunto_device,
&siemens_mpi_device,
@@ -100,6 +106,7 @@ static const struct usb_device_id id_table[] = {
FLASHLOADER_IDS(),
VIVOPAY_IDS(),
MOTO_IDS(),
+ NOVATEL_IDS(),
HP4X_IDS(),
SUUNTO_IDS(),
SIEMENS_IDS(),