Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp8172702imu; Fri, 28 Dec 2018 12:03:11 -0800 (PST) X-Google-Smtp-Source: ALg8bN4UMp+ZF9N5DU6oBq5AgX4bYdi+SMKnAxbYRAz2a4Wfc70VtiXH7ibWheb660D8Bp9jqjzO X-Received: by 2002:a17:902:d202:: with SMTP id t2mr29238151ply.193.1546027391012; Fri, 28 Dec 2018 12:03:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546027390; cv=none; d=google.com; s=arc-20160816; b=pEZJZt3Es2/mpQ1Gg3UFFA/35bTKaU57kZxVONL2f9XmqBtvFZWq0dRDCiQVCsXDOC dZg5tae10M8uWSYZ8LV/Ob2Yfoi0G+wThDkFDNx8+pgiInedlJpXgQqrte3/zO7b5RPT PCLoWJiCJzG4FgtYYxs+YWLI+f8wGRheO89Ofoq1vvklGPq5SL4JcwznC+kXw8/OiAOA 7gEBFzY1277dAWQV3AXCzPi5G5Z9VMiOo8UpdhNtM82Rvmqx7M6qZBF10ETEnXh6xndb usahsCi15bYNR84NiUNEbvelbmW2fLu4yhiG9jUhz33440mtJcpJu3T255LhMUA1SPM7 hxEg== 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=839efX+7U5vYxejZ5MhRw75xUHfEI8ipzY9hkahVUzw=; b=rHA+pJ28KqrxbXmjQztnVyh6uNye1304T1yaDIcpfSqdg4WmC9T/Jczk6jN56Q+Qdd DizYahbrf3xTmgiJJ3lNrTG6AyC6xFvF72ZnTPG4syH5DuwAjsLxqk2/6exgiJ35D9Rx GYyVgklTd7mXVpDN1pGXQTMXMySO69eGuP/M5MOQMOaBNjiW4HbamsBN3sQLqk+jtJn7 GE5Zkfb1ko+i51IrHVwIsxAdrfdCpsxu77HnaNvTmTYYYRREOh/bGZdPTlLd+AtUfSyb 3GKDhUl3uYPwX19B/vIJxqgMJyY4+R6LVq7u69Sz+/MG7F7jS9up77cYzgCLNp3H4YUY t8Gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=Gk6CQ2pi; 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 h16si6170971pgh.283.2018.12.28.12.02.54; Fri, 28 Dec 2018 12:03:10 -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=Gk6CQ2pi; 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 S1732108AbeL1Kv2 (ORCPT + 99 others); Fri, 28 Dec 2018 05:51:28 -0500 Received: from mail-ed1-f68.google.com ([209.85.208.68]:45212 "EHLO mail-ed1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732099AbeL1Kv0 (ORCPT ); Fri, 28 Dec 2018 05:51:26 -0500 Received: by mail-ed1-f68.google.com with SMTP id d39so17213594edb.12 for ; Fri, 28 Dec 2018 02:51:24 -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=839efX+7U5vYxejZ5MhRw75xUHfEI8ipzY9hkahVUzw=; b=Gk6CQ2pikAs8wt4C2vOgxBoJjANTeMK10dypoh/+0xvczPRvNgI8210CGWoa7CtBxk aDKfnLxBrSUz8CMJiACIrzpuphTqUvZbdvTdqcIvhltdDzZHFypMd/CsYM9Xph7o626x IZPw6mIbAdQygk0G40kdPghnyzGeQx1+pb8dJ7mzhQmZzSmcE4EokxMAc3F7QRY3s+dl h0Yjl6alIOttGNkZuJ4+pbeasVc+RLahYnXPgerhnTHKSBZYT6q+pEa9gsz7hGGdbhHf cWwBvkT57qKYSWLbvC3PCuF/Z4D7GvHoz6Nc2HVdkNH6FitCXlXXqf7IotkLlxCRXCTt oSQg== 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=839efX+7U5vYxejZ5MhRw75xUHfEI8ipzY9hkahVUzw=; b=qLZfVwt+cxsl97/5HuH62qEiYfh8YdoZy3/Iu2s8tF5hL8zwIVC07SN4aPDIG7kAtl BQdEGH3bwUqCVTOkLq4knoJA0QAIBliuKNI03+/TH7y2QWtPw8Zylzt/VNQW470ZOV0S cKWB9hGZa2tDNH7HhMO9fCGhshju8HYIpJ2IEHsS7RhQh0lpw/nD6kQxd7IQCp0zUEPi 5zii2jX8pFYZesKJs+sPNov4R9m8cS5trFVY2YZCMdTEtWccWTcGHf+6nCNoR0zfPEYy 8WwOu9u/OalmA9kw8iz1aSX5XJFJjnZz74rLJ8zvf2uOlBH+UbKX4pVS2IQBY42OOtei ZUGQ== X-Gm-Message-State: AA+aEWYBEjXrFNHQOH3hbRoStB2QECmXGWz2j4e5rEvWErIHGIJ+nR2b QbRmJk4mjmYDCR0AbUtFWReCTZMjCNYdbRdLSNY= X-Received: by 2002:a17:906:5795:: with SMTP id k21-v6mr18149045ejq.238.1545994284272; Fri, 28 Dec 2018 02:51:24 -0800 (PST) Received: from loys-ubuntu-BY1835A49200471.home (anice-157-1-157-17.w83-201.abo.wanadoo.fr. [83.201.132.17]) by smtp.googlemail.com with ESMTPSA id b45sm12919494eda.34.2018.12.28.02.51.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 28 Dec 2018 02:51:23 -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 Subject: [PATCH 3/4] gnss: add gtop receiver type support Date: Fri, 28 Dec 2018 11:50:34 +0100 Message-Id: <1545994235-8309-4-git-send-email-lollivier@baylibre.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1545994235-8309-1-git-send-email-lollivier@baylibre.com> References: <1545994235-8309-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 a gtop type to the "GNSS_TYPE" attribute. Note that GTOP receveirs support a subset of NMEA 0183 with vendor extensions (e.g. to allow switching to the vendor protocol). Signed-off-by: Loys Ollivier --- include/linux/gnss.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/gnss.h b/include/linux/gnss.h index 43546977098c..adbbacc00278 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_GTOP, GNSS_TYPE_COUNT }; -- 2.7.4