^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0-only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) # GNSS receiver configuration
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) menuconfig GNSS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) tristate "GNSS receiver support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) Say Y here if you have a GNSS receiver (e.g. a GPS receiver).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) To compile this driver as a module, choose M here: the module will
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) be called gnss.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) if GNSS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) config GNSS_SERIAL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) tristate
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) config GNSS_MTK_SERIAL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) tristate "Mediatek GNSS receiver support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) depends on SERIAL_DEV_BUS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) select GNSS_SERIAL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) Say Y here if you have a Mediatek-based GNSS receiver which uses a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) serial interface.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) To compile this driver as a module, choose M here: the module will
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) be called gnss-mtk.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) If unsure, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) config GNSS_SIRF_SERIAL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) tristate "SiRFstar GNSS receiver support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) depends on SERIAL_DEV_BUS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) Say Y here if you have a SiRFstar-based GNSS receiver which uses a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) serial interface.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) To compile this driver as a module, choose M here: the module will
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) be called gnss-sirf.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) If unsure, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) config GNSS_UBX_SERIAL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) tristate "u-blox GNSS receiver support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) depends on SERIAL_DEV_BUS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) select GNSS_SERIAL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) Say Y here if you have a u-blox GNSS receiver which uses a serial
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) interface.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) To compile this driver as a module, choose M here: the module will
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) be called gnss-ubx.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) If unsure, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) config GNSS_CMDLINE_SERIAL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) tristate "Command line test driver for GNSS"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) depends on SERIAL_DEV_BUS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) select GNSS_SERIAL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) Say Y here if you want to test the GNSS subsystem but do not have a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) way to communicate a binding through firmware such as DT or ACPI.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) The correct serdev device and protocol type must be specified on
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) the module command line.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) To compile this driver as a module, choose M here: the module will
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) be called gnss-cmdline.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) If unsure, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) endif # GNSS