Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2892428imu; Sun, 9 Dec 2018 11:54:30 -0800 (PST) X-Google-Smtp-Source: AFSGD/WpEBPEpa0zyrspodPfCZS791M8dWHmXE8SWJoY551nxV5pnE+VCHq5+VjV3/RX/1sZwpk9 X-Received: by 2002:a62:130c:: with SMTP id b12mr9803187pfj.247.1544385270742; Sun, 09 Dec 2018 11:54:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544385270; cv=none; d=google.com; s=arc-20160816; b=dI6Swj6xdinJ1oNUTRSNWBJ9Cv7ItbnwUAwCv8H9O+WSx4NKCoHcuVbEycirjRUVa4 MYfaAQTv7ObsTlSuXpPdztKnURrmP9SX1krR6FvxwCKZCnnGvY7mQ0Py6BokqkM3FpaP juRvTOeWKkbSrq+0H4nikX3qh6DMar+TMsUqNfOsaHBEmqIBr+3HPpyhrxNCAI9QRFRQ WimV1bIiaavVFQ/9YWZvt93BX6S8xc1UCH66E1unhAAcWZcGQlPrCk7/vaKRvPhC6tYE c+vnbInahruhf/2UdafmACmNtAbE7sqQPahftNgbmkWq/opsUroEOiLHVaTvaZwxHUuP fFvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=h9+mWboYzd+YWs7Q7t3F/S41I5XGgQDAiipO6olEyWI=; b=Vt7RSZwao6VYyme6vkYtcOKWFNNFTvPQ0LoxUHpgplFVUtHIXJ2JFuYXay2KnALKKj 4mayx5Nu21GnXkv7l++ZJa95mneBGSVwAFn64qwpBjkrQHyAL3of+KOv97QOpc/tYjTX FBxhwRP5d3m+4mv8Gwze1c9ejTPXt0oaCNeR/FDyjPhzju1aThe0opjXAhkYnoS1JKP1 +myrq9lgNgEYwpyYX+qyO1DAjQ7YObyUSHr39IF8J44J0djpCBpa/iLt8lj+kSnufJd+ WroiVd99cC+1HmyaKia0DXI1261bksXiuRANa/QAzxOzpgikHRiKSp9Us1jb7V3oidc4 5yKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kemnade.info header.s=20180802 header.b=cQ4NJq35; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k69si8038790pga.176.2018.12.09.11.54.15; Sun, 09 Dec 2018 11:54:30 -0800 (PST) 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=@kemnade.info header.s=20180802 header.b=cQ4NJq35; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726376AbeLITwB (ORCPT + 99 others); Sun, 9 Dec 2018 14:52:01 -0500 Received: from mail.andi.de1.cc ([85.214.239.24]:40556 "EHLO h2641619.stratoserver.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726097AbeLITwA (ORCPT ); Sun, 9 Dec 2018 14:52:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kemnade.info; s=20180802; h=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:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=h9+mWboYzd+YWs7Q7t3F/S41I5XGgQDAiipO6olEyWI=; b=cQ4NJq35ujplVvD94Z2ypduOC/ abfZuq0c/YZGkkd+OwPc9nIzAwxeDiqOAi4JV7fKF84Vi+5VXql3YZtbzVmCdRthi1D6GATxkWQab nZaVx0AiorkbO2bra2NQiA5izVqgZ20b9pLLf3W38RcsuQvQZZDf2nf7oM4T8m5FVPvo=; Received: from p200300ccfbead7001a3da2fffebfd33a.dip0.t-ipconnect.de ([2003:cc:fbea:d700:1a3d:a2ff:febf:d33a] helo=aktux) by h2641619.stratoserver.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gW57L-0008J1-E0; Sun, 09 Dec 2018 20:51:55 +0100 Received: from andi by aktux with local (Exim 4.89) (envelope-from ) id 1gW57K-0001NE-Vd; Sun, 09 Dec 2018 20:51:54 +0100 From: Andreas Kemnade To: johan@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Discussions about the Letux Kernel Cc: Andreas Kemnade Subject: [PATCH v2 0/5] gnss: sirf: add support for w2sg0004 + lna Date: Sun, 9 Dec 2018 20:51:45 +0100 Message-Id: <20181209195150.5192-1-andreas@kemnade.info> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Here is another chapter of the story to get gta04 gnss power management into the mainline kernel. There is a w2sg0004 without wakeup line in there, so power state can only be determined indirectly by looking at the serial data lines. Then there as also an lna which needs to be powered for real gps reception. Depends on: gnss: sirf: fix activation retry handling Changes in v2: - do not change behavior of devices with wakeup line - do not keep serdev open if runtime is active and device is not used - style cleanup - locking of sirf_close() vs. gnss_insert_raw() - name reordering Andreas Kemnade (5): gnss: sirf: write data to gnss only when the gnss device is open gnss: sirf: power on logic for devices without wakeup signal dt-bindings: gnss: add w2sg0004 compatible string gnss: sirf: add a separate supply for a lna dt-bindings: gnss: add lna-supply property .../devicetree/bindings/gnss/sirfstar.txt | 2 + drivers/gnss/sirf.c | 158 ++++++++++++++++++--- 2 files changed, 137 insertions(+), 23 deletions(-) -- 2.11.0