gnss: add USB support
authorJohan Hovold <johan@kernel.org>
Mon, 20 Dec 2021 11:19:00 +0000 (12:19 +0100)
committerJohan Hovold <johan@kernel.org>
Wed, 22 Dec 2021 14:36:39 +0000 (15:36 +0100)
commitee4736e50ba261944ddae75469b3eb47a9e2847d
tree5de333c4b8881c7717fd0e7cedb2a437db7f6cca
parentb15c90153fd906af6e70821a301e78d379bd482d
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>
drivers/gnss/Kconfig
drivers/gnss/Makefile
drivers/gnss/usb.c [new file with mode: 0644]