Received: by 10.192.165.148 with SMTP id m20csp2891673imm; Mon, 7 May 2018 03:02:08 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrdXCM7xVubh74JmkOFuVkzwCobzX73qQT4H0LCYRAsoYJ9LPZsU4oevJbJYojYav6CPtHb X-Received: by 2002:a17:902:76c4:: with SMTP id j4-v6mr5405352plt.257.1525687328102; Mon, 07 May 2018 03:02:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525687328; cv=none; d=google.com; s=arc-20160816; b=t6CCLCQVBCoW2kH85ZlLzeLrNesOGButPAqkYFiee5enq6suCyvXqRIwg+nuECI/9o n/oD6Eqmq5+X35jdCdJH+SnVgWTwGkilm4mBVegwoaw/8JXYvfbwLbmjU1BK9jzjsqlW 6aMAv1dPJx4BzdW80tKMikAZtbBhxGlSpwLqXp+kKcsSEKJCDP2x8Dug5GRXH0IOvWmC Oipd3ejaDyPXVGOtab7TL/7rxZnSQqboOeNFLdW9iFakdXIyVeUCUsKCZcmBcsVXu2qz +CjsIs1Hrddkvc3Qg0dAQ/4qrDyL5NrgQJ8QzhmWerz9NrJ+w7TS+Wzw++tSmA2cixjE VC+Q== 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=04FKQ28tq2c8hsfvCPSvCWOd/dNkbTCoU5DcvHkDd+Q=; b=sUDIFbjODiGEdSThpiRv2XVIUD0vKh1LQGv0lCvTFlBQSrQli6LoJ00/NGRZy8W/iw QLTSrwqN83xSgNj2JM60JnpzF1XM9FoVRvSr67QfTJQ0EF5g28QL953NAzNz+ctCBSHb sQ3luRt4KfjPgUcvwRLhn2vT+nCA3LFDVrVgBafEoR/h1OT7tPXokF6bPYXSmI1Axuec vWK07RJoGmwpAhCc43PKJVmAjlW5xvly/TN8hemXubk7QqgnD7UJv2uc/j0Civy1yj9+ AgvEKg51CX35PH1xn42QfZdSLR1RmNjTWMbSTbr/Z9hRc5539772WEOrs/FXIuGkSwwi I7Qg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=XxCV36Qw; 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 v184-v6si17996059pgd.82.2018.05.07.03.01.53; Mon, 07 May 2018 03:02:08 -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=XxCV36Qw; 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 S1751901AbeEGKBn (ORCPT + 99 others); Mon, 7 May 2018 06:01:43 -0400 Received: from mail-lf0-f42.google.com ([209.85.215.42]:37385 "EHLO mail-lf0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750795AbeEGKBj (ORCPT ); Mon, 7 May 2018 06:01:39 -0400 Received: by mail-lf0-f42.google.com with SMTP id r2-v6so3571206lff.4; Mon, 07 May 2018 03:01:38 -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=04FKQ28tq2c8hsfvCPSvCWOd/dNkbTCoU5DcvHkDd+Q=; b=XxCV36QwqPE0bPMVkynfm02oL0ZFXIprY8k76xu2aVS1aGvvdlXROMTDPbtpqyc/l/ 17q11M5fI8VRQFl76HAC0tKTKeE0XEZxzaDnmtRDASjfU0WNwyi5/oqbTFiBCfrxpQHV N7UYOORbAtWTberWHmy8FBVanANLybcPyOvNmDFBZnPx6L/0iUSxi9vnHI/TOeKL+azt mSCY+zkUzrndvbrKrya2YX+I0M6jUqaDeUxcjgHgHMTNashqh9UvBG1BMROQmK5eIKXM cnXzl3cjOrlvUmHPDMjcSxEJJZNA7pYLROhCD8Deu/WUuCj7jPcAYQWtzrgf7K5c+bop OYKw== 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=04FKQ28tq2c8hsfvCPSvCWOd/dNkbTCoU5DcvHkDd+Q=; b=EY/Orlvi4RtuwEYMbiqvEXRiJWG/ahhV2GpecQ6qniDbv1Qo6BoQuOl3lnNKr2zX0V ppBg4s4RBB0v7dbpejpjf7ynjr2EVoSK7bWTvb5+t8I3nW0vv5m4DCalcP6jgCAHH4wI oRcfZK18gkR/EaT6F0MEypPyKn6qqzWQC0StIIMs6DRG9zSYdi1d+/u6/0bve/xHsA+c wKAiAKV83jTll3KwNUUYz7UKEeBsSUeuJDovCNrijwsfku0lh7keLzoJdYJ5WtW7sPoX UGS2QcR3tHwZbrApNv+hlHvqWTsJ+pCNpjMn7s/rdgGGZ4THhjjxtT6cqa2dgcvWeY61 kseQ== X-Gm-Message-State: ALQs6tCCvUPAmKBs/yzZ7vxSB9IlAa2CeEHvvao5H1SqoJKg4u4SgUAV 62JLgptfLVGF0xt8e3ZNx60= X-Received: by 2002:a2e:9c08:: with SMTP id s8-v6mr4936832lji.97.1525687298265; Mon, 07 May 2018 03:01:38 -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 z17-v6sm1768477lfi.30.2018.05.07.03.01.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 May 2018 03:01:37 -0700 (PDT) Received: from johan by xi.terra with local (Exim 4.90_1) (envelope-from ) id 1fFcxb-0006ek-T3; Mon, 07 May 2018 12:01:35 +0200 Date: Mon, 7 May 2018 12:01:35 +0200 From: Johan Hovold To: Sebastian Reichel Cc: "H. Nikolaus Schaller" , Andreas Kemnade , Johan Hovold , Mark Rutland , Arnd Bergmann , Pavel Machek , "linux-kernel@vger.kernel.org" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Greg Kroah-Hartman , Rob Herring , Tony Lindgren Subject: Re: [PATCH 4/7] dt-bindings: gnss: add u-blox binding Message-ID: <20180507100135.GS2285@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> <20180503205037.7be552c1@aktux> <44A0BC7C-67C7-4116-849F-90FF7CF2B1F0@goldelico.com> <20180504114213.3xlzqxe74n55tk5s@earth.universe> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180504114213.3xlzqxe74n55tk5s@earth.universe> 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 Fri, May 04, 2018 at 01:42:13PM +0200, Sebastian Reichel wrote: > Having said all of this, serdev does not yet support runtime PM (at > all). Tony is currently looking into it. Fortunately serdev allows > us to enable runtime PM by default (once implemented), since we know > the remote side and can (hopefully) avoid losing characters (i.e. > with sideband wakeup gpios). I'm not sure we want generic runtime-pm support for the controllers in the sense that the slave device state is always reflected by the serial controller. Similar as for i2c and spi, we really only want to keep the controller active when we are doing I/O, but we may want to keep a client active for longer. Take the u-blox driver in this series for example. As I'm using runtime PM to manage device power, user-space can chose to prevent the receiver from runtime suspending in order to avoid lengthy (re-)acquisition times in setups without a backup battery (by means of the power/control attribute). Note that serdev not enabling runtime pm for controllers is roughly equivalent to setting the .ignore_children flag, which is what we do for i2c and spi controller, and possibly what we want here too. Thanks, Johan