Received: by 10.192.165.148 with SMTP id m20csp4939146imm; Tue, 24 Apr 2018 10:52:20 -0700 (PDT) X-Google-Smtp-Source: AB8JxZq6vHJ/yu9T1Ua3VGAJAgxTsPSb7uJzD+5h3r110KUC3GGNJauLe0u2WodCIawBp235giNJ X-Received: by 10.101.80.204 with SMTP id s12mr1606767pgp.313.1524592340353; Tue, 24 Apr 2018 10:52:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524592340; cv=none; d=google.com; s=arc-20160816; b=KNU0QZKzJouKo7CZx630YdvL4gZ/yiTHY19WDSbIaiQHqdILuQoT5a+F9fsAnBfQS5 mozDi3nxaTxKPSatSIwE+BT7hMVG8Eo+8Lk5hgQljgpj7ig1FamClJ5mHhq0Hs0zvAH8 aDWTi/E3x0B1kygUwiwHWbBN4odcM1cDaAjmqnaW6+Qor/9YfUzlIK9ueFI7jnFEFkWw tuupaicDhPwUSH3lLFrpcWGiyc5Xg4jqnKC9B0xGkQmFS2ihTYan6C5iD/sQsGmx7Ao9 pcNJ6AdX0gLZsfADpkhIxKxT7W8YUvE7deDhElW+nDW4TEPStoVwWHrdHQb2lfiA4k2u U7vg== 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=9rdA5RKRe1r30+h/g5ZMu5UQ+SpVsb7QKTlNqWkj1zA=; b=ZumL4VBCcB3AzXBlFbarCrH+wLSwJmjzZeiRlxQC6WxtXuPySylYBfE/VJYTbyG0lG Lf7vxSo76vK6YZrNTye6tKijAQ7Qq6PxAON9YP+sbYvrXvrYzToodeeetTXuh17HJXRb Omkq0t/+B5A+aAkdpu5JYy+SUYT1iPCtx4NEtZf3LWGgx/2lzuYhUdXHr4qE/+mQaJxR 2yDFQr2Vbi33EOwzo966E41fn7vfzX70GTjYOQHR6DbC0+QhgfUJLLY6R2rslMdKBcxw g6OXLaGVfF6s63o0tMkJn2rpU6yppFNgBJ19w9u5UnbTo6r/PF5Yh2rkk6vOhXgiwN2C MwMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=oiyVr7vA; 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 h33-v6si14461955plh.483.2018.04.24.10.52.05; Tue, 24 Apr 2018 10:52:20 -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=oiyVr7vA; 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 S1752766AbeDXRvA (ORCPT + 99 others); Tue, 24 Apr 2018 13:51:00 -0400 Received: from mail-lf0-f46.google.com ([209.85.215.46]:41224 "EHLO mail-lf0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751561AbeDXRu5 (ORCPT ); Tue, 24 Apr 2018 13:50:57 -0400 Received: by mail-lf0-f46.google.com with SMTP id o123-v6so19011797lfe.8; Tue, 24 Apr 2018 10:50:56 -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=9rdA5RKRe1r30+h/g5ZMu5UQ+SpVsb7QKTlNqWkj1zA=; b=oiyVr7vA6w5p1tWhTYrC+tsPNhn2HHe3/Wys5mkt1eShXXCy29ThpoKbuulbxvk8tJ HKdBlKcf2hi2bnPOfBrgo6VSOrDtH9aA8Vh9Abmni+TAzOS3LvYX5j4tbbLxsYhaSeX3 v4kaR5I38NoUADZLMLIbF2/5W0SfwAyCZOsOfQ5XQXPO5ft4gHw8kdeWNo23KO+1lXgN Bll4HgscN/w4N1RBLhT8y65thzaB2+5lbEC8JpdqAojPd2geIy6AWa/6c3jvNeR4+NJQ mrOvicuwGg7mMCm3u8BtveomIraGjdRPR3RCFGW302bWJoFP19cWccZr/r2EprjmRhqo g3KA== 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=9rdA5RKRe1r30+h/g5ZMu5UQ+SpVsb7QKTlNqWkj1zA=; b=fpLsrMnc3xJQ1bdZbJiC8ZUV7ZgJEk3JbD8z6UNR9UyZvHmCFEnTJhTErvJSzl9+wg HAIPAQgBxnZ1y0xxvy5ClR4inaEDDykL7cbm8bf7I98nIq5C3QFWFfi4Asvco07sRnx3 JB0Wj9lx/cSzZbyob1yN3uK4xfaxmckOk6M1O8rcteazgsFwR53BJgE7emUFQtOESBad FH40DvWs3Y8hYWYd+KRiPn5swE+kKAycS3LPz9tQsAFplOYDOea7/xwrXJRRAGoggew1 K9E7YAUtVphzGaj8DTfBD+CU4TVYBEvRO1AI3Te7SMaTTzCkf7c+ec+3mfvz/VCcKK47 W5Ng== X-Gm-Message-State: ALQs6tCLzXtN6WrM/xHW9VtwumbCJFk0dWPFVxGn48Gqd+PupiBIwY/o Yb5r/raF1+6176ctKtTFnYg= X-Received: by 2002:a19:d850:: with SMTP id p77-v6mr11822629lfg.52.1524592256186; Tue, 24 Apr 2018 10:50:56 -0700 (PDT) Received: from xi.terra (c-8bb2e655.07-184-6d6c6d4.cust.bredbandsbolaget.se. [85.230.178.139]) by smtp.gmail.com with ESMTPSA id j9sm2911520ljc.72.2018.04.24.10.50.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Apr 2018 10:50:55 -0700 (PDT) Received: from johan by xi.terra with local (Exim 4.90_1) (envelope-from ) id 1fB25a-0007bQ-Qq; Tue, 24 Apr 2018 19:50:50 +0200 Date: Tue, 24 Apr 2018 19:50:50 +0200 From: Johan Hovold To: "H. Nikolaus Schaller" Cc: Johan Hovold , Greg Kroah-Hartman , Rob Herring , Mark Rutland , Andreas Kemnade , Arnd Bergmann , Pavel Machek , Linux Kernel Mailing List , Discussions about the Letux Kernel , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" Subject: Re: [PATCH 0/7] gnss: add new GNSS subsystem Message-ID: <20180424175050.GG4615@localhost> References: <20180424163458.11947-1-johan@kernel.org> <31CF06C6-D6ED-4930-8D81-12256A518059@goldelico.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <31CF06C6-D6ED-4930-8D81-12256A518059@goldelico.com> User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 24, 2018 at 07:40:00PM +0200, H. Nikolaus Schaller wrote: > Hi Johan, > > > Am 24.04.2018 um 18:34 schrieb Johan Hovold : > > As proof-of-concept I have implemented drivers for receivers based on > > two common GNSS chipsets (SiRFstar and u-blox), but due to lack of > > hardware these have so far only been tested using mockup devices and a > > USB-serial-based GPS device (using out-of-tree code). [ Let me know if > > you've got any evalutation kits to spare. ] > > Ok, those drivers look nice on first glance. > > BTW: I have refactored our w2sg00x4 driver into a gps-core (still creating > a /dev/GPS0) and a driver using a common API. > > With that it should almost fit by coping some lines from your serdev based > device drivers. I think it should be done the other way round (if I understand you correctly), that is, by adding support for configurations were WAKEUP is left not connected to the sirf driver instead. I had that use-case in mind when implementing the driver, and some ideas of how it should be done, but did not get around to actually implement it yet. Thanks, Johan