Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp236653imu; Fri, 25 Jan 2019 01:13:35 -0800 (PST) X-Google-Smtp-Source: ALg8bN6dCMz96Aq4AQD++CZzuXil7c5l/WmCUe0OeaJMYZgTidcoRBlkMv2TrRYVrUmAbdfkjDn9 X-Received: by 2002:a17:902:1008:: with SMTP id b8mr9792294pla.252.1548407615479; Fri, 25 Jan 2019 01:13:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548407615; cv=none; d=google.com; s=arc-20160816; b=yjXRmnWnvG5x+O82S0K9+vwyQhIGaXytkuPFAqEeuZD+xGtXTrnZUKnuNinNrGylLT HhmT/TaKn3ob/6/367hy1DsMoRRVvXCvOz7yRenfHCocjinTK9W89/jDfLDRoi2772a6 n7G8tH2nhO9tjkdxO2Wj3C62/wlbVEG3rxAsDgdGCe4WSewQJRTjazVTXH56rsQxVwHA qL3/E/9fLfw2/raCoAmuIBeAabP/hgv7o9UacQMtGUHqP5P5rbPOJx3dBZgs+neWmgYD CkKzewz0DfVDT7VSXsEBC+EraU/IcOFIBjGxcDJMpSZUZIAwjeXTbzdXU1gvQb89pob8 vsVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=LQ44fZmqYtGeW5F/n2jrFDteHxp9GGkSJWCW+fdudJ8=; b=grCiH4+nV6wIdaEPgB9L7J3PMGUcxgBwBVC5GGo5styi7w+j2VZ8nGmQSCFT8C/ews 5mrHGwsAL0K6TuKL0aL+UYarzviUWsQ0QAzsw98LgWx3ocBXxhFdMmK/mgiPpR7H91L1 cTPcz8VryB9RMHs77jP9y8ay1F00p3CmrFVfitC9V82Mhmjt6aUhaAGS8V/7ql9R+7SU tLz9j9NmlQvyR5gtbDbG8eLFdphAmKMO3OnlgkP3Q7GgKjhSdILFbSvRduUZm4c/27iC i5M90mqPVvJin//3JrD89C0da/DKPQ2oHEbbQGzXQsSr2cKYA9BXWNBab5gvp18nfadH UCfA== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v9si18975993pfl.45.2019.01.25.01.13.19; Fri, 25 Jan 2019 01:13:35 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727986AbfAYJNE (ORCPT + 99 others); Fri, 25 Jan 2019 04:13:04 -0500 Received: from mail-lj1-f195.google.com ([209.85.208.195]:46843 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726040AbfAYJNE (ORCPT ); Fri, 25 Jan 2019 04:13:04 -0500 Received: by mail-lj1-f195.google.com with SMTP id v15-v6so7723715ljh.13; Fri, 25 Jan 2019 01:13:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=LQ44fZmqYtGeW5F/n2jrFDteHxp9GGkSJWCW+fdudJ8=; b=baCcOkjbr3mdjrO8oVm62iUA2r8j7k2D8zV+wATO3n+kfIQ0MQ1VN/xZOEPenHCCVD tes5A53YkCOISoNz2mtr4Gz2ADVumznP3m0Ius21TYud7hdaBDDf459Lz9ksa4JWsj49 KrNzETJyhOR2rV7Us2IV2axKG2p6YJTO2Ak4+26fK5POC20B0I5JlqIbCrZ+2v/hWd01 +tjbo5IPVC4fs+tk5jT+ClQQBzXBX/+b7WvWW39Eu070+lD/ChQYvCEPZflJIyneIYKp eyY+y9CjoSOxUJB9KhMOC1TA0oABKOdq5OVIjO6Bnzzjdw4nn/M3QmfxxvUwXgj1Ax3f Imjw== X-Gm-Message-State: AJcUukcf2W/9sep6GzET7WWTbc9Idebnk7bPx8NhqWZoXa/9gg+Pe4r3 799PdkIBf1TBRo3HRd2FIfdzzhfD X-Received: by 2002:a2e:2d11:: with SMTP id t17-v6mr8401264ljt.159.1548407582221; Fri, 25 Jan 2019 01:13:02 -0800 (PST) Received: from xi.terra (c-74bee655.07-184-6d6c6d4.bbcust.telenor.se. [85.230.190.116]) by smtp.gmail.com with ESMTPSA id 11-v6sm1379976ljv.1.2019.01.25.01.13.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 Jan 2019 01:13:01 -0800 (PST) Received: from johan by xi.terra with local (Exim 4.91) (envelope-from ) id 1gmxXk-00087N-V0; Fri, 25 Jan 2019 10:12:57 +0100 Date: Fri, 25 Jan 2019 10:12:56 +0100 From: Johan Hovold To: Loys Ollivier Cc: devicetree@vger.kernel.org, Johan Hovold , 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: Re: [PATCH v2 3/4] gnss: add mtk receiver type support Message-ID: <20190125091256.GC3691@localhost> References: <1547744074-28308-1-git-send-email-lollivier@baylibre.com> <1547744074-28308-4-git-send-email-lollivier@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1547744074-28308-4-git-send-email-lollivier@baylibre.com> User-Agent: Mutt/1.11.2 (2019-01-07) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. > 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 > }; Add the gnss_type_names string in this patch along with the define. Johan