linux/drivers/gnss
Loys Ollivier d4584bbfcf gnss: add driver for mediatek receivers
Add driver for serial-connected Mediatek-based GNSS receivers.

These devices typically boot transmitting vendor specific NMEA output
sequences. The serial port bit rate is read from the device tree
"current-speed".

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 mediatek 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 the timepulse-support is left unimplemented.

Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
[ johan: rename backup supply ]
Signed-off-by: Johan Hovold <johan@kernel.org>
2019-02-15 16:54:38 +01:00
..
core.c gnss: add mtk receiver type support 2019-02-15 16:54:38 +01:00
Kconfig gnss: add driver for mediatek receivers 2019-02-15 16:54:38 +01:00
Makefile gnss: add driver for mediatek receivers 2019-02-15 16:54:38 +01:00
mtk.c gnss: add driver for mediatek receivers 2019-02-15 16:54:38 +01:00
serial.c serdev: make synchronous write return bytes written 2018-11-27 19:44:21 +01:00
serial.h gnss: add generic serial driver 2018-06-28 20:31:32 +09:00
sirf.c gnss: sirf: add a separate supply for a lna 2019-01-25 12:07:42 +01:00
ubx.c gnss: ubx: make struct ubx_gserial_ops static 2018-07-16 12:48:07 +02:00