summaryrefslogtreecommitdiffstats
path: root/drivers/gnss/serial.h
AgeCommit message (Collapse)AuthorFilesLines
2018-06-28gnss: add generic serial driverJohan Hovold1-0/+47
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>