Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp109009imj; Wed, 13 Feb 2019 05:32:53 -0800 (PST) X-Google-Smtp-Source: AHgI3IZ04t82W4rpiEcaDNiFkbGCH9h3kkS7Ut9CHZGAOjmc9+Fk77eJsW+3Ik4iecauphIAKwAm X-Received: by 2002:a17:902:7204:: with SMTP id ba4mr598349plb.186.1550064773261; Wed, 13 Feb 2019 05:32:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550064773; cv=none; d=google.com; s=arc-20160816; b=CMu9Z2Mb2EWsCitwrRBhK+NUE5ERgbILQOElYlah7MDgmTIdi1HqbFXfXa+lBNAjFM QlZNhwQm8nrI/VoMMWq0deefdTHR+XuxW8kag601seaMgQQ0jitgvJw3F7Hx8gv9KUMU XrQVQ8zHxSFGPnHdm1VOZKN72usPtYGHq8uR2tQsIq7Zqg+bmwu/rBmad8Z4ygTs3drk hJ+Z3drEOGZI6W+Jq5DFtKcCktHc2zjLNqgwHQk9V1SYRTyQRdBoSIEVakME2vuGts97 LI1ehzxCAKi/56enZXOc5qO5b5WHUY5+ssf4hqYoKnMGSMhj1/UNWJNn/LgfCM2sx3gp i85Q== 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=zahirVm0TD8tFdJrSdrC51Xnvqieohwgze4d7k+/G7Q=; b=oe0nDVKKefGRzSn9VJAfT4jldNaCrXM1KDhZydkK/lf3mskKBUDORNvJcKchaedWPl h2lVAZwrvKnaRvUmDLT06vM2XvhgCiPiApOYmq7vw/T32QPT9eaB7qukkMtulnbzHnXb L8xi683CGMRTLzBnjJsQAljDCuYwOVYtbi98Ozp+1jMl2WIrYImKC3hQh3Oyu4wLj+XI lbyiOy6kPqgOtZC2KaXlnLNiJ218mNwTRiC7SLcLUtOBcje+TjwrSfRh42jtY9VfOk1h bR6DjkKhcmBrKoaLMQag5HtpLVXTq/W0QNQfW2JLD/Yk7GSksw9MgaPwf/XnZdspUfH5 A93Q== 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 123si16511614pfx.109.2019.02.13.05.32.35; Wed, 13 Feb 2019 05:32:53 -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 S1730094AbfBMJef (ORCPT + 99 others); Wed, 13 Feb 2019 04:34:35 -0500 Received: from mail-lj1-f196.google.com ([209.85.208.196]:40104 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726342AbfBMJef (ORCPT ); Wed, 13 Feb 2019 04:34:35 -0500 Received: by mail-lj1-f196.google.com with SMTP id z25-v6so1389820ljk.7; Wed, 13 Feb 2019 01:34:33 -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=zahirVm0TD8tFdJrSdrC51Xnvqieohwgze4d7k+/G7Q=; b=WKFYCFVLQ6wf2I/Y0sQ7RHoYg2sbAbaUGpo5vgEVYfXI7JLbf50ojayraJAHLGWaO3 IFI6IXm6clpkKZqYjGfd+KgxXTQJVQS5cxWSjiYYqp3pOgudsI57DnQcIi5ww0uMHCqr ixp8NAWyvZa6x5qo20WEAlm6ljOF5ngHdNiad6v1FSDk7VvEmTepyMV/Lr1EAVjfxEPd 7WdfPJvfdnFVL41LvkYIhLHve2UTORHMVYfeRfMJy3ZvbfK6KMxrD2Xw4Z1Ejs4vv0V1 9BBpecgg0ZhvyCWleqIjHA3ul5J2Q0z4ON+PiRAVHOFzAt6Yilm2XbPnis0TT/oTqYNt kslg== X-Gm-Message-State: AHQUAub6T5IEt2M4QCLYiwF+rSsRyaj1ORU0L39RJxLNe2FCK0AylHco /XApMQKbH0yu3Z90YWsqOQI= X-Received: by 2002:a2e:8446:: with SMTP id u6-v6mr5076658ljh.74.1550050472709; Wed, 13 Feb 2019 01:34:32 -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 q3sm3643252lfj.50.2019.02.13.01.34.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Feb 2019 01:34:31 -0800 (PST) Received: from johan by xi.terra with local (Exim 4.91) (envelope-from ) id 1gtqvx-0007j6-8w; Wed, 13 Feb 2019 10:34:25 +0100 Date: Wed, 13 Feb 2019 10:34:25 +0100 From: Johan Hovold To: Loys Ollivier Cc: Johan Hovold , Rob Herring , devicetree@vger.kernel.org, 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 v3 2/4] dt-bindings: gnss: add mediatek binding Message-ID: <20190213093425.GH28278@localhost> References: <1548693481-1162-1-git-send-email-lollivier@baylibre.com> <1548693481-1162-3-git-send-email-lollivier@baylibre.com> <20190130155016.GA26536@bogus> <20190211092251.GV4686@localhost> <86o97iv2px.fsf@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <86o97iv2px.fsf@baylibre.com> User-Agent: Mutt/1.11.3 (2019-02-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 11, 2019 at 03:06:50PM +0100, Loys Ollivier wrote: > > On Mon 11 Feb 2019 at 09:22, Johan Hovold wrote: > > > On Wed, Jan 30, 2019 at 09:50:16AM -0600, Rob Herring wrote: > >> On Mon, Jan 28, 2019 at 05:37:59PM +0100, Loys Ollivier wrote: > >> > Add binding for Mediatek-based GNSS receivers. > >> > > >> > Signed-off-by: Loys Ollivier > >> reset-gpios is the standard name. > >> > >> > +- gtop,fix-gpios : GPIO used to determine device position fix state > >> > + (pin name: FIX, 3D_FIX) > > > > I'm thinking we might need a standard name for fix-gpios as well. This > > isn't a feature that is globaltop (or mediatek) specific, and other > > manufacturers provide similar functionality through pins named UI_FIX, > > or even LCKIND (lock indicator). > > > > The pin is typically used to drive an indicator LED AFAIU, but the > > characteristics of the signal varies from device to device (fw to fw), > > for example, pulse when no lock and low otherwise, or pulse when a 2d or > > 3d-fix is acquired, etc. > > > > Yes most GNSS recevivers provide a similar feature even if behavior of > the line differs. > > > I'm not sure how useful the pulsing would be for software, but someone > > might find a use for it in some form. > > > > Well it is useful to know when you start acquiring "valid" positionning > data. I'm using this as a trigger to start recording position. Sure, but a non-pulsing signal might have been easier to deal with if it was meant to be used by software. > > Rob, is this something we want to keep in the binding, and if so, how > > about using a generic name such as "gnss-fix-gpios"? > > Name "gnss-fix-gpios" sounds good to me. Let's go with that then. Johan