Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6041831imu; Wed, 30 Jan 2019 07:50:58 -0800 (PST) X-Google-Smtp-Source: ALg8bN7SzkiDEavATaCMA04GPFXBqiT5i0VgAbSUrBxzvKiQuVrXtsrPP0F3Zio9C58orJMo8930 X-Received: by 2002:a63:8742:: with SMTP id i63mr27756910pge.298.1548863458776; Wed, 30 Jan 2019 07:50:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548863458; cv=none; d=google.com; s=arc-20160816; b=jWH/wSUO3ohp5ld1vqYOqo8pXRvi6SBzie+5W2d0xj0OAqMXBkzNhxv1eR7OPF0HJe SxkEf6OVg5ZdBIMeXJMjZ3eZYeijklWn+fP8lsVq+XXAHQgrZVo63Q907IdJUYux2q9E 0iWNXSf9W6lXmvCLmKQDgTwDgoivyMzbJFz7fkpkfeN43CNx6BxU3rEhI5d29u4pcoJt OKWnbkkPOaxRkFDeM+ESbRIwaxCvXUmB9/ohhBTh2UGzA5oiecBy3w/MAmHwKCa/Vb0V mv/h/BqLqUhNfuutkN+Bs9AfMZSUpmDfxmSahSf5EKI/EpSCRBkDnr7icQwueKIs730J xKaQ== 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=P2qq8+E4g/m+cCmMeaSfpaPEUpdAovlDLmemICtL6O4=; b=bSTr366Wu9ckzuTC4Vfetw9/8AmCQGHEaO5IdXZB/DIiovQDSvqeQaUPcwxS4iqXUo tuaDz6paEHvzhx4eg9FynQezo7ImP9zLzDWkwsxqfJMDyWUfRu/4gdqaAzpLPL1vlCx2 7+DwH92bMZW7qcuNHcz+8qTlJlsZD25xfC8/m312k+kef1Ga4PQCqVbZFlMPlCkKIKER IGE/nqo5ysiNv8nhn3hrPmEXZNHZBZs+KyXOi7W/eM5HlxqRTlQwHNGDj7AC0CHgwndD oHX5Iuwb/Pq+YhAxpsh8CzSWjrEd4uR+6dy+3t0rcDtUEs8z8bh2dVcBFAqi0ygcc3s1 7+kg== 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 82si1859227pfa.115.2019.01.30.07.50.42; Wed, 30 Jan 2019 07:50:58 -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 S1731612AbfA3PuT (ORCPT + 99 others); Wed, 30 Jan 2019 10:50:19 -0500 Received: from mail-oi1-f196.google.com ([209.85.167.196]:43219 "EHLO mail-oi1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728943AbfA3PuT (ORCPT ); Wed, 30 Jan 2019 10:50:19 -0500 Received: by mail-oi1-f196.google.com with SMTP id u18so19547569oie.10; Wed, 30 Jan 2019 07:50:18 -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=P2qq8+E4g/m+cCmMeaSfpaPEUpdAovlDLmemICtL6O4=; b=q0nUslTyT5ZV9gGtv4qtB087U72h2Xu+hjxLWnmbJ9+ClkgxVAYqDx+R55aeh9/1Bk RmwKPtSpU90B/02eFCzPBwgSrp4g7YS228P5cO6Wpz/MCOER/IW1UYfzpN2nKo+Rcbd1 X7DCz5I1vpO9qHFhB7Dn5/PCIGHiydbfIPhX92JSNdOF4O3W6zkjVeYnitae2rKIVDfp Fkn9Ob1eZJfHfNhXeOvg70co6Zuc6I+u8eJtvyN7rljQvpgBlaA/7fHxAN104SZk4lD5 cINGiH5y6Woa0pYEZsQ/OI7HIwyqEZzyZ9CX1D1HvVFDqN7UrRQX/YKYNmgq0kyS6nPr Ly3A== X-Gm-Message-State: AJcUukfa/AnoUbH0UJoxpKz6sQ8o0P6IO1DpWrxAnQoNOZr4Un+GRr3w 5x2J8MxbgV1B68gPS6J6Mw== X-Received: by 2002:aca:ba02:: with SMTP id k2mr13254932oif.177.1548863417913; Wed, 30 Jan 2019 07:50:17 -0800 (PST) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id t201sm751720oie.37.2019.01.30.07.50.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 30 Jan 2019 07:50:17 -0800 (PST) Date: Wed, 30 Jan 2019 09:50:16 -0600 From: Rob Herring To: Loys Ollivier Cc: devicetree@vger.kernel.org, Johan Hovold , 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: <20190130155016.GA26536@bogus> References: <1548693481-1162-1-git-send-email-lollivier@baylibre.com> <1548693481-1162-3-git-send-email-lollivier@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1548693481-1162-3-git-send-email-lollivier@baylibre.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > --- > > 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..00650d81c5c8 > --- /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 an 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: > + > +- gtop,reset-gpios : GPIO used to reset the device > + (pin name: RESET, NRESET) reset-gpios is the standard name. > +- gtop,fix-gpios : GPIO used to determine device position fix state > + (pin name: FIX, 3D_FIX) > +- timepulse-gpios : Time pulse GPIO (pin name: PPS1, 1PPS) > +- v-bckp-supply : Backup voltage regulator > + (pin name: VBAT, VBACKUP) > +- current-speed : Default UART baud rate > + > +Example: > + > +serial@1234 { > + compatible = "ns16550a"; > + > + gnss { > + compatible = "globaltop,pa6h"; > + vcc-supply = <&vcc_3v3>; > + }; > +}; > -- > 2.7.4 >