diff options
author | Loys Ollivier <lollivier@baylibre.com> | 2019-02-13 16:09:28 +0100 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2019-02-15 16:54:38 +0100 |
commit | 625239d4ad43590f6639737ee900884f7d801411 (patch) | |
tree | 5c1e39fba82ca8f5849e09dab36271d80d081b2e /drivers/gnss | |
parent | dt-bindings: gnss: add mediatek binding (diff) | |
download | linux-625239d4ad43590f6639737ee900884f7d801411.tar.xz linux-625239d4ad43590f6639737ee900884f7d801411.zip |
gnss: add mtk receiver type support
Add an MTK (Mediatek) type to the "GNSS_TYPE" attribute.
Note that MTK receivers support a subset of NMEA 0183 with vendor
extensions.
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'drivers/gnss')
-rw-r--r-- | drivers/gnss/core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gnss/core.c b/drivers/gnss/core.c index 4291a0dd22aa..320cfca80d5f 100644 --- a/drivers/gnss/core.c +++ b/drivers/gnss/core.c @@ -334,6 +334,7 @@ static const char * const gnss_type_names[GNSS_TYPE_COUNT] = { [GNSS_TYPE_NMEA] = "NMEA", [GNSS_TYPE_SIRF] = "SiRF", [GNSS_TYPE_UBX] = "UBX", + [GNSS_TYPE_MTK] = "MTK", }; static const char *gnss_type_name(struct gnss_device *gdev) |