mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 02:39:48 +00:00
![Johan Hovold](/assets/img/avatar_default.png)
Add driver for serial-connected SiRFstar-based GNSS receivers. These devices typically boot into hibernate mode from which they can be woken using a pulse on the ON_OFF input pin. Once active, a pulse on the same ON_OFF pin is used to put the device back into hibernate mode. The current state can be determined by sampling the WAKEUP output. Hardware configurations where WAKEUP has been connected to ON_OFF (and where an initial WAKEUP pulse during boot is sufficient to have the device boot into active mode) are also supported. In this case, device power is managed using the main-supply regulator only. Note that configurations where WAKEUP is left not connected, so that the device power state can only indirectly be determined using the I/O interface, is currently not supported. It should be fairly straight-forward to extend the current implementation with such support however (and this this is the main reason for not using the generic serial implementation for this driver). Note that timepulse-support is left unimplemented. Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
16 lines
330 B
Makefile
16 lines
330 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_SIRF_SERIAL) += gnss-sirf.o
|
|
gnss-sirf-y := sirf.o
|
|
|
|
obj-$(CONFIG_GNSS_UBX_SERIAL) += gnss-ubx.o
|
|
gnss-ubx-y := ubx.o
|