Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp617647imm; Thu, 31 May 2018 06:35:45 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIRTDAbrIlug4ksc/cwIJRitR/jbEEzhR8sj50W/+88hK1pui/DrooYbgluJlv/NM1oVCqA X-Received: by 2002:a63:7543:: with SMTP id f3-v6mr5639430pgn.256.1527773745830; Thu, 31 May 2018 06:35:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527773745; cv=none; d=google.com; s=arc-20160816; b=ntZSiTBR6P3GruKN8zyxFzwplkbm9rWK7f+6rRfUNpUMmcXOgDrbmqQPplRg4OpeEp DVbjuVp8ssTaNthVdvN+CP5C2wqZofBKJuyzQQAi7Ysn3/ILd/MgNueLtP4S7zzQ6sf2 bDy+QGItlFvMpAx1t2TJFLfPI3YASsLKSgbzjrUdWuSgM1b1ljeyPq2klIJhkYJYASx9 9PD9bZbcKCvtaU3/TllHsGamSLAdL6Xy7nVUvAYUG72Do9Hmw+4OQqiZqS7oVZ+hJvwK H8Uy5xZVhifqt9jO+vOpGiiynAn5NShuS9MWX/bGHBVD4f6k8ZaQjjSaHSPIDvMgd5F2 1sIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature:arc-authentication-results; bh=WmLruU5i/34uAyQtD7Gs6G8moiqyChnxRBAewYx5PZw=; b=UqIf5XZpKQzVoNvciB9DewVfpGOD40uRnNLM9PBkd1DB2eGZCW5raZ3Vd/r4VreEKw B480l6djmnwUE8RCJGHDzjQerpYwbypybPQbRMcTFaexNn5BMRAOruPzNCWXD8HBnbTP Zb30QQMAMNIsJbN04x7amYqQ2L5WfP+rau2phXWh5fKgtUuDfmCeIyb4V1S1Youl0a+P Pb5pujJwNIv694ubOpkL1hrwG5feraF/9s5eRem+WGXw2/2WiTHFbtRNHVdQWgbRr0uV BIYviuf4mLV3yFg3BBAdr1C/JB4WNXTitukZYwhbd2DWFkV89J45D6QwUgLoecxNPzjs Ba4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@goldelico.com header.s=strato-dkim-0002 header.b=IcuGhPn2; 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 c2-v6si36938529plr.454.2018.05.31.06.35.31; Thu, 31 May 2018 06:35:45 -0700 (PDT) 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=@goldelico.com header.s=strato-dkim-0002 header.b=IcuGhPn2; 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 S1755200AbeEaNdr (ORCPT + 99 others); Thu, 31 May 2018 09:33:47 -0400 Received: from mo4-p01-ob.smtp.rzone.de ([85.215.255.54]:18436 "EHLO mo4-p01-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755006AbeEaNdp (ORCPT ); Thu, 31 May 2018 09:33:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1527773623; s=strato-dkim-0002; d=goldelico.com; h=To:References:Message-Id:Cc:Date:In-Reply-To:From:Subject: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=WmLruU5i/34uAyQtD7Gs6G8moiqyChnxRBAewYx5PZw=; b=IcuGhPn22c7bnyjWnEpwu0wz50uYeI8ao1bIVRb9p2Dmum1v3/IWIFy9DEwcbfLiVw K7FHlgDL3vDSyMfv1EJffLljOFaGCdxwtl5CUGAZWHLk3/RuTxiqRDZoYwq1NdIKVRYY NyCQNa/EjbsLeXs8jg5u1mBSzzpkUtVimzOak+IwUlyJpqhmLVT/Y3Cv5JgcoiOMCMqt Gcgp7GY64lJDMhWa3vimHx/fhKdZ6JH728spDCvuz2r1uGDwQJ34u7dHOusnQWYSAgLm OLNv1++qqzfw0ASh0Rg55/tbi1NbPuTCLjcbQNmZg5rkU80Jw/CY17zltZzaM1qYRSgf ybmg== X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMgPgp8VKxflSZ1P34KBj4Qpw87WisNN1FzaY" X-RZG-CLASS-ID: mo00 Received: from imac.fritz.box by smtp.strato.de (RZmta 43.8 DYNA|AUTH) with ESMTPSA id Q0721du4VDXg27M (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Thu, 31 May 2018 15:33:42 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: [PATCH v2 0/8] gnss: add new GNSS subsystem From: "H. Nikolaus Schaller" In-Reply-To: <20180531114743.GG3259@localhost> Date: Thu, 31 May 2018 15:33:41 +0200 Cc: Richard Cochran , Greg Kroah-Hartman , Rob Herring , Mark Rutland , Andreas Kemnade , Arnd Bergmann , Pavel Machek , Marcel Holtmann , Sebastian Reichel , Tony Lindgren , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Content-Transfer-Encoding: quoted-printable Message-Id: <598825FD-67A5-4016-BCE8-A50517472B8F@goldelico.com> References: <20180530103242.20773-1-johan@kernel.org> <20180530143822.lvtwjvbqe7gvbvgq@localhost> <20180531085242.GE3259@localhost> <943C21CA-EEC6-45E2-997E-A6E1FA0549EB@goldelico.com> <20180531114743.GG3259@localhost> To: Johan Hovold X-Mailer: Apple Mail (2.3124) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Am 31.05.2018 um 13:47 schrieb Johan Hovold : >=20 > On Thu, May 31, 2018 at 11:52:18AM +0200, H. Nikolaus Schaller wrote: >>=20 >>> Am 31.05.2018 um 10:52 schrieb Johan Hovold : >>>=20 >>> On Wed, May 30, 2018 at 07:38:22AM -0700, Richard Cochran wrote: >>>> On Wed, May 30, 2018 at 12:32:34PM +0200, Johan Hovold wrote: >>>>> Another possible extension is to add generic 1PPS support. >>>>=20 >>>> There are two possibilities to consider. >>>>=20 >>>> 1. If the PPS causes an interrupt, then it should hook into the PPS >>>> subsystem. >>>=20 >>> Registering a PPS child device is what I had in mind for this. >>=20 >> This seems to be duplicating functionality that is already solved by >>=20 >> = https://elixir.bootlin.com/linux/v4.17-rc7/source/Documentation/devicetree= /bindings/pps/pps-gpio.txt >>=20 >> and >>=20 >> = https://elixir.bootlin.com/linux/v4.17-rc7/source/drivers/pps/clients/pps-= gpio.c >>=20 >> Or what is bad with just using that? >=20 > Using pps-gpio would not allow you to describe the hardware properly, > something which, for example, may be needed for power management (e.g. > to power on the GNSS receiver when the pps device is being accessed). Yes, that is indeed a very valid reason to do it that way as the = pps-gpio seems to assume an always-on impulse source. On the other hand it looks as if the pps framework can't tell the source when to power on/off because it does not notify when it is being accessed or not: https://elixir.bootlin.com/linux/v4.17-rc7/source/drivers/pps/pps.c#L305 BR, Nikolaus