summaryrefslogtreecommitdiffstats
path: root/drivers/gnss/ubx.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* gnss: drop stray semicolonsJohan Hovold2021-11-151-1/+1
| | | | | | | Drop semicolons after function definitions that have managed to sneak in and get reproduced. Signed-off-by: Johan Hovold <johan@kernel.org>
* gnss: ubx: add u-blox,neo-6m compatibleOndrej Jirman2019-04-041-0/+1
| | | | | | | Add compatible for u-blox NEO-6M GPS module. Signed-off-by: Ondrej Jirman <megous@megous.com> Signed-off-by: Johan Hovold <johan@kernel.org>
* gnss: ubx: make struct ubx_gserial_ops staticColin Ian King2018-07-161-1/+1
| | | | | | | | | | | | The structure ubx_gserial_ops is local to the source and does not need to be in global scope, so make it static. Cleans up sparse warning: symbol 'ubx_gserial_ops' was not declared. Should it be static? Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* gnss: add receiver type supportJohan Hovold2018-06-281-0/+2
| | | | | | | | | | | | | | | | | Add a "type" device attribute and a "GNSS_TYPE" uevent variable which can be used to determine the type of a GNSS receiver. The currently identified types reflect the protocol(s) supported by a receiver: "NMEA" NMEA 0183 "SiRF" SiRF Binary "UBX" UBX Note that both SiRF and UBX type receivers typically support a subset of NMEA 0183 with vendor extensions (e.g. to allow switching to the vendor protocol). Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* gnss: add driver for u-blox receiversJohan Hovold2018-06-281-0/+151
Add driver for serial-connected u-blox GNSS receivers. 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 u-blox 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 timepulse-support is not yet implemented. Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>