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