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: 907934 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=none (p=none dis=none) header.from=goldelico.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=goldelico.com header.i=@goldelico.com header.b="ls6IuQ7D"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 40c97W4S5xz9s3q for ; Thu, 3 May 2018 19:38:31 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751277AbeECJgb (ORCPT ); Thu, 3 May 2018 05:36:31 -0400 Received: from mo4-p02-ob.smtp.rzone.de ([81.169.146.169]:9855 "EHLO mo4-p02-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751160AbeECJg2 (ORCPT ); Thu, 3 May 2018 05:36:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1525340186; 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=ls6IuQ7DE9TTyK3ZTLWsiSaeWnKlO4UZK+aKBtRE28Nt63VZTPijFTo4lb0mUFdE9m oa32n/iXY/xBlFKBw8352xKDJIw1lNX0aLmS8Qb/cSrHIfZUztNDIOleMq6FLkIMw7m+ wz7ipA2epndOS6Or8RSW87xs7DAnkhJRNCHC79i2tRwQF5CRdjJp1CIdDAoxc+meyYT4 jhGc7TiqmzKi7F/N8dQFApdSeTJtX0ZU0Xe2nLiEVr+Cz+ajn63Ks3FGd3DFK/lqu4XL wVbN30FdASCotrRcJj59jI8Q+t1II4d8xngpFms/tSIh3z5OMjUAOsjZaksZtbWH01xa +z5A== 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_Cousson?= , Tony Lindgren , Russell King , Arnd Bergmann , Greg Kroah-Hartman , "H. Nikolaus Schaller" , Kevin Hilman , =?utf-8?q?Andreas_F=C3=A4rber?= , Thierry Reding , Jonathan Cameron , =?utf-8?q?Noralf_Tr=C3=B8nnes?= , David Lechner Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, letux-kernel@openphoenux.org, kernel@pyra-handheld.com, linux-arm-kernel@lists.infradead.org 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: Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 */ + }; +};