From patchwork Thu May 3 09:35:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H. Nikolaus Schaller" X-Patchwork-Id: 10377511 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4416060327 for ; Thu, 3 May 2018 09:40:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3E9F22907B for ; Thu, 3 May 2018 09:40:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3347729082; Thu, 3 May 2018 09:40:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 8F4D32907B for ; Thu, 3 May 2018 09:40:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=lpkJ4JgOrJ4K+uamvsGO4DhiL5/sHFtFv8pEJ+uMihw=; b=KV2yRjxFLj/jbwiQi9X0p9rKs9 1ipb8S5aaklj9UrjDlTAU8dHstKQ5BF4gFVTQ7UY2epwrm49ns3g9hml/JMkXt3zc55/tIhGdChxH qOEMLKCVXFH6bYb9zWjwT+xzKwOaLhXzAJmgMRyydafm2F7oj1Q0pURmPq7QC9FuL8HLA30Z/N+jj Nr/pt3bnmGW8pO3Gvua22WaqFtmgNzg/pci0zsxBGToZc5d256ggLiD3cBHYszHuXdvlbUa5/+ALJ tQuUyuHSXGQ+txE3YlZl/jyz86mkw0sFSBA6R/U0q2/48wEEZEu0QUftibelJc9CmgUMQ95vxsGX/ 1MK6AQOg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fEAjC-0003Rn-JN; Thu, 03 May 2018 09:40:42 +0000 Received: from mo6-p02-ob.smtp.rzone.de ([2a01:238:20a:202:5302::9]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fEAf0-0000GF-4r for linux-arm-kernel@lists.infradead.org; Thu, 03 May 2018 09:36:26 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1525340156; s=strato-dkim-0002; d=goldelico.com; h=References:In-Reply-To:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=OHn0BqBryRcx7SkuwQSsrJdQwQ6UKl61JiysaHVNHUE=; b=DNMfMVk1noYlU6BpL4amLSiILO0AC5+m00fMQXUIwA+pVBeIDyPzA+IEO6QJmehsOX 7kFuMPs3OlUcF5BZZ8t8Hnw3e6koOhWjn5+n3Nx0z8dMwLt/oPDhn7+mTuwGpviJXXKL PH9BLMX8vr/dDwzYHJbkW0EzPLrFsS3Zun37d6/fGhX+hEcy3DMOFJqh6wxtKD/AuyAF SUtYa+H3T92a3B5EMFfSSGybUbX3DF06QiOWuoXAs0+g6TMhyLI50tmZWwNt5f53z8Zr Xiq2jrxmAqXtmhcqc9VurFckteJOz3qfm9iP72oX5IrpZylOoO0pY8RijEIqvQVxYUQr Uf5w== X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMhflhwDubTJ9o12DNO4Ij0Nfyq4sHQ==" X-RZG-CLASS-ID: mo00 Received: from localhost.localdomain by smtp.strato.de (RZmta 43.8 DYNA|AUTH) with ESMTPSA id Y0796du439Zt48R (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Thu, 3 May 2018 11:35:55 +0200 (CEST) From: "H. Nikolaus Schaller" To: Johan Hovold , afd@ti.com, Rob Herring , Mark Rutland , =?UTF-8?q?Beno=C3=AEt=20Cousson?= , Tony Lindgren , Russell King , Arnd Bergmann , Greg Kroah-Hartman , "H. Nikolaus Schaller" , Kevin Hilman , =?UTF-8?q?Andreas=20F=C3=A4rber?= , Thierry Reding , Jonathan Cameron , =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= , David Lechner Subject: [PATCH v7 2/6] dt-bindings: gnss: add w2sg0004 bindings documentation Date: Thu, 3 May 2018 11:35:47 +0200 Message-Id: <851a39473dcdd852040c59b83ef50c3318e74c87.1525340143.git.hns@goldelico.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: References: In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180503_023622_356366_EB63E046 X-CRM114-Status: GOOD ( 12.18 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@pyra-handheld.com, letux-kernel@openphoenux.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add bindings documentation for Wi2Wi W2SG0004 GPS module. This is a quite old module which does not support a WAKEUP line and hence can't use a generic SirfStar driver. Signed-off-by: H. Nikolaus Schaller Acked-by: Rob Herring --- .../devicetree/bindings/gnss/wi2wi,w2sg0004.txt | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/gnss/wi2wi,w2sg0004.txt diff --git a/Documentation/devicetree/bindings/gnss/wi2wi,w2sg0004.txt b/Documentation/devicetree/bindings/gnss/wi2wi,w2sg0004.txt new file mode 100644 index 000000000000..ac4ec479ea98 --- /dev/null +++ b/Documentation/devicetree/bindings/gnss/wi2wi,w2sg0004.txt @@ -0,0 +1,23 @@ +Wi2Wi W2SG0004 GPS module connected through UART + +Should be a subnode of the SoC UART it is connected to. + +Required properties: +- compatible: must be + "wi2wi,w2sg0004" +- enable-gpio: the GPIO that controls the module's power toggle + input. A positive impulse of sufficent length toggles the + power state. + +Optional properties: +- lna-supply: an (optional) LNA regulator that is enabled together with the GPS receiver + +Example: + +&uart2 { + w2sg0004: gps { + compatible = "wi2wi,w2sg0004"; + lna-supply = <&vsim>; /* LNA regulator */ + enable-gpios = <&gpio5 17 GPIO_ACTIVE_HIGH>; /* GPIO_145: trigger for turning on/off w2sg0004 */ + }; +};