Received: by 10.192.165.148 with SMTP id m20csp358082imm; Thu, 3 May 2018 22:16:35 -0700 (PDT) X-Google-Smtp-Source: AB8JxZp5j2C8jda9LuzOXX9Yd8RtlhlGNSysZZG/BFLQKeTYoqqVDNl5zySy+fFrHAt14zG3Db4s X-Received: by 2002:a63:ba05:: with SMTP id k5-v6mr21128940pgf.39.1525410995401; Thu, 03 May 2018 22:16:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525410995; cv=none; d=google.com; s=arc-20160816; b=SKTvPJMpk0uLWfKA4GWWHU49/Gmtk7RSJWt2e4wv+0axvMdk4TN0KZVisrtyG1l/zo eIhf86CxF1Qhep9wnR6xG7CnFPMLzxBUnF2tpgd0p2liwbsrk9b4l9gS0cYvjxCFdBQc L1eL+cV4fsKv0oSV2JpXdfqzsqfIwnA48+Gkn9RAgCzI/aZAALB1xgs295rQD8RxodCE b1eMM6biO0qP8jIx+N1es21fZL4xG4QF9mXbNmd36Bdh8zgYQ/SUUkvv8r+5hqX1K+sB u+Ga7bS2QtNg2uA3PRWZyyDiadD/F3qaAIfAYu1CvIvbg9m42aiq3DEEEd2zhMvFQiWp 8Vng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id:cc:date :in-reply-to:from:mime-version:subject:dkim-signature :arc-authentication-results; bh=HPD3zx7SD6MHHdOLFMAe1wcnQsKJ2xsbM5Pjqdv709g=; b=jP/2hdSnG6xnviOriMhQHlnE0+Xl1C9l5+mhcQrRRXpSARAGs/xfaKDg00sVA/ZCns tU9SdUJ2FyizeDZot9i3O4YcO/QYQiZU4bUugVGXHE6T2IrBG4n3rQPPyDMBIHEKGR15 2wM0z00FdyeDQ56R4V3n0WAEDGOAK6nr9j9D2v0EOC9nLuAo0QVGG+xze499aSWAcLt/ 9TpjoL8OTU/7n/1SLVgR9yx7R1Oz6dXDbWHJPSc7EwHkf8i7YQIjuv5gzTkY1Hreg+q3 QHFMAtV9MNas6jIwEZcjlG0agDStWkXS1F/FE8mgNCvuByrhuxSJG2g/KXWhxUHMZW4u RPag== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@goldelico.com header.s=strato-dkim-0002 header.b=qNQnKlGM; 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 u17-v6si10004140pgv.17.2018.05.03.22.16.16; Thu, 03 May 2018 22:16:35 -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=@goldelico.com header.s=strato-dkim-0002 header.b=qNQnKlGM; 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 S1751269AbeEDFQJ (ORCPT + 99 others); Fri, 4 May 2018 01:16:09 -0400 Received: from mo4-p01-ob.smtp.rzone.de ([81.169.146.164]:32487 "EHLO mo4-p01-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750880AbeEDFQH (ORCPT ); Fri, 4 May 2018 01:16:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1525410963; s=strato-dkim-0002; d=goldelico.com; h=To:References:Message-Id:Cc:Date:In-Reply-To:From:Subject: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=HPD3zx7SD6MHHdOLFMAe1wcnQsKJ2xsbM5Pjqdv709g=; b=qNQnKlGMvtkY1XIjxKPb4JNcdjr+PBijViM2eqSaOYCa/MXWkp+IcCAV7A3DGMHCV8 JsgiUor914kR1h4mbRFuUvd0Y3mzYMkSgdSh+M34ZGxIARE76rgOF1bE3eOYYhiJ6pqD 42gYRYt681F1hq7z4bgrKHmlWn7nVvXTL853vx26NITRX0/WzeXeIkfKd25RGNEX61f3 wg6xnr8aFqyywLkHoilILv+TcINIwnUms9DOjN9vG6YcOCMcpM5wyjZH8A7lnD7eTeik izPliM08E1Hf5oP/y3zzj73RrzCCFzI5a0uuJvRHYukE7WdZQDKQNi92Mjf1Ew+BO4ID e6AQ== X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMgPgp8VKxflSZ1P34KBj4Qpw87WisNN9EVM=" X-RZG-CLASS-ID: mo00 Received: from [192.168.2.107] by smtp.strato.de (RZmta 43.8 DYNA|AUTH) with ESMTPSA id D0a232u445G21eL (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Fri, 4 May 2018 07:16:02 +0200 (CEST) Subject: Re: [PATCH 4/7] dt-bindings: gnss: add u-blox binding Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: multipart/signed; boundary="Apple-Mail=_616FFBD6-319C-45AC-80B9-58545B949B9C"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Pgp-Agent: GPGMail From: "H. Nikolaus Schaller" In-Reply-To: <20180503205037.7be552c1@aktux> Date: Fri, 4 May 2018 07:16:00 +0200 Cc: 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 Message-Id: <44A0BC7C-67C7-4116-849F-90FF7CF2B1F0@goldelico.com> 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> To: Andreas Kemnade X-Mailer: Apple Mail (2.3124) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Apple-Mail=_616FFBD6-319C-45AC-80B9-58545B949B9C Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Hi Andreas, > Am 03.05.2018 um 20:50 schrieb Andreas Kemnade : > > On Thu, 3 May 2018 11:35:21 +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. >> > how much power does it use to keep the uart enabled? Or should it > better be reprogrammed as gpio? I think it does not need much more (if at all) than a gpio controller on the OMAP3 chip (I think the clocks are active anyways for use by the other UARTs). We had proposed years ago to reprogram the UART RX pin by pinmux-states into an interrupt gpio but that was rejected because it was not general enough and ugly in the device tree (an rx-gpios record where the rx-line is already connected to the UART-rx). Then we did experiment with tapping the UART driver and finally the serdev API was developed to solve this problem. Hence we use it now this way. BR and thanks, Nikolaus --Apple-Mail=_616FFBD6-319C-45AC-80B9-58545B949B9C Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- iQIcBAEBCAAGBQJa6+yRAAoJEIl79TGLgAm6n9MP/ioJJNtWTpXLVcDKETg7CFxN FirfrzbJU07z3SwTU9fPtf8VcC6Uu6835f+1LYUXS8QmYGGwZRSH2miwSQKfYwgy TmEnDjNph5HfS8EP8ONnL6fcYndYsDyxdhqZ9joi6sjUyRriCjDIjtimZY9vddCW XnRm/N92wIKxFoReCJXNOJxtGZ7Ashi0hIVW67o0d1EGbqyttdnzPWRo9BGw6/JU 4+HmgnW5JB8lX0Q5fk8BTni0h2GEWM3KVfqs8jtwKxehTixi7E2h5XfWTtl4swBY Cp250gAZZTlo1QfFSOwS0B58AVO8fecL92zuC2C2tvwtpGZqnQ8UmtoMf3rgR4eo Q+Ph6QVFrez0LdI+hOBvQzcAwX6k4rs3BwDYT5X4ZXRImYco2IJc6TwzEGBSp5vP Arkwm5atWHqCU0qVCzmeAuiUEVb47vYMSQ9fUKYnu1e87NVgpMLP91CQ7xGnuFgw 9pNhsIpD+jS2l98/WP8jo9a9BywhvwniyVotWXKVSXC9+9zNUVMDfmE0vKZNWiX5 YD2vu0kcS7FH0E1te7BdbRUZVzVCl9w/tfBQfbqH0YqMulREEALb5GEBO38VqZDg ExUg45Xu8/b1PjtJf4vUBVSBOGDP9VtF2XTCWUWtIu/Qs/9tZTlAUTdGRy69igAR v+HkIxWuv2aCoTPh9jOK =IwUu -----END PGP SIGNATURE----- --Apple-Mail=_616FFBD6-319C-45AC-80B9-58545B949B9C--