Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp513629imm; Thu, 31 May 2018 04:49:32 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLBt3QEa+aDvcRLBVfyHFD2LVRrNF2B5zD8Drbta5BEGckdTnhjozXE/qUc09J2ATKUOXHe X-Received: by 2002:a17:902:2966:: with SMTP id g93-v6mr6851474plb.250.1527767372342; Thu, 31 May 2018 04:49:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527767372; cv=none; d=google.com; s=arc-20160816; b=yaA+UyHgMgGFU8gm8GQrMiFw4apo9bAnieb3vCXT/iXMZf8vYXgw3v4pQeF3onOgXt gk9dLce8jwUQaImzo+xFC9B/ueqHy76HEU2bncO2wOvLahNuLXbQGQjlNDpbtIEaKkwH ym0cCyBOROEuxbS+8vFN96MS2WU3hJzTAftx/l8mJ4y/yRPWpHyqOw+wbeRGeGHXWVPA ZKptKwUIXmwtBKAFpP4lhY4EO2pEQj70nR9HhmxGaZVk1EirRwqh6dXt3DxIDsRyvknL k/HAb2XkG/wZ38+kicfj0m3Vxktxhe/+nGA9z/Q0DT06lCDzKKehjLpLfRP3sp4eicxW STNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=tQeMUsLtA6L7ajwd8g9hxaar7Gz7mEEWU1Ue4//+Bh4=; b=Lja/If9TQqwUFazC5qvD6rC1TjV1P1odst+eGpx6JN9WqETL16SVqq6zd/M9/d+kVH Hn8nElIDqhIuv6KsBMQ2DBtYFDYRIn0sO8ggk/Iw48vrRfSqeSpVUWcs0t1L6ReYkAip sGwNS6BtgsXIJ3I5kDcos0/pf9SQf61WHEDLu6JHxQPj6ZmpHYtngA8iwShhTOSCorvK jpJ0bUPPFBJnF2EkyRzQG17+yvfkKN7lT92qTl2iGDAqv3S3NJ7tlr9+K9jDrSxpcbEy KSQgTT77ETonknW11cc0ciMFxKHvHK4jeiDqmVCopwwlR596qCwPN5WTVjFey2Ti4TE+ Zv2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=arFrM/tf; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d17-v6si29136424pgp.214.2018.05.31.04.49.18; Thu, 31 May 2018 04:49:32 -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=@gmail.com header.s=20161025 header.b=arFrM/tf; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754753AbeEaLrw (ORCPT + 99 others); Thu, 31 May 2018 07:47:52 -0400 Received: from mail-lf0-f65.google.com ([209.85.215.65]:35873 "EHLO mail-lf0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754522AbeEaLrt (ORCPT ); Thu, 31 May 2018 07:47:49 -0400 Received: by mail-lf0-f65.google.com with SMTP id u4-v6so9294686lff.3; Thu, 31 May 2018 04:47:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=tQeMUsLtA6L7ajwd8g9hxaar7Gz7mEEWU1Ue4//+Bh4=; b=arFrM/tfZZs06VFsBBELZLTf5q6K5ev4luBQLfM6DbSMHmg8p/H1Rnv3dp6QpeYWFA ABoRrdXQCwJ+wP/j95ey3fDnRs7mQYUVuym55fZZPsJFAKWmYeSLNXV7u/PjIK3WGoS5 tkVLRmqmkwwSPjqtdd/IzEDFi0EWq+J6pJY+EJO3VCQah+fDvQ00P2ymeG1QlnpG6MUm Xo1gNax5ZW8m08dZmglHVlj9MDOmQzkmF0tXdGeia5QHG8kroD9qwdkP7TDFT9/2g+6N MhePxjYok3g8lMXyUNI9+X+KCUoLH6dU2oKmJfjc4UP1wvi2M6NdNRVSUZAaBaZDnG93 IZew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=tQeMUsLtA6L7ajwd8g9hxaar7Gz7mEEWU1Ue4//+Bh4=; b=OaEroA0OjlFgj33ES5yvicpIPmO2DPTAqwBrUR3YJWfBdZPHo4xoTRUG9poZm37+vZ Lh0NHA8FP7Z6Ltrhe8TtWWgZMOWuUIfbzA3Gxm+TmrHjcCbZonKfpDK2KnzyG4JT6q8W o9ZjUR/LkPF0f6yeJJ1vC2R9ea6kFUT9p0yKp8npJt9Qu8q37iTXs36ZaN92R2Ll19IR pcv/Wv008Bvhd/1mnWvkLD1eFCcvdY0k0EbUatxcCoGChMcCKbjakEb5lYzhtCuii6I1 qGmXWRdfuHTpq/Uiuef/VvJ2i4DfU6NvEXdDBbeARgEeJdlf6xwpGDNswIJ9M+MtUeR7 bIGw== X-Gm-Message-State: ALKqPwfk1UHdCgb4rMXdIFmo1UI1ABYesRB1T1qOalgdcD/bI/1lyok5 1Es6m/yoPJudB/iOSbX8/7g= X-Received: by 2002:a2e:944d:: with SMTP id o13-v6mr5198606ljh.65.1527767267606; Thu, 31 May 2018 04:47:47 -0700 (PDT) Received: from xi.terra (c-8bb2e655.07-184-6d6c6d4.bbcust.telenor.se. [85.230.178.139]) by smtp.gmail.com with ESMTPSA id b202-v6sm8178231lfg.42.2018.05.31.04.47.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 31 May 2018 04:47:46 -0700 (PDT) Received: from johan by xi.terra with local (Exim 4.90_1) (envelope-from ) id 1fOM3T-0004xd-34; Thu, 31 May 2018 13:47:43 +0200 Date: Thu, 31 May 2018 13:47:43 +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: <20180531114743.GG3259@localhost> References: <20180530103242.20773-1-johan@kernel.org> <20180530143822.lvtwjvbqe7gvbvgq@localhost> <20180531085242.GE3259@localhost> <943C21CA-EEC6-45E2-997E-A6E1FA0549EB@goldelico.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <943C21CA-EEC6-45E2-997E-A6E1FA0549EB@goldelico.com> User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 31, 2018 at 11:52:18AM +0200, H. Nikolaus Schaller wrote: > > > Am 31.05.2018 um 10:52 schrieb Johan Hovold : > > > > 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. > >> > >> There are two possibilities to consider. > >> > >> 1. If the PPS causes an interrupt, then it should hook into the PPS > >> subsystem. > > > > Registering a PPS child device is what I had in mind for this. > > This seems to be duplicating functionality that is already solved by > > https://elixir.bootlin.com/linux/v4.17-rc7/source/Documentation/devicetree/bindings/pps/pps-gpio.txt > > and > > https://elixir.bootlin.com/linux/v4.17-rc7/source/drivers/pps/clients/pps-gpio.c > > Or what is bad with just using that? 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). Johan