Received: by 10.192.165.148 with SMTP id m20csp4882549imm; Tue, 24 Apr 2018 09:55:06 -0700 (PDT) X-Google-Smtp-Source: AIpwx49ytI20eH8X9iN4tNG74g0NJ4JHIn3pEjXB5A7pjWO87lg/vvFHHbbvdAXXiJVw6v3DVZgV X-Received: by 10.99.114.14 with SMTP id n14mr20545228pgc.384.1524588906471; Tue, 24 Apr 2018 09:55:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524588906; cv=none; d=google.com; s=arc-20160816; b=DXwZZ/LFtfbTlBPSn2sV0tnn4L3JTKuEib/H6s2nW816P+36E6DIAoi+EwJNfo2F9E owScTMt/10kEbrfRhLc9N3rRguDbhAANyYhY6MlL0g0eai5SUlgchskOaNY0uGYOUBfd Z88RaIkxLh9ZKqClo2TMxE9IeqAzjTjudU4Rlg8hT5Q9J2vVfIz1y/rxMR9yV46WbBq/ Sq+t5Hi4PRvovCI8id1sb6khB4eesYhY0CK+0Pz5eUcQF019IXGNAIKLFXd4Tzzhtxdq lEzuCTVnqXT1JqBc6eldRmqtfF4yGCHJSjD+eGDi9HRpS1koEkYfYBZta0A3sm4G/WYF lbXA== 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=7pTFqTc57nEwulcoP0Y7x2MFaR1RmAijgmDh7fcRcEc=; b=C/9bmb+qkjeShrySorPDQLTTwlGy2asIBoyH/r54o5mwsPQp38w2cwyrF1g4OE5x6o YC967atLLYTxpCpMx8RImLxlCp1EkE3VGpYASEodIYe7zMn3X7Kjf9iIPLvOmTpDan1J pdOVIynMXOXSP1NlhKfQ1IxwVgBAqcgWoRwvn099XefZlB8lLbIWCbY8jwL3C8zXb3YN f4+X15BWhrXRPIrHw8cOqobrH0gjTRCkMPjbXGfhF9fdMDtFHXgKUHsen4dfyHCjaC19 lJld3d8aWWgY1+xtt/JVJkAwrkoOViJFoY/pKWFrMK3gkUCc2m0pQRdq89r5gQLmnv1C +khg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=ogpLmZ0P; 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 h193si9428170pgc.57.2018.04.24.09.54.51; Tue, 24 Apr 2018 09:55:06 -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=ogpLmZ0P; 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 S1752796AbeDXQxQ (ORCPT + 99 others); Tue, 24 Apr 2018 12:53:16 -0400 Received: from mail-lf0-f67.google.com ([209.85.215.67]:43179 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751037AbeDXQup (ORCPT ); Tue, 24 Apr 2018 12:50:45 -0400 Received: by mail-lf0-f67.google.com with SMTP id g12-v6so5234513lfb.10; Tue, 24 Apr 2018 09:50:44 -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=7pTFqTc57nEwulcoP0Y7x2MFaR1RmAijgmDh7fcRcEc=; b=ogpLmZ0P6r7uP1VoRcGAWoBajD0ADu2niyQ7ELWKf4K+3SrLzeUYfX0sVWTt7TGsgB Ovl5kJqoRb6I9Tj/e4k2qNcDrH8BrpSDPxqUouspiqmlMk8a+Jrk0t04ablBflEn+YvY 8C1s2eiLCAwLLggs+VsJqRlLSFB+sgewrsMk7cjn1DAHZs1VrqQXEdFvh5M+yNFG28zw hZLepqoiJ4yldzxeZzTJT52rrq4V7yjFqAebvs2bzHWQY3y8UgPnZJMrommw6CTNszrK OLfhMtr0vOfW6CrNkEeUpzUOmcETfEpJRftHdUKzKPoBAGVIs2JGDb8Kyq0Hpx+QSVq2 eRRw== 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=7pTFqTc57nEwulcoP0Y7x2MFaR1RmAijgmDh7fcRcEc=; b=uZGU4mgRRVj5uw7/8spv5b4qgz/c08ovvJEy8CJcQk/d1yiwOA385ZZKGg5w0YqX7b rExoCWUHxDJKQ8zPCtVPQgKWfDnYyywOCXa9M+O+WmpXc9SHs6DuwhnXh29GRZqplKpy Os8Hdo12ZySXzy7imRSCCfbvd48P6FaYpW/XxSwGq2aGEBXHSmpSxJbG8j8jIrEk7LpH G/WB1ZNckJrD/gtQHRnRNRT03Xx6cd79trWxZb0LvMbYfyYsqHaHHY8L1mvGZgLGovIN yI9K+CyetWhWPeEp14HeEb5tYTwmK5Jut1IeeAZzP2bt64g0LV8mQVsRYYAdP5x+T8TT Cy4A== X-Gm-Message-State: ALQs6tAjeYftoyLgFkTKq49wOTo3YHxuzQl2bzLhGKWW1dCrBxEgUybP 5lw4EUqH7yiVWjqWM/O1NpE= X-Received: by 2002:a19:9b51:: with SMTP id d78-v6mr9206456lfe.66.1524588644190; Tue, 24 Apr 2018 09:50:44 -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 n76sm2861477lja.31.2018.04.24.09.50.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Apr 2018 09:50:42 -0700 (PDT) Received: from johan by xi.terra with local (Exim 4.90_1) (envelope-from ) id 1fB19J-0004Tg-Oo; Tue, 24 Apr 2018 18:50:37 +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 2/7] dt-bindings: add generic gnss binding Date: Tue, 24 Apr 2018 18:34:53 +0200 Message-Id: <20180424163458.11947-3-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 Describe generic properties for GNSS receivers. Signed-off-by: Johan Hovold --- .../devicetree/bindings/gnss/gnss.txt | 36 +++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 37 insertions(+) create mode 100644 Documentation/devicetree/bindings/gnss/gnss.txt diff --git a/Documentation/devicetree/bindings/gnss/gnss.txt b/Documentation/devicetree/bindings/gnss/gnss.txt new file mode 100644 index 000000000000..bcdaca043eaa --- /dev/null +++ b/Documentation/devicetree/bindings/gnss/gnss.txt @@ -0,0 +1,36 @@ +GNSS Receiver DT binding + +This documents the binding structure and common properties for GNSS receiver +devices. + +A GNSS receiver node is a node named "gnss" and typically resides on a serial +bus (e.g. UART, I2C or SPI). + +Please refer to the following documents for generic properties: + + Documentation/devicetree/bindings/serial/slave-device.txt + Documentation/devicetree/bindings/spi/spi-bus.txt + +Required Properties: + +- compatible : A string reflecting the vendor and specific device the node + represents + +Optional Properties: +- enable-gpios : GPIO used to power on (or off) the device +- timepulse-gpios : Timepulse (e.g. 1PPS) GPIO + +Example: + +serial@1234 { + compatible = "ns16550a"; + + gnss { + compatible = "u-blox,neo-8"; + + vcc-supply = <&gnss_reg>; + timepulse-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>; + + current-speed = <4800>; + }; +}; diff --git a/MAINTAINERS b/MAINTAINERS index dc3df211c1a7..fa219e80a1f8 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -5965,6 +5965,7 @@ F: include/uapi/linux/gigaset_dev.h GNSS SUBSYSTEM M: Johan Hovold S: Maintained +F: Documentation/devicetree/bindings/gnss/ F: drivers/gnss/ F: include/linux/gnss.h -- 2.17.0