Received: by 10.192.165.148 with SMTP id m20csp4880221imm; Tue, 24 Apr 2018 09:52:29 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+RqhlJMpF1dN/8oG1v439xYCco960l2ETT4i729pukCXd30lvKDYmgBJlC+QmwowjsN8km X-Received: by 2002:a17:902:bf05:: with SMTP id bi5-v6mr25207051plb.235.1524588749842; Tue, 24 Apr 2018 09:52:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524588749; cv=none; d=google.com; s=arc-20160816; b=racEyxQUaQgIKlkPbTV41IEb3G5VMMmCJk/5wNYVF7Fe43mDXIBHDFl/SyN17OCZ7n u2RhbiLn3MWK14Akw1y/r1W5NkgJubmQ8Qo23Czp9FoHADGGb7lUIilBxKZS2a+seLFC It0ich1xzeFbIZ1M1KN9Xr3WrVm7Ox0Kblk7CFkGf5bZuaE162hw5tEvgoW8Lg4yq2c1 6jrD1ZWN2h9HpC04GmAglhWkkui+OTJdx04zuZo2zmOknTJEPaEeWZC/LyzrmqUc1jiG /igpOeeuqnON2OkSpvI95tlKQsRh4MPkOpWJGSUdlW9J51kHwg9+JBHilMAeq+A4OJ5Y /qcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=jPCElnEO6WdeP6e0BWqx2BusWWz6qbo9aVSrUMzzGuk=; b=nYyDJ1fCh+u00njO2I5vqsyzT9BcLnWRAqBasAj3HoiWDfcIO9U6D30mya3SXMBSiL YajXNm/ZPR8qH0faNhCe0tgxZFm7WuYCGIz39hs0IDpS4I4kcwfEwYepc2hvaR8U4CBi NkWNCBKEjdRpcDbVUSPK6BKKvRsTV11ccvPH5vDCXnZgDvOYhBFTRV9UMk1hXa2SGEIc EUMWcDzDZKgi0M41/4+vErAyZLIwaH65gUZOkEGBf4CRBJL3BDAchM3voXu4JORrWPlQ eRgANRZ3/R4LYLSZetHBTAcrCzzfbz84XmZMb2yrwgGxxckkOPBm7hKa7EBTihlpseNf pRcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=TeYrvRrq; 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 z4-v6si15035629plo.190.2018.04.24.09.52.14; Tue, 24 Apr 2018 09:52:29 -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=TeYrvRrq; 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 S1752441AbeDXQvM (ORCPT + 99 others); Tue, 24 Apr 2018 12:51:12 -0400 Received: from mail-lf0-f68.google.com ([209.85.215.68]:33477 "EHLO mail-lf0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751324AbeDXQus (ORCPT ); Tue, 24 Apr 2018 12:50:48 -0400 Received: by mail-lf0-f68.google.com with SMTP id m18-v6so4034956lfb.0; Tue, 24 Apr 2018 09:50:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=jPCElnEO6WdeP6e0BWqx2BusWWz6qbo9aVSrUMzzGuk=; b=TeYrvRrqLjtnZMgwRa2dwQf7kSzLYnNWwyc3imx2wkPaJQijHp8H9Jx41hZGwgANUb VDgAldNfxIGDyHGourAJJy25l7NW1mn02NRRTmAxgEBMKohnHYFzyI3zM52hQqyKcd6K Qij9Mn/RgkaiZlqon0ozPsJFIyVtYsVEhDDyDmvvWo9MUQFCLJl0WsQBo4sn6b4Es6Js hlAeAoQAIkaYqMm6kH97LmRS1aocz9Cpkg5zprAMdLkYAnlqE73NWCwuKA+ClyT2N1Wx isQqA8R9KEwF52Wr98wIcxmLzY9IWtp9s0SU3V1cFWpWbZRpOrYDp6rQVdqhpSd6Jimt iA4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=jPCElnEO6WdeP6e0BWqx2BusWWz6qbo9aVSrUMzzGuk=; b=iR67E3I7LoaEl1knSbNcUXUrCas5xKSshP+q9JmqpmOtScetYh2iHNlIYyvdVMncoS JVrC7TqqbhksuFhoJmDuju+1LNPOMU6+B8sKQlnuaka388HAl/gul7n6WvpoN1iUMDtG OPXM9Y7M7Wxr7M9kp6VX5zZmHizVL8aJ5m2+i0aMw3fWE8D1Zzl1KjtAyj5Q7gihPfeO Gs05H4Ete6pKc4HXxUIASI4rZeWs6J3vU+uPybOCOpdXY2MVLWIfBJTrpYAH927MuPT0 +M9HCIDz6GvyEtwmwUzS++DU+igNPBwfVw/e0pIAO7a5Gd7v3P3is0LMxwug7tqubxLZ 0DfQ== X-Gm-Message-State: ALQs6tAzMGAwYGy/hv9vGhGVUQlbOZ0/Wd9ngCrBxtCVyqyW61j53NfW LQrTY72c8LJQksagSpJLMMQ= X-Received: by 2002:a19:2902:: with SMTP id p2-v6mr7912373lfp.99.1524588646574; Tue, 24 Apr 2018 09:50:46 -0700 (PDT) Received: from xi.terra (c-8bb2e655.07-184-6d6c6d4.cust.bredbandsbolaget.se. [85.230.178.139]) by smtp.gmail.com with ESMTPSA id b17sm2901655ljd.79.2018.04.24.09.50.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Apr 2018 09:50:44 -0700 (PDT) Received: from johan by xi.terra with local (Exim 4.90_1) (envelope-from ) id 1fB19K-0004U0-4R; Tue, 24 Apr 2018 18:50:38 +0200 From: Johan Hovold To: Greg Kroah-Hartman , Rob Herring , Mark Rutland Cc: Andreas Kemnade , Arnd Bergmann , "H . Nikolaus Schaller" , Pavel Machek , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Johan Hovold Subject: [PATCH 6/7] dt-bindings: gnss: add sirfstar binding Date: Tue, 24 Apr 2018 18:34:57 +0200 Message-Id: <20180424163458.11947-7-johan@kernel.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180424163458.11947-1-johan@kernel.org> References: <20180424163458.11947-1-johan@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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 wd Western Digital Corp. wetek WeTek Electronics, limited. wexler Wexler -- 2.17.0