From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755268AbeEaNhi (ORCPT ); Thu, 31 May 2018 09:37:38 -0400 Received: from mail-lf0-f68.google.com ([209.85.215.68]:44028 "EHLO mail-lf0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755042AbeEaNhf (ORCPT ); Thu, 31 May 2018 09:37:35 -0400 X-Google-Smtp-Source: ADUXVKJwzPv5JOvu4JloJHE1KMGLi30dseMSGvnWxl9jTBygJdeZsTqgfqlUrHW/f+X/6bKRY9VrJA== Date: Thu, 31 May 2018 15:37:30 +0200 From: Johan Hovold To: "H. Nikolaus Schaller" Cc: Johan Hovold , 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 Subject: Re: [PATCH v2 0/8] gnss: add new GNSS subsystem Message-ID: <20180531133730.GJ3259@localhost> References: <20180530103242.20773-1-johan@kernel.org> <20180530143822.lvtwjvbqe7gvbvgq@localhost> <20180531085242.GE3259@localhost> <943C21CA-EEC6-45E2-997E-A6E1FA0549EB@goldelico.com> <20180531114743.GG3259@localhost> <598825FD-67A5-4016-BCE8-A50517472B8F@goldelico.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <598825FD-67A5-4016-BCE8-A50517472B8F@goldelico.com> User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 31, 2018 at 03:33:41PM +0200, H. Nikolaus Schaller wrote: > > Am 31.05.2018 um 13:47 schrieb Johan Hovold : > > 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 Yeah, we may need to address that when/if we get there. Thanks, Johan