Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp907326imj; Fri, 15 Feb 2019 08:45:17 -0800 (PST) X-Google-Smtp-Source: AHgI3IZToHxO/z2gjWwPcwmeIYQTP6g/gtPb0yQ7UEUEwoFNs8DR6wdOgXGc5lHxs9T9szpJ8JA9 X-Received: by 2002:a65:4781:: with SMTP id e1mr10059668pgs.346.1550249117237; Fri, 15 Feb 2019 08:45:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550249117; cv=none; d=google.com; s=arc-20160816; b=I4WNHK6u3CxhsNPTFytiLwwm8hTgTGVK+epwn0ZzhbAzDBKSxHM66seVuB8zysZxur SRLKDd+B8NoYlOEvvMHFKEA7zWKAv8wX/OEZA25U7K2ZZqr53pkXMDs0dWZvR4haUQRK VbOTex66Ssbguc9r6rpwo2+VYCJdWWspuu7vAavesxv76jjYnkfbvH3ejQVCzm4KJPjb PiNtW5HEEYEA4RlR/CNWeAtjbBic1WYNJkR4F5ymlUYjf3yguZXSOAFAc++5aVWy8sF0 JZf1gCNhG0hPT0RlOlhQGJI5G7TWJbwp/WhzNNXqQRWIW+G7vQVhtUGmKV/Qdj0LUIsU M0MQ== 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=pvVSU+OeBtnbLINS2fqQeebEh/Lf+PMY28nuMnUdYR0=; b=hJ4LcsUvBB18YhCwyDixHPwj/+8hDH5Yrrbf24V84CpS/1y7h9pRL+mS/j3/ks1Mu4 L6A7XIJ9xGobYG2zywcJ69ARFrEX+oDHRG/xtH6/wGfV4wKj8i+lR48SvNYiGbwqm5W1 Vu3+Q3L31kSrXfgemA/SXeGmWe+VPBdH6uBuhITyZBOJSaVj1Dd8JL+0y3negtt62h2X wVyOD91y2m3U8nDAybz8bFALpP025piCYo/e8kNpl06ATrzhWyvkNrEZ5PhEAnokEBpx fpVQPtkqMPtBqfz9RTzdocvfddD4msYE3ZtweZO/vaWcdNwjqrsru9Y0QAgnDhDqDLfc R2Ew== 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 g13si5576481pgm.316.2019.02.15.08.45.00; Fri, 15 Feb 2019 08:45:17 -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 S2391269AbfBOQFI (ORCPT + 99 others); Fri, 15 Feb 2019 11:05:08 -0500 Received: from mail-lf1-f66.google.com ([209.85.167.66]:33881 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726303AbfBOQFI (ORCPT ); Fri, 15 Feb 2019 11:05:08 -0500 Received: by mail-lf1-f66.google.com with SMTP id u21so7587446lfu.1; Fri, 15 Feb 2019 08:05:06 -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=pvVSU+OeBtnbLINS2fqQeebEh/Lf+PMY28nuMnUdYR0=; b=HjFdjm0LEyAZAXI4ov+HIXAk3LhoLRBwsRG4ZtpY3T2Gmr0ItCkTK23ZU7Vlat4yLf uHziAkv0238E2PNZyj2iiHLSOar6LLSGE3saYbR2fDSnZtOP5s2nwgdZUt01z5Bh6A49 tqOBbLn9PpgZlXd+1ILF+zWdUJHzcP/K40moo+OwvqX0itO1/SA7w9FjmN+r2cFbTAHs zV9+j2gvuSEZPYlB6kilbbK4zMPtiVXUHSKN0ixOH7TJPvaGrLVhLg2z2mMf79Ont4+4 UvkJfjG4/tF3GBozvlCMb79Z27p90d3Pc72NGxS7ck763gmaNz8d50OX5kwOFLb7uDnr Cq2Q== X-Gm-Message-State: AHQUAuaH4gti/KauAPS2wZPcNz3IgK2IRH+MoNSaXtHIFRQkIXE1HQGK PQyv3gu/wSvAnhidIA/YIiI= X-Received: by 2002:a19:5611:: with SMTP id k17mr5705165lfb.168.1550246705884; Fri, 15 Feb 2019 08:05:05 -0800 (PST) Received: from xi.terra ([85.230.190.116]) by smtp.gmail.com with ESMTPSA id f10-v6sm1298296ljc.31.2019.02.15.08.05.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 Feb 2019 08:05:04 -0800 (PST) Received: from johan by xi.terra with local (Exim 4.91) (envelope-from ) id 1gufyz-0000qc-Eh; Fri, 15 Feb 2019 17:04:57 +0100 Date: Fri, 15 Feb 2019 17:04:57 +0100 From: Johan Hovold To: Loys Ollivier Cc: devicetree@vger.kernel.org, Johan Hovold , Rob Herring , 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 v4 2/4] dt-bindings: gnss: add mediatek binding Message-ID: <20190215160457.GO28278@localhost> References: <1550070569-18588-1-git-send-email-lollivier@baylibre.com> <1550070569-18588-3-git-send-email-lollivier@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1550070569-18588-3-git-send-email-lollivier@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 Wed, Feb 13, 2019 at 04:09:27PM +0100, Loys Ollivier wrote: > Add binding for Mediatek-based GNSS receivers. > > Signed-off-by: Loys Ollivier > --- > v4: > Use standard names for reset-gpios and gnss-fix-gpios > s/an/a UART > > v3: > Removed the I2C and SPI interfaces references. > Removed the "mediatek,mt3339" compatible line. > Added the optional propertied (reset, fix) > Added the pin names for the optional properties. > > v2: > Renamed bindings from Globaltop/gtop to Mediatek/mtk. > Moved current-speed as an optional propertie. > Removed the status line in the example. > Added "mediatek,mt3339" compatible. > > .../devicetree/bindings/gnss/mediatek.txt | 37 ++++++++++++++++++++++ > 1 file changed, 37 insertions(+) > create mode 100644 Documentation/devicetree/bindings/gnss/mediatek.txt > > diff --git a/Documentation/devicetree/bindings/gnss/mediatek.txt b/Documentation/devicetree/bindings/gnss/mediatek.txt > new file mode 100644 > index 000000000000..12283d429baa > --- /dev/null > +++ b/Documentation/devicetree/bindings/gnss/mediatek.txt > @@ -0,0 +1,37 @@ > +Mediatek-based GNSS Receiver DT binding > + > +Mediatek chipsets are used in GNSS-receiver modules produced by several > +vendors and can use a UART interface. > + > +Please see Documentation/devicetree/bindings/gnss/gnss.txt for generic > +properties. > + > +Required properties: > + > +- compatible : Must be > + > + "globaltop,pa6h" > + > +- vcc-supply : Main voltage regulator (pin name: VCC) > + > +Optional properties: > + > +- current-speed : Default UART baud rate > +- gnss-fix-gpios : GPIO used to determine device position fix state > + (pin name: FIX, 3D_FIX) > +- reset-gpios : GPIO used to reset the device > + (pin name: RESET, NRESET) > +- timepulse-gpios : Time pulse GPIO (pin name: PPS1, 1PPS) > +- v-bckp-supply : Backup voltage regulator > + (pin name: VBAT, VBACKUP) As we discussed, I changed this to "vbackup-supply" (here and in the driver) before applying. Note that git reported some whitespace errors above too (spaces before tabs) that I fixed up. Not sure why checkpatch doesn't complain. All now applied. Thanks, Johan