Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp321936imm; Fri, 1 Jun 2018 01:16:48 -0700 (PDT) X-Google-Smtp-Source: ADUXVKI2/zKUOevdX6enhFRQsB5VREI0Qi3jN2c0pgPWSi7Oj+sINdugYZj23DME59rbsL6Ms65u X-Received: by 2002:a62:cd45:: with SMTP id o66-v6mr9963291pfg.250.1527841008117; Fri, 01 Jun 2018 01:16:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527841008; cv=none; d=google.com; s=arc-20160816; b=I03Rnil8lUlEWlFqYsUx1yydYVx6s+Qki23ow09+xLLaohpwXdFzMrbYKKV1CeXLUC ZAtcnp2nKmcBtMHxtW6K5SzeS8lxi/9/umw7IbKbxME6KuJ/d5/fOaY4CFno65AVpYcb 19cor25BA3HLxxrRHMORSUcC4r7lXwpCnORBEcg6QtnEcESREtl1rNyOq9o9cZwg2evH H7P8jtOPcSF5KFR0ZvsgRa7xjSMwH2sFP3SzRmNRpBUmD4JROYDqIip+LR/Ak+RmjE8/ lXAFuoeXXGKdwFJNeSAAO/1dMTlCvV9vcMQhKNvbwy2eKF421D5of1qC/KyJkrXW8p7t MuNQ== 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:dkim-signature:arc-authentication-results; bh=imTzCvz3nKa7fkAorS7GYKG0jeZsd66pZrOxaOUkX9Q=; b=GKlVzMCIYguUafrzCnQFmlayR/IfoSBVPkiK9iptAFSZNREp53ovnbYoYEi6QazFrV MBnZvYSXA2G/hGCTSLFf7ybTqpESvlt07+ILpsth8U1PxaJySSsh0BV6+LyajNiQudTa qnZIudsgYaHIDjv+7KaG985c6wsSupSeijjqjsycbKVO0Pbk7ruiHKg1gHfNPO2dxCR5 pbvQWbYdaYg/d0Q/DL/qVT6X49SD7xPhLukIAMX0mdNd0k8CgFJRuWmShpieSJNwqUL9 UxMhZirunASOWnN0+giJ8M5OOzEokyZ2ZnRV33EZwLeGvOvbfh4SY2polKBAmihje9pc JiyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=lYpUCKYU; 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 b65-v6si16228416pgc.139.2018.06.01.01.16.31; Fri, 01 Jun 2018 01:16:48 -0700 (PDT) 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=fail header.i=@gmail.com header.s=20161025 header.b=lYpUCKYU; 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 S1751230AbeFAIQB (ORCPT + 99 others); Fri, 1 Jun 2018 04:16:01 -0400 Received: from mail-lf0-f68.google.com ([209.85.215.68]:47035 "EHLO mail-lf0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750987AbeFAIP5 (ORCPT ); Fri, 1 Jun 2018 04:15:57 -0400 Received: by mail-lf0-f68.google.com with SMTP id j13-v6so9124860lfb.13; Fri, 01 Jun 2018 01:15:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=imTzCvz3nKa7fkAorS7GYKG0jeZsd66pZrOxaOUkX9Q=; b=lYpUCKYUUUeUK9lnuww3scS6qkN+JED0z3sWDQ/rXg6ebTS92Y6Pj+Z3FbIxPVozB+ hG1lYiqFNjSjAmZXkp/rvC8PfMSLky5ctdkdQgCGlWW/W9V1XhnXmfKzvwF9CSgSXoQE tj1XAsNdMCf6oYGuTVh4c6j3xZOe1QEn6v6V30N1NruvK1QAyq2ct9PpSuNnWbp0PtKP X5k0N/LtYaTzsDpKXLShtHJLRU64lQrT07vVlHT82KmM8CxOt2npKWbFnond/099RlAe PG7FM/IxrbpEa3xw7L/txc40KvHCTt27gxG44kWPYUn8PKeKH1m2yhp4gvic+x+X3zb1 mVYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=imTzCvz3nKa7fkAorS7GYKG0jeZsd66pZrOxaOUkX9Q=; b=J+Nk5auOANzw5yY8kHpmX0Mr38Cb1Vjd0iKCTpajXJtBS6cWJLqAuwB8ZzehAmWyoA mWB6u71lzcQU7tALJ5ZAGh7GAu2XBdhot5asg1eUBovC/VpDOcqDhh1ffQe2r05XYQ5a 36AGCpLQ7oVaq299dbYH6Uqxc+5P3fN9H+3ToXTkrTHB1Nr7qtdyTIH2850rx2PSby/f mY7HekCwJDjFmps1YmY56O7u4woSo6vz/2X1kEllCt015/HqCgUvnt53zQZud/DpC804 Pvlu3pzrEypqo1nxvO4vF7UH4FBW55z/T/UJp256+sKDQqJXvTyjkDvnYiPs3WkWU8wK g89Q== X-Gm-Message-State: ALKqPwcN4bdqZK29Bm3gFFOcoxl6PtQTW/CIP/IMjZyIM1TLsgUje7px u0IHqzdcKLVhPYK8k2HQIwE= X-Received: by 2002:a19:d245:: with SMTP id j66-v6mr6530263lfg.139.1527840955905; Fri, 01 Jun 2018 01:15:55 -0700 (PDT) Received: from xi.terra (c-8bb2e655.07-184-6d6c6d4.bbcust.telenor.se. [85.230.178.139]) by smtp.gmail.com with ESMTPSA id t9-v6sm7991919ljh.66.2018.06.01.01.15.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Jun 2018 01:15:55 -0700 (PDT) Received: from johan by xi.terra with local (Exim 4.90_1) (envelope-from ) id 1fOfDw-0004TW-ND; Fri, 01 Jun 2018 10:15:49 +0200 Date: Fri, 1 Jun 2018 10:15:48 +0200 From: Johan Hovold To: Rob Herring Cc: Johan Hovold , Greg Kroah-Hartman , Mark Rutland , Andreas Kemnade , Arnd Bergmann , "H . Nikolaus Schaller" , Pavel Machek , Marcel Holtmann , Sebastian Reichel , Tony Lindgren , "linux-kernel@vger.kernel.org" , devicetree@vger.kernel.org Subject: Re: [PATCH v2 4/8] dt-bindings: gnss: add u-blox binding Message-ID: <20180601081548.GN3259@localhost> References: <20180530103242.20773-1-johan@kernel.org> <20180530103242.20773-5-johan@kernel.org> <20180531035805.GA16906@rob-hp-laptop> <20180531082241.GD3259@localhost> <20180531143428.GK3259@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 31, 2018 at 10:58:59AM -0500, Rob Herring wrote: > On Thu, May 31, 2018 at 9:34 AM, Johan Hovold wrote: > > On Thu, May 31, 2018 at 08:55:10AM -0500, Rob Herring wrote: > >> On Thu, May 31, 2018 at 3:22 AM, Johan Hovold wrote: > >> > On Wed, May 30, 2018 at 10:58:05PM -0500, Rob Herring wrote: > >> >> On Wed, May 30, 2018 at 12:32:38PM +0200, Johan Hovold wrote: > >> >> > Add binding for u-blox GNSS receivers. > >> >> > +Optional properties: > >> >> > + > >> >> > +- timepulse-gpios : Time pulse GPIO > >> >> > +- u-blox,extint-gpios : External interrupt GPIO > >> >> > >> >> This should be interrupts property instead of a gpio. > >> > > >> > Contrary to what the name may suggest, this pin is actually an input > >> > which can be used to control active power or to provide time or > >> > frequency aiding data to the receiver (see section 1.13 in [1]). > >> > > >> > I only added it for completeness as the driver does not use it > >> > currently. Remove, leave as is, or add "input" to the description as in: > >> > > >> > - u-blox,extint-gpios : External interrupt input GPIO > >> > >> Yes. You should also define the active level. > > > > The active level appears to be runtime configurable and dependent on the > > selected function. For power control it can be used to control force-on > > (active high), force-off (active low) or both; and for time aiding > > sampling on falling or rising edge is also configurable. And who knows > > what else this pin is used for next time they update the firmware. ;) > > Okay. > > > Shall I remove the property, or just add "input" as suggested above? > > Just add "input". I ended up rewording this as u-blox,extint-gpios : GPIO connected to the "external interrupt" input pin to avoid any confusion about the direction of the GPIO. Thanks, Johan