From patchwork Wed May 30 10:32:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 922696 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="tDOEvVlg"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 40wn5S3xvhz9s1b for ; Wed, 30 May 2018 20:34:20 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751777AbeE3KeQ (ORCPT ); Wed, 30 May 2018 06:34:16 -0400 Received: from mail-lf0-f67.google.com ([209.85.215.67]:35546 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751390AbeE3KeL (ORCPT ); Wed, 30 May 2018 06:34:11 -0400 Received: by mail-lf0-f67.google.com with SMTP id y72-v6so3488223lfd.2; Wed, 30 May 2018 03:34:10 -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=a9C5+det732BY0Cb/QMJIyyIJeZYZpvIA3JLaJkG9Gc=; b=tDOEvVlgrGV3K0dHyf02TqYuQQKXx5/44tAhWh4V/xhpASS4+LNNhuyp/mpNuXeJ5z J6g77Hqricmx4KpBSxWQfixadFFk0p7+naXmtpF6Mu/rrXsF+TpvNfVLUYkFXIj9e9su F+3txGFXzi0HBk7Ia7em1deJNFi7DoZR9C5M9+070tMMuFH5IZoYTe4+t4Hu+lnHiPs/ XzuZ1x8FsDEbr2kKMzm04Jg+zL7wqgNXxG9euHPKRbz3zLfUoZ8f7vDZyyUUSVIqNcmu B8Z2d7bIqwIHY3fT6GtkWIHsooImY/B81VmEaFMB+yGrCQ6VCn6EWmV8CbpEMYi9oac8 mPXQ== 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=a9C5+det732BY0Cb/QMJIyyIJeZYZpvIA3JLaJkG9Gc=; b=TH+T7JBM0kWX8bQNh8eXJ9rNAQNhifvH3OqmrR1RoCpXjpNFi+IwRkehvhLHjJRBe/ MLglvjhXmv3/RwHCkcoNzcIHwl0Uxp7BetvQkMM9xoeVEu9P5kiyPno5I2JyvaL1gWUA kAsSp2SHhpZo1k6MM6jgnHI2jmtv6OaIHVwwUBNHEOmyFFlJAVQ70DSCgQ82xBTb7jg4 ZObDXhAs5km38iCOFeF6nxlOQfXKPD6Bh9XYzQurCCHJ1XXXElCLh6+lXcTdXUKnYMsJ 7KELtzvWIASlz6CiMUaLdMwdxPH+L+BGmAbKBVR9SBVwHoZeqACNVGmiWorPdjk3c73P btrg== X-Gm-Message-State: ALKqPwe9RiXOMzQKmhspKjHlS3vJs7WcDMYZR2T7PAOZLirBnUrng3e1 5gKKR12itNzjV4jFO9mbBDE= X-Google-Smtp-Source: ADUXVKIVl2zhAZeqDz+f5qRHr6rLKiPYSZVPkvzWKzCNbDJki7tZOAPAz/tAza13kA6CzaFoEUHfqA== X-Received: by 2002:a19:428c:: with SMTP id p134-v6mr1166799lfa.4.1527676450115; Wed, 30 May 2018 03:34:10 -0700 (PDT) Received: from xi.terra (c-8bb2e655.07-184-6d6c6d4.bbcust.telenor.se. [85.230.178.139]) by smtp.gmail.com with ESMTPSA id s5-v6sm1611940ljj.93.2018.05.30.03.34.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 May 2018 03:34:08 -0700 (PDT) Received: from johan by xi.terra with local (Exim 4.90_1) (envelope-from ) id 1fNyQg-0005QI-Ot; Wed, 30 May 2018 12:34:06 +0200 From: Johan Hovold To: Greg Kroah-Hartman , Rob Herring , Mark Rutland Cc: Andreas Kemnade , Arnd Bergmann , "H . Nikolaus Schaller" , Pavel Machek , Marcel Holtmann , Sebastian Reichel , Tony Lindgren , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Johan Hovold Subject: [PATCH v2 4/8] dt-bindings: gnss: add u-blox binding Date: Wed, 30 May 2018 12:32:38 +0200 Message-Id: <20180530103242.20773-5-johan@kernel.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180530103242.20773-1-johan@kernel.org> References: <20180530103242.20773-1-johan@kernel.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add binding for u-blox GNSS receivers. Note that the u-blox product names encodes form factor (e.g. "neo"), chipset (e.g. "8") and variant (e.g. "q"), but that only formfactor and chipset is used for the compatible strings (for now). Signed-off-by: Johan Hovold --- .../devicetree/bindings/gnss/u-blox.txt | 44 +++++++++++++++++++ .../devicetree/bindings/vendor-prefixes.txt | 1 + 2 files changed, 45 insertions(+) create mode 100644 Documentation/devicetree/bindings/gnss/u-blox.txt diff --git a/Documentation/devicetree/bindings/gnss/u-blox.txt b/Documentation/devicetree/bindings/gnss/u-blox.txt new file mode 100644 index 000000000000..caef9ace0b0c --- /dev/null +++ b/Documentation/devicetree/bindings/gnss/u-blox.txt @@ -0,0 +1,44 @@ +u-blox GNSS Receiver DT binding + +The u-blox GNSS receivers can use UART, DDC (I2C), SPI and USB interfaces. + +Please see Documentation/devicetree/bindings/gnss/gnss.txt for generic +properties. + +Required properties: + +- compatible : Must be one of + + "u-blox,neo-8" + "u-blox,neo-m8" + +- vcc-supply : Main voltage regulator + +Required properties (DDC): +- reg : DDC (I2C) slave address + +Required properties (SPI): +- reg : SPI chip select address + +Required properties (USB): +- reg : Number of the USB hub port or the USB host-controller port + to which this device is attached + +Optional properties: + +- timepulse-gpios : Time pulse GPIO +- u-blox,extint-gpios : External interrupt GPIO +- v-bckp-supply : Backup voltage regulator + +Example: + +serial@1234 { + compatible = "ns16550a"; + + gnss { + compatible = "u-blox,neo-8"; + + v-bckp-supply = <&gnss_v_bckp_reg>; + vcc-supply = <&gnss_vcc_reg>; + }; +}; diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index b5f978a4cac6..2128dfdf73f1 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.txt +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt @@ -374,6 +374,7 @@ tronsmart Tronsmart truly Truly Semiconductors Limited tsd Theobroma Systems Design und Consulting GmbH tyan Tyan Computer Corporation +u-blox u-blox ucrobotics uCRobotics ubnt Ubiquiti Networks udoo Udoo