From patchwork Fri Dec 28 10:50:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Loys Ollivier X-Patchwork-Id: 10744421 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 659F691E for ; Fri, 28 Dec 2018 10:51:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 557DF28B12 for ; Fri, 28 Dec 2018 10:51:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4769728BBD; Fri, 28 Dec 2018 10:51:40 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id F27CF28B12 for ; Fri, 28 Dec 2018 10:51:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=hWu5bExfyFJwe8Txcjzei5rwu8ZFOxBLcZDhuCFIlOw=; b=Ao6SFSNQvV6LWZXk3tyhCJbk5Y 5ASyt0UJx/6QVsfzYNRbg9oH2/BP5hul/YizjovjpHYubUUelxzaL+fGn2qp0Kdpz023ysailVb4q 5wfk3hWPVwF+0VGn2rylsfruJZaaEoCpupTZ5ZqKDho5std78Z5MteE2i8sW8rJfbsLtE65JNstVq O1O/uXXsgF1STIdpUXZksOM7EBafk2ddqaRtcbHHIyOJJ/9C5ERnSnjiX9G4skYkF0cXMIMC9skrJ nSSkSvcvPQllRPtm2maC61idygmmeMtb3rLXehExcE61VV3/U0ioCFJueygEXlpC8G8dw1cUQs8AO 0RUd3S1A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gcpjv-00021O-8H; Fri, 28 Dec 2018 10:51:39 +0000 Received: from mail-ed1-x543.google.com ([2a00:1450:4864:20::543]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gcpjs-0001t6-0B for linux-amlogic@lists.infradead.org; Fri, 28 Dec 2018 10:51:37 +0000 Received: by mail-ed1-x543.google.com with SMTP id y20so17223412edw.9 for ; Fri, 28 Dec 2018 02:51:25 -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=pMo6ZwVySTxudVr1P+ATNJI4aL15t6ko+dYN5OMyPLzR1QXphouOZORRCfBh8ph/DV FQTgVbLGWle/cIq9NLNnnedOsmzQ3l45Yv0xsaOs3EGhSU7REzn4Ldm/e4KD7PTPjqPf /2xElVx94gWvQHh1QBoPZcygsGzLnvjhTdWltfisRVVLqTstPuutSBqTrKGVdhCJDQ5u 0z1pFr5DxGsSh9dlrA8AQV0jz8N9iQ2eOloO1KnVtM0eq/dt3b6FjhC8AevBSbhO1MsO WkxtWU741gRBhFIP691B1VbWNBqpGZ4GPYkFvFKkE63Qv/tUJL5DCHJRFPAu2Zxq+VI4 RcPw== X-Gm-Message-State: AA+aEWYXNk4MyOF1SCCxYtvnYr1FcuGbCMCPXrKAyvLsoLBCbAY1I4C7 OBYUrMHenmSNLAGJZ/feod91Og== X-Google-Smtp-Source: AFSGD/XcTh+i9kOd+GaV+Vgnk6kzn//dXHYSavPhihgQprRSECGw/x17G2eYjMlUkQflEAQ88DGMww== 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181228_025136_043919_F04CB89B X-CRM114-Status: GOOD ( 10.44 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Kevin Hilman , Loys Ollivier , linux-kernel@vger.kernel.org, Rob Herring , linux-amlogic@lists.infradead.org MIME-Version: 1.0 Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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 };