gnss: add driver for u-blox receivers
authorJohan Hovold <johan@kernel.org>
Fri, 1 Jun 2018 08:22:56 +0000 (10:22 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Jun 2018 11:31:32 +0000 (20:31 +0900)
commit1ad69f10e3a58db60210f2869d5afddb40714507
treed7992041440eda958c5941c453a6d4eb1c890bfe
parentcf408372e5f583c5289319f597a2816f282b572b
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>
drivers/gnss/Kconfig
drivers/gnss/Makefile
drivers/gnss/ubx.c [new file with mode: 0644]