summaryrefslogtreecommitdiffstats
path: root/drivers/gnss/Kconfig
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2018-06-01 10:22:56 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-06-28 20:31:32 +0900
commit1ad69f10e3a58db60210f2869d5afddb40714507 (patch)
treed7992041440eda958c5941c453a6d4eb1c890bfe /drivers/gnss/Kconfig
parentcf408372e5f583c5289319f597a2816f282b572b (diff)
downloadlinux-1ad69f10e3a58db60210f2869d5afddb40714507.tar.bz2
gnss: add driver for u-blox receivers
Add driver for serial-connected u-blox GNSS receivers. Note that the driver uses the generic GNSS serial implementation and therefore essentially only manages power abstracted into three power states: ACTIVE, STANDBY, and OFF. For u-blox receivers with a main supply and no enable-gpios, this simply means that the main supply is disabled in STANDBY and OFF (the optional backup supply is kept enabled while the driver is bound). Note that timepulse-support is not yet implemented. Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gnss/Kconfig')
-rw-r--r--drivers/gnss/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/gnss/Kconfig b/drivers/gnss/Kconfig
index f8ee54f99a8d..784b8c0367d9 100644
--- a/drivers/gnss/Kconfig
+++ b/drivers/gnss/Kconfig
@@ -15,4 +15,17 @@ if GNSS
config GNSS_SERIAL
tristate
+config GNSS_UBX_SERIAL
+ tristate "u-blox GNSS receiver support"
+ depends on SERIAL_DEV_BUS
+ select GNSS_SERIAL
+ ---help---
+ Say Y here if you have a u-blox GNSS receiver which uses a serial
+ interface.
+
+ To compile this driver as a module, choose M here: the module will
+ be called gnss-ubx.
+
+ If unsure, say N.
+
endif # GNSS