Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2134885imu; Thu, 17 Jan 2019 08:57:27 -0800 (PST) X-Google-Smtp-Source: ALg8bN6Mxs7k+bthssO+9smZ4/wQTCPa2TNqMMt7DXGq/0LbXgrWVmled7/v3yi8E05PSYxRGaK7 X-Received: by 2002:a17:902:8306:: with SMTP id bd6mr15727845plb.217.1547744246954; Thu, 17 Jan 2019 08:57:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547744246; cv=none; d=google.com; s=arc-20160816; b=fLo5QKd1fY2Aw511qxHfTMXrRhbJT5ap8W76q+80XtzBAA0EcbYQyZAC2eUXJMRidG 1ikd1q3cKlGcr7FQyP6LGwKDeHBbPd8bkP195bvOl3n4tZDLq6ydlqHejuXdtJyGBzAn Og8SIHV2dg5CkRTen7J1RqYaoN2q1VvO5+NXGKekjG9Xpo3AvgFbEVXTDYHa1w3gmXBI M0oHy3i4u/k0cr15SUTA/pIhXlXYsNkGcPKkHgK9/4Uw4IYgwRbeY9EaDN4joB9giFYw YzMriQekkvWw7wLJktc8cG99NzPfc3tLBTefALz9j1Girvbp0lU6IfJg1LfjBQj1r/dQ hiGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=9j/4jxpYoQpPS/+1F1W02eb69wy8a+vueBOw79dZhl0=; b=rJZZmuBWDdzyzfNquwGXLdFAfHY+zSNyynMcK/XnWUYYY0aYBM+GKIrR6adgP0edGJ vkvw8b4bRzy9e2ewDYmdPtbdmboni+ZsKu2QooNGSpm6FcjhtzfSWJgWZWSLJVc0wZE1 SU40DdyBw3viy/Qo6a+Nyqmm38zEb1a6KMxNUezKVQG4mkwXoF6mZnYYosPkD81XIGHD IXTPG0Pr5y49tiifMIL8tyF7EcFoU+U6aL0CFCYtku5RErIkoNLpbHONwDpb96e2oDTp 8VHbyk2xH0XN/X9l9zvfBSTN7rjdjxvj+6EFVfCi8ucBzHulln1c4/o9hjWLHqc5CNSr ExGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=ZMMVlo6g; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w10si1927360pgj.214.2019.01.17.08.57.10; Thu, 17 Jan 2019 08:57:26 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=ZMMVlo6g; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729165AbfAQQyv (ORCPT + 99 others); Thu, 17 Jan 2019 11:54:51 -0500 Received: from mail-wm1-f68.google.com ([209.85.128.68]:54913 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728810AbfAQQyp (ORCPT ); Thu, 17 Jan 2019 11:54:45 -0500 Received: by mail-wm1-f68.google.com with SMTP id a62so1800732wmh.4 for ; Thu, 17 Jan 2019 08:54:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=9j/4jxpYoQpPS/+1F1W02eb69wy8a+vueBOw79dZhl0=; b=ZMMVlo6gORfpCiJzCTh35BEQkxOT58yOVe7R5axxirvuNI7pvedOR7BDZIct9vWjLH xHFV0uD762SYEPELWy4SofB0e6QtGlu1ob1ua8RM8TeB8wbwRVposUIq87sy7IaoQn4u 73tRkOcyhtSpHqQ0gFzkYRaCC/4ktaZ1QjvMFQ8tfT05X14fL99Z6kMFrPJ8kIkGwmBS wA7cpklVkVKdRsxjfAaDoI+My9hdnV7DlJTPEc6bMhFY6A/WkZwKsKXOb2/pJF4B0fZ8 WWuAEJg8YGYgiJu+N9hyMjQA3uHnjko42yKcCo7o7E/UHMMHU7estb/PGK65ii1164Hd Lhug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=9j/4jxpYoQpPS/+1F1W02eb69wy8a+vueBOw79dZhl0=; b=Eqyevk7p7Efgl5jjr1hculqQCtzwqGjbPNToRsjvLpzFjafPULaJOfQ8ScHl2Jl1uS qzfwVqFXszekr/IYuKF8KmrxanWbBhzzhx4+7lXGJ3m075TkQFgdEapsjuKqRGgTub20 yaPTkrMN7jRiyzFBv7GzIa7+jBcUnLCI4RR+DglRjgmLgwrIc5Rv/JCb3m2vrSQE2ppE 8phJXRCxvsDgU9EPy26T6kaHOy34DrGPWuK/K0vFRTN+GNJRreQUwkYKqnYC+47j6VrJ qpv4AdWaaGLUrRj3nlwL4VBOYhNFuEK73PyL30Og3B/AND8HY2t2w9QztFI8xIM8Pnhm QywQ== X-Gm-Message-State: AJcUukd0Sm15x3em33wZefqOufQV8WXPDcrHLdil0F6wl3LAzlJeKxyJ EwCN5V3rzBSBdsfOdxJot5Nblg== X-Received: by 2002:a1c:c60e:: with SMTP id w14mr13223913wmf.18.1547744083821; Thu, 17 Jan 2019 08:54:43 -0800 (PST) Received: from loys-ubuntu-BY1835A49200471.thefacebook.com (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.googlemail.com with ESMTPSA id b12sm65309630wrt.17.2019.01.17.08.54.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 17 Jan 2019 08:54:43 -0800 (PST) From: Loys Ollivier To: devicetree@vger.kernel.org, Johan Hovold Cc: Loys Ollivier , Rob Herring , Mark Rutland , linux-kernel@vger.kernel.org, Kevin Hilman , linux-amlogic@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Martin Blumenstingl Subject: [PATCH v2 3/4] gnss: add mtk receiver type support Date: Thu, 17 Jan 2019 17:54:33 +0100 Message-Id: <1547744074-28308-4-git-send-email-lollivier@baylibre.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1547744074-28308-1-git-send-email-lollivier@baylibre.com> References: <1547744074-28308-1-git-send-email-lollivier@baylibre.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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). Signed-off-by: Loys Ollivier --- 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 }; -- 2.7.4