]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit - drivers/gnss/Makefile
gnss: add generic serial driver
authorJohan Hovold <johan@kernel.org>
Fri, 1 Jun 2018 08:22:54 +0000 (10:22 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Jun 2018 11:31:32 +0000 (20:31 +0900)
commit37768b054f2074f40de3cacd492baed482f5d9da
tree35d002a267bd214615d77631e16426dc9e65e41d
parent98ddec80fdf1c3e6c594fe633e6fb2a8a0d699dd
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>
drivers/gnss/Kconfig
drivers/gnss/Makefile
drivers/gnss/serial.c [new file with mode: 0644]
drivers/gnss/serial.h [new file with mode: 0644]