aboutsummaryrefslogtreecommitdiff
path: root/drivers/gnss/Kconfig
diff options
context:
space:
mode:
authorJohan Hovold2021-12-20 12:19:00 +0100
committerJohan Hovold2021-12-22 15:36:39 +0100
commitee4736e50ba261944ddae75469b3eb47a9e2847d (patch)
tree5de333c4b8881c7717fd0e7cedb2a437db7f6cca /drivers/gnss/Kconfig
parentb15c90153fd906af6e70821a301e78d379bd482d (diff)
gnss: add USB support
Add a generic driver for GNSS receivers with a USB interface with two bulk endpoints. The driver currently assumes that the device protocol is NMEA (only) but this can be generalised later as needed. Link: https://lore.kernel.org/r/20211220111901.23206-2-johan@kernel.org Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Tested-by: Marc Ferland <ferlandm@amotus.ca> Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'drivers/gnss/Kconfig')
-rw-r--r--drivers/gnss/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/gnss/Kconfig b/drivers/gnss/Kconfig
index bd12e3d57baa..d7fe265c2869 100644
--- a/drivers/gnss/Kconfig
+++ b/drivers/gnss/Kconfig
@@ -54,4 +54,15 @@ config GNSS_UBX_SERIAL
If unsure, say N.
+config GNSS_USB
+ tristate "USB GNSS receiver support"
+ depends on USB
+ help
+ Say Y here if you have a GNSS receiver which uses a USB interface.
+
+ To compile this driver as a module, choose M here: the module will
+ be called gnss-usb.
+
+ If unsure, say N.
+
endif # GNSS