From patchwork Thu May 3 09:35:51 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: 10377501 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 BB05260353 for ; Thu, 3 May 2018 09:39:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B96712907B for ; Thu, 3 May 2018 09:39:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ADC102907C; Thu, 3 May 2018 09:39:12 +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 9B14D2903A for ; Thu, 3 May 2018 09:39:11 +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=OZNNsQVNf/mZnBvr5mIdJtDA71hUwmZrYtMKHAR+VrA=; b=JIRTi48nkhkiJlggR7VLgmqlSk mIQ3liES0OsafoA0Cy/tC8vVpFHM+tfSRI1IVG+rFAEzLEivzoxDs2tCPs9xZq/0fSXffTtJK0qdE cS9qHU+JkLZs3WJsldIIMuUuKNHmGSqnzcAiewNK23A60u/cVyANgjeKV3+EROPwNdm4cB25SHCzS 9O+DSKm3BJHP88KDUezdQQ3e/4ZM00SxptKuYMEYCE6B14/FvC99Pd8Uct5PXvVZQ8ZL7lrsoDCo2 M0oYqP4afbb+/jO9Kt43MKeNx+BYPgq+r10Weyd/BIRHtryOR8n9L43qv17jQzk2ATQbGUSGs21af q1P68New==; 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 1fEAhb-0001VK-8B; Thu, 03 May 2018 09:39:03 +0000 Received: from mo6-p04-ob.smtp.rzone.de ([2a01:238:20a:202:5304::5]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fEAf0-0000GN-4S for linux-arm-kernel@lists.infradead.org; Thu, 03 May 2018 09:36:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1525340158; 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=l3xowSglKPC5+vMUYwoMkBKVhz1uynuBHk2rXut2rwk=; b=OjBvVF+ONSxVbGUzBx+Lr8Rw+y1tLXQ1+hiywQGvO+bHD6Pghn6441qUBVd3ZNYka8 7hdsECFJSkTZIYeEq69P7qzkk1wYaDzYPt00VNX1JsIf8a+4DEpLsRvCPK/xvRkLxgAp HTfFt2ShFs2jF+nuU05668+7LULePqDb4/38opLC19FMs7RMK9UP517dc/eJmVegrs8p kmr/zT3+b+KWeCBgOPKqs6TFyKbwV7XBFCvWz1Q/rR3EAu1ejxnpouBHTh7JEXqsf0Xe BxCxMBXZWmq1lbJWvooaBZRlg1t1VWWcBKiwwIwIpgbRZnU8AEMRjyIEpzLd744Irhb+ /a/w== 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 Y0796du439Zv48Y (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:57 +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 6/6] gnss: add w2sg0004 to Kconfig Date: Thu, 3 May 2018 11:35:51 +0200 Message-Id: <7035d90fb71c4bc9d2e7c1090b77bdd6bdfd9871.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_345520_51DEFBBB X-CRM114-Status: GOOD ( 12.51 ) 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 Allow to configure for w2sg0004 driver. Signed-off-by: H. Nikolaus Schaller --- drivers/gnss/Kconfig | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/drivers/gnss/Kconfig b/drivers/gnss/Kconfig index 6abc88514512..ccc128bd0a3f 100644 --- a/drivers/gnss/Kconfig +++ b/drivers/gnss/Kconfig @@ -40,4 +40,14 @@ config GNSS_UBX_SERIAL If unsure, say N. +config GNSS_W2SG0004 + tristate "W2SG00x4 power on/off driver" + depends on GPIOLIB && SERIAL_DEV_BUS + help + Enable on/off control of W2SG00x4 GPS module connected + to some SoC UART to allow powering up/down if the /dev/gnss + is opened/closed. + + It also provides a "rfkill gps" name to control the LNA power. + endif # GNSS