Home
last modified time | relevance | path

Searched +full:gnss +full:- +full:receiver (Results 1 – 25 of 33) sorted by relevance

12

/kernel/linux/linux-6.6/drivers/gnss/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 # GNSS receiver configuration
6 menuconfig GNSS config
7 tristate "GNSS receiver support"
9 Say Y here if you have a GNSS receiver (e.g. a GPS receiver).
12 be called gnss.
14 if GNSS
20 tristate "Mediatek GNSS receiver support"
24 Say Y here if you have a Mediatek-based GNSS receiver which uses a
28 be called gnss-mtk.
[all …]
Dmtk.c1 // SPDX-License-Identifier: GPL-2.0
3 * Mediatek GNSS receiver driver
9 #include <linux/gnss.h>
29 ret = regulator_enable(data->vcc); in mtk_set_active()
41 ret = regulator_disable(data->vcc); in mtk_set_standby()
59 return -EINVAL; in mtk_set_power()
78 gserial->ops = &mtk_gserial_ops; in mtk_probe()
80 gserial->gdev->type = GNSS_TYPE_MTK; in mtk_probe()
84 data->vcc = devm_regulator_get(&serdev->dev, "vcc"); in mtk_probe()
85 if (IS_ERR(data->vcc)) { in mtk_probe()
[all …]
Dubx.c1 // SPDX-License-Identifier: GPL-2.0
3 * u-blox GNSS receiver driver
9 #include <linux/gnss.h>
29 ret = regulator_enable(data->vcc); in ubx_set_active()
41 ret = regulator_disable(data->vcc); in ubx_set_standby()
59 return -EINVAL; in ubx_set_power()
78 gserial->ops = &ubx_gserial_ops; in ubx_probe()
80 gserial->gdev->type = GNSS_TYPE_UBX; in ubx_probe()
84 data->vcc = devm_regulator_get(&serdev->dev, "vcc"); in ubx_probe()
85 if (IS_ERR(data->vcc)) { in ubx_probe()
[all …]
Dusb.c1 // SPDX-License-Identifier: GPL-2.0
3 * Generic USB GNSS receiver driver
9 #include <linux/gnss.h>
35 struct gnss_usb *gusb = urb->context; in gnss_usb_rx_complete()
36 struct gnss_device *gdev = gusb->gdev; in gnss_usb_rx_complete()
37 int status = urb->status; in gnss_usb_rx_complete()
44 case -ENOENT: in gnss_usb_rx_complete()
45 case -ECONNRESET: in gnss_usb_rx_complete()
46 case -ESHUTDOWN: in gnss_usb_rx_complete()
47 dev_dbg(&gdev->dev, "urb stopped: %d\n", status); in gnss_usb_rx_complete()
[all …]
Dcore.c1 // SPDX-License-Identifier: GPL-2.0
3 * GNSS receiver core
13 #include <linux/gnss.h>
41 gdev = container_of(inode->i_cdev, struct gnss_device, cdev); in gnss_open()
43 get_device(&gdev->dev); in gnss_open()
46 file->private_data = gdev; in gnss_open()
48 down_write(&gdev->rwsem); in gnss_open()
49 if (gdev->disconnected) { in gnss_open()
50 ret = -ENODEV; in gnss_open()
54 if (gdev->count++ == 0) { in gnss_open()
[all …]
Dserial.c1 // SPDX-License-Identifier: GPL-2.0
3 * Generic serial GNSS receiver driver
9 #include <linux/gnss.h>
25 struct serdev_device *serdev = gserial->serdev; in gnss_serial_open()
32 serdev_device_set_baudrate(serdev, gserial->speed); in gnss_serial_open()
35 ret = pm_runtime_get_sync(&serdev->dev); in gnss_serial_open()
37 pm_runtime_put_noidle(&serdev->dev); in gnss_serial_open()
52 struct serdev_device *serdev = gserial->serdev; in gnss_serial_close()
56 pm_runtime_put(&serdev->dev); in gnss_serial_close()
63 struct serdev_device *serdev = gserial->serdev; in gnss_serial_write_raw()
[all …]
Dserial.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Generic serial GNSS receiver driver
44 return gserial->drvdata; in gnss_serial_get_drvdata()
/kernel/linux/linux-5.10/drivers/gnss/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 # GNSS receiver configuration
6 menuconfig GNSS config
7 tristate "GNSS receiver support"
9 Say Y here if you have a GNSS receiver (e.g. a GPS receiver).
12 be called gnss.
14 if GNSS
20 tristate "Mediatek GNSS receiver support"
24 Say Y here if you have a Mediatek-based GNSS receiver which uses a
28 be called gnss-mtk.
[all …]
Dmtk.c1 // SPDX-License-Identifier: GPL-2.0
3 * Mediatek GNSS receiver driver
9 #include <linux/gnss.h>
29 ret = regulator_enable(data->vcc); in mtk_set_active()
41 ret = regulator_disable(data->vcc); in mtk_set_standby()
59 return -EINVAL; in mtk_set_power()
78 gserial->ops = &mtk_gserial_ops; in mtk_probe()
80 gserial->gdev->type = GNSS_TYPE_MTK; in mtk_probe()
84 data->vcc = devm_regulator_get(&serdev->dev, "vcc"); in mtk_probe()
85 if (IS_ERR(data->vcc)) { in mtk_probe()
[all …]
Dubx.c1 // SPDX-License-Identifier: GPL-2.0
3 * u-blox GNSS receiver driver
9 #include <linux/gnss.h>
29 ret = regulator_enable(data->vcc); in ubx_set_active()
41 ret = regulator_disable(data->vcc); in ubx_set_standby()
59 return -EINVAL; in ubx_set_power()
78 gserial->ops = &ubx_gserial_ops; in ubx_probe()
80 gserial->gdev->type = GNSS_TYPE_UBX; in ubx_probe()
84 data->vcc = devm_regulator_get(&serdev->dev, "vcc"); in ubx_probe()
85 if (IS_ERR(data->vcc)) { in ubx_probe()
[all …]
Dcore.c1 // SPDX-License-Identifier: GPL-2.0
3 * GNSS receiver core
13 #include <linux/gnss.h>
41 gdev = container_of(inode->i_cdev, struct gnss_device, cdev); in gnss_open()
43 get_device(&gdev->dev); in gnss_open()
46 file->private_data = gdev; in gnss_open()
48 down_write(&gdev->rwsem); in gnss_open()
49 if (gdev->disconnected) { in gnss_open()
50 ret = -ENODEV; in gnss_open()
54 if (gdev->count++ == 0) { in gnss_open()
[all …]
Dserial.c1 // SPDX-License-Identifier: GPL-2.0
3 * Generic serial GNSS receiver driver
9 #include <linux/gnss.h>
25 struct serdev_device *serdev = gserial->serdev; in gnss_serial_open()
32 serdev_device_set_baudrate(serdev, gserial->speed); in gnss_serial_open()
35 ret = pm_runtime_get_sync(&serdev->dev); in gnss_serial_open()
37 pm_runtime_put_noidle(&serdev->dev); in gnss_serial_open()
52 struct serdev_device *serdev = gserial->serdev; in gnss_serial_close()
56 pm_runtime_put(&serdev->dev); in gnss_serial_close()
63 struct serdev_device *serdev = gserial->serdev; in gnss_serial_write_raw()
[all …]
Dserial.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Generic serial GNSS receiver driver
44 return gserial->drvdata; in gnss_serial_get_drvdata()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/
Dice_gnss.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright (C) 2021-2022, Intel Corporation. */
8 * ice_gnss_do_write - Write data to internal GNSS receiver
13 * Write UBX command data to the GNSS receiver
16 * * number of bytes written - success
17 * * negative - error code
23 struct ice_hw *hw = &pf->hw; in ice_gnss_do_write()
33 /* It's not possible to write a single byte to u-blox. in ice_gnss_do_write()
39 while (size - offset > ICE_GNSS_UBX_WRITE_BYTES + 1) { in ice_gnss_do_write()
51 if (size - offset == ICE_GNSS_UBX_WRITE_BYTES + 1) { in ice_gnss_do_write()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/gnss/
Dgnss-common.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/gnss/gnss-common.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Common Properties for Global Navigation Satellite Systems (GNSS)
8 receiver devices
11 - Johan Hovold <johan@kernel.org>
19 pattern: "^gnss(@.*)?$"
21 lna-supply:
23 Amplifier (LNA). This is an amplifier connected between the GNSS
[all …]
Dmediatek.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/gnss/mediatek.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Mediatek GNSS Receiver
10 - Johan Hovold <johan@kernel.org>
13 Mediatek chipsets are used in GNSS-receiver modules produced by several
17 - $ref: gnss-common.yaml#
23 vcc-supply:
27 reset-gpios:
[all …]
Du-blox,neo-6m.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/gnss/u-blox,neo-6m.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: U-blox GNSS Receiver
10 - $ref: gnss-common.yaml#
13 - Johan Hovold <johan@kernel.org>
16 The U-blox GNSS receivers can use UART, DDC (I2C), SPI and USB interfaces.
21 - u-blox,neo-6m
22 - u-blox,neo-8
[all …]
Dsirfstar.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/gnss/sirfstar.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: SiRFstar GNSS Receiver
10 - Johan Hovold <johan@kernel.org>
13 The SiRFstar GNSS receivers have incarnated over the years in different
23 - $ref: gnss-common.yaml#
28 - csr,gsd4t
29 - csr,csrg05ta03-icje-r
[all …]
Dbrcm,bcm4751.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/gnss/brcm,bcm4751.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Broadcom BCM4751 family GNSS Receiver
10 - Johan Hovold <johan@kernel.org>
11 - Linus Walleij <linus.walleij@linaro.org>
20 - $ref: gnss-common.yaml#
25 - brcm,bcm4751
26 - brcm,bcm4752
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/gnss/
Dgnss.txt1 GNSS Receiver DT binding
3 This documents the binding structure and common properties for GNSS receiver
6 A GNSS receiver node is a node named "gnss" and typically resides on a serial
12 Documentation/devicetree/bindings/spi/spi-bus.txt
16 - compatible : A string reflecting the vendor and specific device the node
20 - lna-supply : Separate supply for an LNA
21 - enable-gpios : GPIO used to enable the device
22 - timepulse-gpios : Time pulse GPIO
29 gnss {
30 compatible = "u-blox,neo-8";
[all …]
Dmediatek.txt1 Mediatek-based GNSS Receiver DT binding
3 Mediatek chipsets are used in GNSS-receiver modules produced by several
6 Please see Documentation/devicetree/bindings/gnss/gnss.txt for generic
11 - compatible : Must be
15 - vcc-supply : Main voltage regulator (pin name: VCC)
19 - current-speed : Default UART baud rate
20 - gnss-fix-gpios : GPIO used to determine device position fix state
22 - reset-gpios : GPIO used to reset the device (pin name: RESET, NRESET)
23 - timepulse-gpios : Time pulse GPIO (pin name: PPS1, 1PPS)
24 - vbackup-supply : Backup voltage regulator (pin name: VBAT, VBACKUP)
[all …]
Dsirfstar.txt1 SiRFstar-based GNSS Receiver DT binding
3 SiRFstar chipsets are used in GNSS-receiver modules produced by several
6 Please see Documentation/devicetree/bindings/gnss/gnss.txt for generic
11 - compatible : Must be one of
19 - vcc-supply : Main voltage regulator (pin name: 3V3_IN, VCC, VDD)
22 - reg : I2C slave address
25 - reg : SPI chip select address
29 - sirf,onoff-gpios : GPIO used to power on and off device (pin name: ON_OFF)
30 - sirf,wakeup-gpios : GPIO used to determine device power state
32 - timepulse-gpios : Time pulse GPIO (pin name: 1PPS, TM)
[all …]
Du-blox.txt1 u-blox GNSS Receiver DT binding
3 The u-blox GNSS receivers can use UART, DDC (I2C), SPI and USB interfaces.
5 Please see Documentation/devicetree/bindings/gnss/gnss.txt for generic
10 - compatible : Must be one of
12 "u-blox,neo-6m"
13 "u-blox,neo-8"
14 "u-blox,neo-m8"
16 - vcc-supply : Main voltage regulator
19 - reg : DDC (I2C) slave address
22 - reg : SPI chip select address
[all …]
/kernel/linux/linux-6.6/Documentation/ABI/testing/
Dsysfs-class-gnss1 What: /sys/class/gnss/gnss<N>/type
6 The GNSS receiver type. The currently identified types reflect
7 the protocol(s) supported by the receiver:
15 Note that also non-"NMEA" type receivers typically support a
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-class-gnss1 What: /sys/class/gnss/gnssN/type
6 The GNSS receiver type. The currently identified types reflect
7 the protocol(s) supported by the receiver:
15 Note that also non-"NMEA" type receivers typically support a

12