From patchwork Wed Nov 15 21:37:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H. Nikolaus Schaller" X-Patchwork-Id: 10060467 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 07B16604D4 for ; Wed, 15 Nov 2017 22:34:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EFCA329549 for ; Wed, 15 Nov 2017 22:34:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E44E829F7E; Wed, 15 Nov 2017 22:34:54 +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=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 7A79F28D32 for ; Wed, 15 Nov 2017 22:34:54 +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=AuTVGhq1De+4sx8PN4l06k1IOYhYBbRb7LQGu+tV/vw=; b=C/rUz/k9MSouwogsTcNEk7w17c bG50at45WdRPuStX1zqb+7ROR7Nb9B7uqP6ZopJwSK3ANVlNGDtgej5nIkPQoHraUF4rO4RLUerC8 FLh23ZYd7oiKZOmY2SHQGvN3jUZldyq9+WtzKgQdTie1sEVpuTmvpbovUtvRiyQgcIFPnsOLuvYZP QWbqYOwdl5G2upVxYenMPDCwLUpCSlob/1S6wCbziith7yOHz8bpVjj8Z5r1jYjlW+J2SDbtWNGjS Fp3fIZTq8Icf27E2l1dWo3V1UpSqZF7dqVy1UjHjzTvCS5nMM9O+bZXRjqe02Kfg3v0cCwT327wyr 83E0MdJQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eF6Gj-0004y2-9y; Wed, 15 Nov 2017 22:34:53 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eF6GL-0004dr-HE for linux-arm-kernel@bombadil.infradead.org; Wed, 15 Nov 2017 22:34:29 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=/RDZOzugGdZ366rbUDTgaW1FUdztmv/gVZKync1lc+I=; b=2r6NfPLICZkJBfsYGqZTW+Is6 Gz4Kg/kp4NJPrmIJQdi2taX1CGhAOhjmoYuVRQyO3a04L/ROJP33jJhnQYVhCXhQHa5JlrEv9ePPp e8vyelTYkzzp+zqxSIIBJGT6gx4TiWGPi2oPhJtPRHi+hAxeOOV6zGyPDOmF44ZXMDOtrwu17vdJI pjZaEjHKO9XcFXVjjW553E6NvzQHYnowDw9QctCOWfKHChjlkSYzt92km3TiZY4ALELqEGvr71Fkm kF9MX02o3LPWRoO1uqC8E5AqYi8XrZAf6j24pcLE6I4Y7JWh77DJpKY8LodaBl4Fcut+wVRHdV47y dOe9I+rEw==; Received: from mo6-p00-ob.smtp.rzone.de ([2a01:238:20a:202:5300::1]) by merlin.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eF5OG-0007fb-CC for linux-arm-kernel@lists.infradead.org; Wed, 15 Nov 2017 21:38:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1510781879; s=domk; d=goldelico.com; h=References:In-Reply-To:References:In-Reply-To:Date:Subject:Cc:To: From; bh=/RDZOzugGdZ366rbUDTgaW1FUdztmv/gVZKync1lc+I=; b=lzfeX9FmoXxWgoTvszT3CUFn3r9jUKmrpTRP4YTCKw1V0VYvNga2CQu+FcfaFZkuXo X2hq94kCWGDr0+hxITo0EexrY87fwmvOiRYKU1LVUbRSyE9YYTmEBStd7rgIelh2/PFJ /xwGWiRElsAT0wSD5x7bXNqY02EinWMB/94aA= X-RZG-AUTH: :JGIXVUS7cutRB/49FwqZ7WcJeFKiMgPgp8VKxflSZ1P34KBj4Qpw87WivtN1GT2Y X-RZG-CLASS-ID: mo00 Received: from localhost.localdomain (p57AE06C1.dip0.t-ipconnect.de [87.174.6.193]) by smtp.strato.de (RZmta 42.9 DYNA|AUTH) with ESMTPSA id f05bb6tAFLbxeuK (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); Wed, 15 Nov 2017 22:37:59 +0100 (CET) From: "H. Nikolaus Schaller" To: 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 Subject: [PATCH v4 2/5] dt-bindings: gps: add w2sg00x4 bindings documentation (GPS module with UART)) Date: Wed, 15 Nov 2017 22:37:54 +0100 Message-Id: X-Mailer: git-send-email 2.12.2 In-Reply-To: References: In-Reply-To: References: 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 W2SG00x4 GPS module. Signed-off-by: H. Nikolaus Schaller Acked-by: Rob Herring --- .../devicetree/bindings/gps/wi2wi,w2sg0004.txt | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/gps/wi2wi,w2sg0004.txt diff --git a/Documentation/devicetree/bindings/gps/wi2wi,w2sg0004.txt b/Documentation/devicetree/bindings/gps/wi2wi,w2sg0004.txt new file mode 100644 index 000000000000..bcf307382afb --- /dev/null +++ b/Documentation/devicetree/bindings/gps/wi2wi,w2sg0004.txt @@ -0,0 +1,24 @@ +Wi2Wi GPS module connected through UART + +Should be a subnode of the SoC UART it is connected to. + +Required properties: +- compatible: should be one of (depending on precise model) + "wi2wi,w2sg0004" + "wi2wi,w2sg0084" +- 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 */ + }; +};