Received: by 10.192.165.148 with SMTP id m20csp2881965imm; Mon, 7 May 2018 02:49:47 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrnm2ZoM6mM85hG+BM6W7R9exMTcah6bUtIffHyz6Pl5d82b9Ba6feJtHvd65d/NlE4nQrY X-Received: by 10.98.8.69 with SMTP id c66mr24349114pfd.189.1525686587026; Mon, 07 May 2018 02:49:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525686586; cv=none; d=google.com; s=arc-20160816; b=eYAZCN38a+KOlggESC1vuFRhIqCeuY0kUfKuScZH0Y5gHkwkm1Rxhrw7G1jTOQ1riU UW9O444vG6QTxwCR7cv9mvaU3Mc9my3cwUDIFxUJqcCWncbSUsAfT9zDc90Tn4pOvpV9 3Clz5vAVNTbEE/cGnnYg4KBGjG3RblQY5umacd8pcUusFrb/VBmkPLb2VEM186GxGw/1 p0xzFqvDkXdCe6HpHRwTrLwQEgOICyW3TpLuP6LcYmOaAP/2mrSE+mdGHxrDJtM+/o5o ALW3nYz/URBltYOo416cA6mZcqXKGhL/RDUmovgocbipfXr0hiYr4M8rriZwednvsDAv qTTw== 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=YEpJ/k9awYfWNoM/zq/xmqee+LRl6V3mAsONRCk96LQ=; b=dHXzlsvFusTGvimuDot8HR8t5BlEciDXZS8ZBFONt/58SUunLEdIwnS8fLHeKzarvr 91afwcVTVMpciXlDgBQYgd3XWflLPgw5gGKtROZRV3kTXh+3SVqXHdnm1dN9VnxJCVU/ YaTbJ9YShHO4WnikbjHl+AxYmh4CUN6YVIR8dC9p9uOZXgRtQU+d+lAvx9VZLM3bE2de 05aIjN3u9auinukjMRC+IFnH7ikyyeukgGfdaYqlA0vRB0DBt1EBSiQxqKE7duBGbWyL mtu3Uf28q2srBHwr4DXbShIsanbGeX4ibSMAohMO4V9eBA2tAxWyN2bjWJdV7VdBHhXj wSKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=gY2VQhBW; 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 p14-v6si15254223plr.131.2018.05.07.02.49.32; Mon, 07 May 2018 02:49:46 -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=gY2VQhBW; 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 S1752026AbeEGJsB (ORCPT + 99 others); Mon, 7 May 2018 05:48:01 -0400 Received: from mail-lf0-f53.google.com ([209.85.215.53]:37266 "EHLO mail-lf0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751147AbeEGJr5 (ORCPT ); Mon, 7 May 2018 05:47:57 -0400 Received: by mail-lf0-f53.google.com with SMTP id r2-v6so3516004lff.4; Mon, 07 May 2018 02:47: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=YEpJ/k9awYfWNoM/zq/xmqee+LRl6V3mAsONRCk96LQ=; b=gY2VQhBWNhSiMySWV09dCqQnZ5F8bu5ht3rzz71snR7rWbQ/QthbzUrBsaRzVd4+6Z 7hETdeS6Xien8M9cxNa4RNEuRm8SGJE8N7yhodpDLJ4Zc9eQ2O/qFvML7KkePrGMZXTh VuXhaCmRD7UYmFvhLKwiqg4oJpRtGn92UA3bgvZaMCPOInlCm+Mz+hlIA4lgiYrcg5Bl j1X9UTO9Tqf0bg3ImVsrhbh3xLbWZIIyZSXe/GliqNmVgQoIHyBK7O1I5oLFUfZAO0JW YWoN1l/5sbxLjb2CzRkuWZuwVBGfc9mmzwfj0HYXh3g1UVXb0fXbgYudHIsTKyTQ8p3f sYUQ== 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=YEpJ/k9awYfWNoM/zq/xmqee+LRl6V3mAsONRCk96LQ=; b=Vb/39HRpBL6cfTmiYzopvcjSOHREZ+xdikOC+7+F4zN+DxyKgmR+aPmnTwUjleTblM m6sB28tnfBzCyBiSBRH3neVTEKvstn9nWtXhfhwXXrN0ext/WxTOGGzRgm4B9+59m3Hw bn0VP2d9ZEGwhm+XHJ+UMb0iWcegsC5VanGQUX8uU8R8ENsGE/gdYXgdCGu172ipKA2W DZz3hcYGa9w85jlE6Pc77b3sGW40EjJejsi+Y1gmm1IOJ7SO2P3O1EZMoh3D4vcd8eZY iHzBjlL/4PUpY8BIhbjgA5Rd4W0eW8baAb1apGgrznpqXQNO8m2AOI0g/FbVva/CPIVi 6teA== X-Gm-Message-State: ALQs6tCPE5qIj36/flo6O5OX/2K7rZoezsao/giM/UnXNhE3pucQxGk8 YgXSpn8EiQ6HoPQB7qdHDMb6u1b1 X-Received: by 2002:a19:f014:: with SMTP id p20-v6mr15322429lfc.54.1525686475559; Mon, 07 May 2018 02:47:55 -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 s4-v6sm705468ljh.9.2018.05.07.02.47.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 May 2018 02:47:54 -0700 (PDT) Received: from johan by xi.terra with local (Exim 4.90_1) (envelope-from ) id 1fFckL-0006aL-CU; Mon, 07 May 2018 11:47:54 +0200 Date: Mon, 7 May 2018 11:47:53 +0200 From: Johan Hovold To: "H. Nikolaus Schaller" Cc: Johan Hovold , Mark Rutland , Andreas Kemnade , Arnd Bergmann , Pavel Machek , "linux-kernel@vger.kernel.org" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Greg Kroah-Hartman , Rob Herring Subject: Re: [PATCH 4/7] dt-bindings: gnss: add u-blox binding Message-ID: <20180507094753.GR2285@localhost> References: <20180424163458.11947-1-johan@kernel.org> <20180424163458.11947-5-johan@kernel.org> <20180426091018.GU4615@localhost> <20180502081637.GE2285@localhost> <5242FCAD-3139-4A9C-B9FA-7BBAA0E6AE57@goldelico.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5242FCAD-3139-4A9C-B9FA-7BBAA0E6AE57@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 Thu, May 03, 2018 at 11:35:21AM +0200, H. Nikolaus Schaller wrote: > I have realized that the w2sg0004 is an exception (although a Sirf chip) > that it does not provide a WAKEUP signal. And another significant > difference is that we have to keep the serdev UART enabled even if there > is no user-space client. Otherwise we are not able to detect unexpected > activity. So we unfortunately can't move serdev open/close into the .open > and .close ops but need to open it in probe. As have also been discussed elsewhere in this thread it may be possible, and it is definitely desirable, to only keep the port open when really needed. But given the complexity of implementing this, starting with a simpler and less power efficient method for sirf-chips without WAKEUP may be acceptable. > Therefore, it is in my opinion still better to have a separate driver for > the w2sg0004 instead of hacking the support of this chip into your WAKEUP > capable sirfstar driver. So I suggest that you make WAKEUP a required > property. I disagree. The sirf driver subsumes your particular wi2wi module and configurations without WAKEUP are described by the datasheets for other modules as well. > We had faced a comparable decision last year with the ov9650 and ov9655 camera > sensors which are almost the same. But not same enough to integrate both into > a single driver. But here we are talking about two configuration for the same chip (even if your particular chip only supports one). Johan