Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp328705imm; Fri, 1 Jun 2018 01:26:39 -0700 (PDT) X-Google-Smtp-Source: ADUXVKL45qR3PlhAUuDL0XKitrHoijBXc6nzhtV0H8w4q5oc0G0HQIbUWaxuliTN5GMipabbU6FG X-Received: by 2002:a63:7b4e:: with SMTP id k14-v6mr8047567pgn.261.1527841599079; Fri, 01 Jun 2018 01:26:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527841599; cv=none; d=google.com; s=arc-20160816; b=HWL1luldQkwi49ltkQRnU7nv9IunpZSTQewMvk6YZmwDavnR8BtWfqVRtU2fbvpwfN jXK49fc7xNK5ayNT5N1Ucx7gBbcYPwS04MkPBCIwYfb/kVUPxVh1q2sEEBKB52E4OYl4 i/Q11RJGnqJKcIngHFWcddqxlmxE0nGelLK7RIRzoET2ElIW5yUTLi/OkWRpzbNeOYBK LP0JaQ22wwFiYxI2aFg9ElxAGd/wV9VJKykrO/tA69vQqfMxukC3VPmti24tGWJdVR9f d/qUctDnfi+DDt2I3uFMzUewzPwm0546kn9c7ohGpuPIwC/XfUEeGuy2IlsQcAg9eZyo Aosg== 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=Z3/ixmE/RVaHXA75k4pHTAbTZGBxXzf/ocqjDwDtUgM=; b=JnGva2g3EulILvvUmEB88s2I/ytJyHuKIyQj0xHhv4ni2OcsugqQYflIJtAQ2+G7Jf Pqzg7uAsXv2Ut9JryAepItdMMzwIQkO3/AiOedLKQViTciS/lJ6RjxdnLPmFn5JoWs9U tpHpsbKhYIlGVhJJRk1KyCA9b6uikYkhm2d2+nri3qT6rjylH7Jk/PzVWTiRMiHYk3fH O99plKfD4YwaMpQAcgqgKddyP74b0EkVBQbHdnYIh2RPAaGOEwGQTcmdAqBMRKcmjImU KYsTveHcyzvuDrCjHtgzn/hEfJCEI76Xp0Y5frOE4v0Dp+I+UTXSVypmvbCBfmpEUFBw E+Ag== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=ZgmFUemP; 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 1-v6si12546049plz.379.2018.06.01.01.26.24; Fri, 01 Jun 2018 01:26:39 -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=ZgmFUemP; 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 S1751789AbeFAIZV (ORCPT + 99 others); Fri, 1 Jun 2018 04:25:21 -0400 Received: from mail-lf0-f66.google.com ([209.85.215.66]:35693 "EHLO mail-lf0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751230AbeFAIX1 (ORCPT ); Fri, 1 Jun 2018 04:23:27 -0400 Received: by mail-lf0-f66.google.com with SMTP id y72-v6so13590317lfd.2; Fri, 01 Jun 2018 01:23:26 -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=Z3/ixmE/RVaHXA75k4pHTAbTZGBxXzf/ocqjDwDtUgM=; b=ZgmFUemPexsAJDshDjoWYZtXMW/Un2tDUDu6SWUMGvqBNjSGtKtR/L5JMWe+61b4v1 1iw0jryaKH3obZyJAiu9sBq6/a3TdHNfFrL8o//G80n/UEX6uoiqT+fJKrqS95QPoIjx A9SGq3i3WQxmXdFdog00gFnu+6iXPmuy/X9IfdEfS7kh1l7WLHdWhT0XFU+w+MwYfhYc LacLSB8erdzQQjbqgflyzA+6RNtqq4pHkzTd0SM5gwrhMvkNP/4SQnhR4bYyVkdcJmsN bY8gmoKYoi3U86iNN+GLiByAb+6gbTyQzfmA2FzptBPVOb1dcptxqpy6BGYjljbApU9p I2bA== 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=Z3/ixmE/RVaHXA75k4pHTAbTZGBxXzf/ocqjDwDtUgM=; b=e3ANwnIf4NtyoOBenT/F94QpQSpnPmNt+hMR6BifiAY4jPPtSO5U7KW3xyHZ59aELn RVfqg2LZFtKyUILr2cMiY22jVaW++X2cd8wyl+rM6HPzM7jqzts39hd/9A+2o0F7s4E3 rVZl1UHmkeLJvl85JLIJ+n5o0kf0w02JmSrfSPFLVDzlNJIx509dXb+/r6rdGQ5ojX64 FASR7XAKCzc1t5rgOAbEUGHVz8VcihkP2iiVklDzbuslhrzV8p7KYaliTgR7jJE2XpXt fMatWOfLj8sgavp73aQ5YSrFEprpTGkJg4UIqhCIfe2efu/60V5HDtyRd9Hr8Rho0ZZu o5Fw== X-Gm-Message-State: ALKqPwcycc/zYkYiQOlvA8GPorrQVjuXyeVPgoHrsNPDoGRPe5QPoFXm g46Am7zXyiA+NBCptf8N4NY= X-Received: by 2002:a19:d245:: with SMTP id j66-v6mr6548903lfg.139.1527841405581; Fri, 01 Jun 2018 01:23:25 -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 s83-v6sm5912453lfi.14.2018.06.01.01.23.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Jun 2018 01:23:24 -0700 (PDT) Received: from johan by xi.terra with local (Exim 4.90_1) (envelope-from ) id 1fOfLB-0004aP-PC; Fri, 01 Jun 2018 10:23:17 +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 v3 4/8] dt-bindings: gnss: add u-blox binding Date: Fri, 1 Jun 2018 10:22:55 +0200 Message-Id: <20180601082259.17563-5-johan@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180601082259.17563-1-johan@kernel.org> References: <20180601082259.17563-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 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..e475659cb85f --- /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 : GPIO connected to the "external interrupt" input pin +- 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 -- 2.17.1