Received: by 10.192.165.148 with SMTP id m20csp1033755imm; Wed, 25 Apr 2018 11:28:27 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+bcbZDn1AE6THIwIaGld/3jUJKSDnil5ebPrD+VkhW5zeVv2fAT//iwGX0Uvqi74cSO8QF X-Received: by 2002:a17:902:8a82:: with SMTP id p2-v6mr30449581plo.91.1524680907394; Wed, 25 Apr 2018 11:28:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524680907; cv=none; d=google.com; s=arc-20160816; b=vfvMYHZH2JjepzyJORO2WvQs0wbCyn35BOxJb/chICjD3GEySiuTlXkP/gGM9c23Dd 1pVgxIwfTgPcK2N4Ty9SP6fPTsqwQf2oEx6jmtVeWhRMmb3iet4iutMmppdfVYAeQ7Pk 2s+9l+NhDJ7sXtHkz+8+63c9p7yVBnq/YxhZCHVoV+1gMn8Jgkl5/I54kfLNADAqG2+m /S21LmD91Y4jhq2bddM0LIimettB16NNoXtdwWH5ay0mhH1gsutLL/ea+sTnxoi5d88U yKVN6TPd9LgOfzFunPrSk1257pax8DeU12acI8XD3D70IE3s+ByjlUOzn8cRRzSYqw1u 8txA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dmarc-filter :arc-authentication-results; bh=HbgTeYZMgT1BW2NyQfYOK1Y6Lppxa8rGpM0NMIMhZKg=; b=hN4iLJ7TGjif9Nxg63qUiKt/3KpZgtITckyWj6eXlCFz+tQgjBaujXqOuNgs07bJ/p qS63zbeDVIrSYGireOwT43v7fPQbrtCdZyVzkNllgjblQWh7mmcNU9eiDIe+oHQJaHAT YxzPNBciNM8jQDNoBhfsfJoElAb2UjT2BAHwVtG2wcnFFSzMGMMv3negeiIW/FaFZakd VTd51d/6c1wzk1TJy5VQONi3wyjVG+hCLg+lRfbWfb5eKTyuVID/C0UYMwVAiWrMc2VR u0Eq/fqnNJUhvvqm+LEio1mrEZBAkDQ+iPQ32IYuNVrk3QAaCR5P5luRXtAMAF4K98Hc 1+1A== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r129si16497831pfc.202.2018.04.25.11.28.13; Wed, 25 Apr 2018 11:28:27 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756454AbeDYSZw (ORCPT + 99 others); Wed, 25 Apr 2018 14:25:52 -0400 Received: from mail.kernel.org ([198.145.29.99]:36630 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756395AbeDYSZs (ORCPT ); Wed, 25 Apr 2018 14:25:48 -0400 Received: from mail-qt0-f174.google.com (mail-qt0-f174.google.com [209.85.216.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B1A5A21838; Wed, 25 Apr 2018 18:25:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B1A5A21838 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=robh+dt@kernel.org Received: by mail-qt0-f174.google.com with SMTP id d3-v6so6060611qtp.11; Wed, 25 Apr 2018 11:25:47 -0700 (PDT) X-Gm-Message-State: ALQs6tBjg0dEAcvOlgPPsnHBVNLlIyclBnXP6O8DrJfPb8z+KO7K9dZM q7h3JQHvUMCxUeKZA1Abz3mMmQ/lpxEjAe+qRQ== X-Received: by 10.12.174.200 with SMTP id n8mr9138841qvd.81.1524680746831; Wed, 25 Apr 2018 11:25:46 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.163.228 with HTTP; Wed, 25 Apr 2018 11:25:26 -0700 (PDT) In-Reply-To: <20180424163458.11947-7-johan@kernel.org> References: <20180424163458.11947-1-johan@kernel.org> <20180424163458.11947-7-johan@kernel.org> From: Rob Herring Date: Wed, 25 Apr 2018 13:25:26 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 6/7] dt-bindings: gnss: add sirfstar binding To: Johan Hovold Cc: Greg Kroah-Hartman , Mark Rutland , Andreas Kemnade , Arnd Bergmann , "H . Nikolaus Schaller" , Pavel Machek , "linux-kernel@vger.kernel.org" , devicetree@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 24, 2018 at 11:34 AM, Johan Hovold wrote: > Add binding for SiRFstar-based GNSS receivers. > > Note that while four compatible-strings are initially added representing > devices which differ in which I/O interfaces they support, they > otherwise essentially share the same feature set. > > Pin and supply names (and some recommended timings) vary slightly, but > the binding recommends using a common set of names. > > Note that the wakeup gpio is not intended to be as a wakeup source, but > rather to detect the current power state of the device (active or > hibernate). > > Signed-off-by: Johan Hovold > --- > .../devicetree/bindings/gnss/sirfstar.txt | 38 +++++++++++++++++++ > .../devicetree/bindings/vendor-prefixes.txt | 3 ++ > 2 files changed, 41 insertions(+) > create mode 100644 Documentation/devicetree/bindings/gnss/sirfstar.txt One nit below, otherwise: Reviewed-by: Rob Herring > diff --git a/Documentation/devicetree/bindings/gnss/sirfstar.txt b/Documentation/devicetree/bindings/gnss/sirfstar.txt > new file mode 100644 > index 000000000000..5e6a02aec49a > --- /dev/null > +++ b/Documentation/devicetree/bindings/gnss/sirfstar.txt > @@ -0,0 +1,38 @@ > +SiRFstar-based GNSS Receiver DT binding > + > +SiRFstar chipsets are used in GNSS-receiver modules produced by several > +vendors and can use UART, SPI or I2C interfaces. > + > +Please see Documentation/devicetree/bindings/gnss/gnss.txt for generic > +properties. > + > +Required Properties: > + > +- compatible : Must be one of > + > + "fastrax,uc430" > + "linx,r4" > + "wi2wi,w2sg0008i" > + "wi2wi,w2sg0084i" > + > +- vcc-supply : Main voltage regulator (3V3_IN, VDD, VCC) > + > +Optional Properties: > + > +- enable-gpios : GPIO used to power on and off device (ON_OFF) > +- wakeup-gpios : GPIO used to determine device power state (WAKEUP, RFPWRUP) > +- timepulse-gpios : Timepulse (e.g 1PPS) GPIO (1PPS, TM) > + > +Example: > + > +serial@1234 { > + compatible = "ns16550a"; > + > + gnss { > + compatible = "wi2wi,w2sg0084i"; > + > + vcc-supply = <&gnss_reg>; > + enable-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>; > + wakeup-gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>; > + }; > +}; > diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt > index 2128dfdf73f1..ddd81c82082d 100644 > --- a/Documentation/devicetree/bindings/vendor-prefixes.txt > +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt > @@ -120,6 +120,7 @@ excito Excito > ezchip EZchip Semiconductor > fairphone Fairphone B.V. > faraday Faraday Technology Corporation > +fastrax Fastrax Oy > fcs Fairchild Semiconductor > firefly Firefly > focaltech FocalTech Systems Co.,Ltd > @@ -197,6 +198,7 @@ licheepi Lichee Pi > linaro Linaro Limited > linksys Belkin International, Inc. (Linksys) > linux Linux-specific binding > +linx Linx Technologies > lltc Linear Technology Corporation > lsi LSI Corp. (LSI Logic) > lwn Liebherr-Werk Nenzing GmbH > @@ -390,6 +392,7 @@ vivante Vivante Corporation > vocore VoCore Studio > voipac Voipac Technologies s.r.o. > vot Vision Optical Technology Co., Ltd. > +wi2wi Wi2Wi Wrong spot. > wd Western Digital Corp. > wetek WeTek Electronics, limited. > wexler Wexler > -- > 2.17.0 >