Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp352844imm; Thu, 31 May 2018 01:23:38 -0700 (PDT) X-Google-Smtp-Source: ADUXVKL8Rh2wTR+MYMLCGnS4S4hrWU4UkDTVj7069nvlGjxKZ2BTUmxEKEjnKwDuMTLsg6nOVvyy X-Received: by 2002:a65:4107:: with SMTP id w7-v6mr4664062pgp.90.1527755018941; Thu, 31 May 2018 01:23:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527755018; cv=none; d=google.com; s=arc-20160816; b=JeNiqulwUHmN/rp/lYY1QbG8TKqbgKPmy7uz4cNaSyfIGk+o8dHEX8+g9KcXfWIXlZ 7jsznBaQhi6bFwvb7pIaD0b7ZDRrqE4XpC1VEQatPfVl5NNKKMbLx21zbmgUMrXscyNh vOlL8M3Rjxug6cQLFZZfzBLygVHXLokuVcAZiES0bSMU33fOGvosNVhvdL5P2Lf8CTyP bwd1rC/GJ5SsS1tRr/t37ELyXRxQidxDO7kg+9Ve6JQqXIspJ8smJVnfsl9qtFpZ5Fvn JHKB/7tLb/ad1rza4x308HOs4/Lwyiz3uCzks/Ktds+yxewDBLzu3ucOusXJNW78DLrA YDSw== 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=gPEPK1qgEN5GnQJPypwSJbUJxDmTZZalxHMPXRR4MT8=; b=ozMdm/+TlzSpSTFqg8N+KXAr0ie1ZdxaPM0PwjUqKUdUU82teEgk5vORBJNMpb05FB tlg9g7IBZ5NWQGkIKXJz+ULDGFEXCjvZk6wKQMFB95ctLVgildAEcUZJa8n/g7pUVXXQ PB9fsKFvbIoyzTfe+aMHQU9e6kpx2/gfZctB4NE6zwxaUHNUpPcD1LrZJ1n0/6C91FZK 2+qkpr/zZj5VrdS+QdA5zrZl7FCYB+DpQpymPylcUlA7x4fgXVjMSQD5bFvHgSD8k43h nBHG/IeymTeukAGKvaCJ4RB+3LVyjH5aBT9uqIBGQyv460re+ucT9Sh2pRshIAyj1c5r 30EQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=VJOfRaTV; 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 b66-v6si13455551pgc.319.2018.05.31.01.23.24; Thu, 31 May 2018 01:23:38 -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=VJOfRaTV; 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 S1754046AbeEaIWz (ORCPT + 99 others); Thu, 31 May 2018 04:22:55 -0400 Received: from mail-lf0-f68.google.com ([209.85.215.68]:38799 "EHLO mail-lf0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753957AbeEaIWr (ORCPT ); Thu, 31 May 2018 04:22:47 -0400 Received: by mail-lf0-f68.google.com with SMTP id z142-v6so8427805lff.5; Thu, 31 May 2018 01:22:46 -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=gPEPK1qgEN5GnQJPypwSJbUJxDmTZZalxHMPXRR4MT8=; b=VJOfRaTVTRUHa40sbegxJppdmi4J2pVhw2fj6ghjWDP9VPata5ollUep/uULTzLnvD TEHpSW2kwLCgU8uTpONfpPlhoGR2fpKEHXkuUx1Z+0DnBszsNdgpBddhu7T+/a5oHLiK SDxBTHeFjr++yhVzWmdDgYAyqLJKeTXOWwoBlTBQ49zbARp+IqESXIJtJ4AR3tSRG1Qf 0HCzHMXBOLL4u/nkGEiZBFBAszc3OE8Fk9v/H4CSkax9sX/cRbVYYgbiDUq5pi47ZiKN l50VIZHiMDFXob3xi3vrtsc9c5KVF1sZIG3lMKbB+iNDl6+8a7qqZ3ubXQyxfAp5/L6D iwuA== 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=gPEPK1qgEN5GnQJPypwSJbUJxDmTZZalxHMPXRR4MT8=; b=JXHTEwBT6XpH3szHpFTt/7X9K3RZgVlNquKD8lblL6MMfXY3ojxa7tpRJ5lm7SvsXE 17R/ufyTU7m/l1woLVpWZCpyu5B/ZVBfmyYWcNbORLZm0PKdyptybEBBsn6ji33fIYHH PVn9+q+6hlYjfwKGlOthe+m+eJAHFjDPuZ8Y+/7dLA4q1uywbLEYbOgghJBNo0tWGJ4q PJGerw4b5mF2mgwG50UqF+JrjwNOgRKiAup+xrE9tdwba5d4G9vjKqjx0f7R5DMiFMr4 9pxB7hovB1BIUztLvI5KsrnauCc44NrI7b+gWE/EaSwATzRydo5r90UAm0b4O6I2zJxa /qfg== X-Gm-Message-State: ALKqPwdLBJREk7N98XSwpi/Wsp5CBrx7unP9haZWVRK5En7KQGdPrzGl lu5Pp/RfalNktbUlrZ6G57vaipqQ X-Received: by 2002:a19:949d:: with SMTP id o29-v6mr3949667lfk.56.1527754966041; Thu, 31 May 2018 01:22:46 -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 r15-v6sm7520448ljh.6.2018.05.31.01.22.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 31 May 2018 01:22:45 -0700 (PDT) Received: from johan by xi.terra with local (Exim 4.90_1) (envelope-from ) id 1fOIr3-0006sf-Rg; Thu, 31 May 2018 10:22:41 +0200 Date: Thu, 31 May 2018 10:22:41 +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: <20180531082241.GD3259@localhost> References: <20180530103242.20773-1-johan@kernel.org> <20180530103242.20773-5-johan@kernel.org> <20180531035805.GA16906@rob-hp-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180531035805.GA16906@rob-hp-laptop> 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 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. > > > > Note that the u-blox product names encodes form factor (e.g. "neo"), > > chipset (e.g. "8") and variant (e.g. "q"), but that only formfactor and > > chipset is used for the compatible strings (for now). > > > > Signed-off-by: Johan Hovold > > --- > > .../devicetree/bindings/gnss/u-blox.txt | 44 +++++++++++++++++++ > > .../devicetree/bindings/vendor-prefixes.txt | 1 + > > 2 files changed, 45 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/gnss/u-blox.txt > > > > diff --git a/Documentation/devicetree/bindings/gnss/u-blox.txt b/Documentation/devicetree/bindings/gnss/u-blox.txt > > new file mode 100644 > > index 000000000000..caef9ace0b0c > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/gnss/u-blox.txt > > @@ -0,0 +1,44 @@ > > +u-blox GNSS Receiver DT binding > > + > > +The u-blox GNSS receivers can use UART, DDC (I2C), SPI and USB interfaces. > > + > > +Please see Documentation/devicetree/bindings/gnss/gnss.txt for generic > > +properties. > > + > > +Required properties: > > + > > +- compatible : Must be one of > > mixture of space and tab here. Oops. Same single space character before the tab here in all three binding docs (and in the in-tree slave_devices.txt which I think I used as a template). Do you want me to fix this even if this turns out to be the only thing that needs to be addressed in a v3? > > + > > + "u-blox,neo-8" > > + "u-blox,neo-m8" > > + > > +- vcc-supply : Main voltage regulator > > + > > +Required properties (DDC): > > +- reg : DDC (I2C) slave address > > + > > +Required properties (SPI): > > +- reg : SPI chip select address > > + > > +Required properties (USB): > > +- reg : Number of the USB hub port or the USB host-controller port > > + to which this device is attached > > + > > +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 perhaps? Thanks, Johan [1] https://www.u-blox.com/sites/default/files/NEO-8Q_DataSheet_%28UBX-15031913%29.pdf