Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp381468imm; Fri, 1 Jun 2018 02:34:16 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKQfJAGHgUmkUBaQTx7qXo9RBy2vFo20mkmkMByNRmgETCHTGyMbqe+n3DnpqbsUh75Wqqv X-Received: by 2002:a17:902:8218:: with SMTP id x24-v6mr10363143pln.57.1527845656857; Fri, 01 Jun 2018 02:34:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527845656; cv=none; d=google.com; s=arc-20160816; b=TOMU8YNKyoZq5JHMie6DHjGSsJwv+jyWX6VpVLHJMD3WSy8qxC7yWIUElWHOuBogMY qmC5gBK0zDd4VHiL/hW15PBZGMittUvsmQIB090GRvV8EQQhoNAf23F0kbJI0NJWQqLg TcZn6JYWlvOs02hlkiMhRKj7ni7UhNMNsC51+eEc9Ss5onXjuw4oemYAlvM9QH2Fac/i ApxawLsOpc+4QdLsBtAvlEa2C1a81T5ygjd4m8f6myCnD1+CZcD32hNpan7MNBn9R3VU c+eyINft3AD1p6NmFC+bUJNdKy8Yr86MU8mmTj5mdI+5lMIvAw55h33cx79GbUWFJWQu qeMg== 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:arc-authentication-results; bh=j2qo53rUtmlnQBRA4TuJ9UIGjmz8f/hdk4j/cBzKe0Y=; b=Q8wQ//joPyM0FWQEEfRnqdzO66c9xP6bvcVBjOQA8hrHVUvMPArSILCbaUizE5ja+3 ZMokWrJlZkpYpQDBof5qsZyw99uC4GwKCVhiY2SgLVe1BFsK5bIhaCEW02y0vKeMLsCD Cv+mPFuQ4uPJGrFPa5uPcOx4GY5cDh0Jfrjbq+u5BEvpOJRwo+3zuKCn6pQlVkgNO5bZ ESIXLTv0ZbDOMkQZoss3uj+b5jimGM6fOjDydeSw5Vc0+f9Zjh1JHJwyYGd2r89rcsDk 6oCJ1dp9wVEN3p4z68yU3lNqZcldbpgHUXprQtIh6os+7LRpSfnRWr8K1zAmG+xPE+1R 30Bg== ARC-Authentication-Results: i=1; mx.google.com; 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 b15-v6si10371847pfc.320.2018.06.01.02.34.02; Fri, 01 Jun 2018 02:34:16 -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; 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 S1751808AbeFAJdW (ORCPT + 99 others); Fri, 1 Jun 2018 05:33:22 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:36597 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751769AbeFAJdQ (ORCPT ); Fri, 1 Jun 2018 05:33:16 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 71B3D804CF; Fri, 1 Jun 2018 11:33:14 +0200 (CEST) Date: Fri, 1 Jun 2018 11:33:11 +0200 From: Pavel Machek To: Johan Hovold Cc: Greg Kroah-Hartman , Rob Herring , Mark Rutland , Andreas Kemnade , Arnd Bergmann , "H . Nikolaus Schaller" , Marcel Holtmann , Sebastian Reichel , Tony Lindgren , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH v3 0/8] gnss: add new GNSS subsystem Message-ID: <20180601093311.GA31639@amd> References: <20180601082259.17563-1-johan@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GvXjxJ+pjyke8COw" Content-Disposition: inline In-Reply-To: <20180601082259.17563-1-johan@kernel.org> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --GvXjxJ+pjyke8COw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > This series adds a new subsystem for GNSS receivers (e.g. GPS > receivers). >=20 > While GNSS receivers are typically accessed using a UART interface they > often also support other I/O interfaces such as I2C, SPI and USB, while > yet other devices use iomem or even some form of remote-processor > messaging (rpmsg). >=20 > The new GNSS subsystem abstracts the underlying interface and provides a > new "gnss" class type, which exposes a character-device interface (e.g. > /dev/gnss0) to user space. This allows GNSS receivers to have a > representation in the Linux device model, something which is important > not least for power management purposes and which also allows for easy > detection and identification of GNSS devices. >=20 > Note that the character-device interface provides raw access to whatever > protocol the receiver is (currently) using, such as NMEA 0183, UBX or > SiRF Binary. These protocols are expected to be continued to be handled > by user space for the time being, even if some hybrid solutions are also > conceivable (e.g. to have kernel drivers issue management commands). So.. while you did good work on serial power management, this is grossly misnamed. There's nothing GNSS specific in the code, and you are not presenting consistent interface to the userland. This is _not_ GNSS subsystem. This is serial power management subsystem, or something like that. GPS/GNSS subsystem will need to be built on top of this. This will never handle devices like Nokia N900, where GPS is connected over netlink. > Another possible extension is to add generic 1PPS support. And there's nothing GNSS specific in the patches. Best regards, Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --GvXjxJ+pjyke8COw Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlsREtcACgkQMOfwapXb+vLGZQCfXV8ML69UM59a7/UJ8YKGzNBp 3C8Aniq+RbMLh3WlvmdTTjzU8spc54ps =tkXS -----END PGP SIGNATURE----- --GvXjxJ+pjyke8COw--