mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-30 07:34:12 +08:00
d4584bbfcf
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>
20 lines
396 B
Makefile
20 lines
396 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for the GNSS subsystem.
|
|
#
|
|
|
|
obj-$(CONFIG_GNSS) += gnss.o
|
|
gnss-y := core.o
|
|
|
|
obj-$(CONFIG_GNSS_SERIAL) += gnss-serial.o
|
|
gnss-serial-y := serial.o
|
|
|
|
obj-$(CONFIG_GNSS_MTK_SERIAL) += gnss-mtk.o
|
|
gnss-mtk-y := mtk.o
|
|
|
|
obj-$(CONFIG_GNSS_SIRF_SERIAL) += gnss-sirf.o
|
|
gnss-sirf-y := sirf.o
|
|
|
|
obj-$(CONFIG_GNSS_UBX_SERIAL) += gnss-ubx.o
|
|
gnss-ubx-y := ubx.o
|