Re: [PATCH v2 3/4] gnss: add mtk receiver type support

From
Johan Hovold <johan@kernel.org>
Date
2019-01-25 09:13:07
Also in
linux-amlogic, linux-devicetree, linux-mediatek, lkml
Reply to
Loys Ollivier, 2019-01-17
On Thu, Jan 17, 2019 at 05:54:33PM +0100, Loys Ollivier wrote:
Add an MTK (Mediatek) type to the "GNSS_TYPE" attribute.

Note that MTK receivers support a subset of NMEA 0183 with vendor
extensions (e.g. to allow switching to the vendor protocol).
Copy paste error? AFAICT there is no Mediatek vendor protocol, only the
extensions to NMEA.
quoted hunk ↗ jump to hunk
Signed-off-by: Loys Ollivier <redacted>
---

v2: renamed from GTOP to MTK.

 include/linux/gnss.h | 1 +
 1 file changed, 1 insertion(+)
diff --git a/include/linux/gnss.h b/include/linux/gnss.h
index 43546977098c..36968a0f33e8 100644
--- a/include/linux/gnss.h
+++ b/include/linux/gnss.h
@@ -22,6 +22,7 @@ enum gnss_type {
 	GNSS_TYPE_NMEA = 0,
 	GNSS_TYPE_SIRF,
 	GNSS_TYPE_UBX,
+	GNSS_TYPE_MTK,
 
 	GNSS_TYPE_COUNT
 };
Add the gnss_type_names string in this patch along with the define.

Johan

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Thread (24 messages) 24 messages, 5 authors, last reply 2019-02-15
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help