summaryrefslogtreecommitdiff
path: root/drivers/gnss/Kconfig
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2018-06-01 11:22:54 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-06-28 14:31:32 +0300
commit37768b054f2074f40de3cacd492baed482f5d9da (patch)
tree35d002a267bd214615d77631e16426dc9e65e41d /drivers/gnss/Kconfig
parent98ddec80fdf1c3e6c594fe633e6fb2a8a0d699dd (diff)
downloadlinux-37768b054f2074f40de3cacd492baed482f5d9da.tar.xz
gnss: add generic serial driver
Add a generic serial GNSS driver (library) which provides a common implementation for the gnss interface and power management (runtime and system suspend). This allows GNSS drivers for specific chip to be implemented by simply providing a set_power() callback to handle three states: ACTIVE, STANDBY and OFF. 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/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gnss/Kconfig b/drivers/gnss/Kconfig
index 103fcc70992e..f8ee54f99a8d 100644
--- a/drivers/gnss/Kconfig
+++ b/drivers/gnss/Kconfig
@@ -9,3 +9,10 @@ menuconfig GNSS
To compile this driver as a module, choose M here: the module will
be called gnss.
+
+if GNSS
+
+config GNSS_SERIAL
+ tristate
+
+endif # GNSS