Received: by 10.192.165.148 with SMTP id m20csp5112715imm; Tue, 24 Apr 2018 14:01:23 -0700 (PDT) X-Google-Smtp-Source: AIpwx49uF836pf0FW/PlyBG4iepU1LKt9H6PvWFhD1055WCOEACt3sqp6IE78wPOWueqIksxJqht X-Received: by 2002:a17:902:71c2:: with SMTP id t2-v6mr15892283plm.243.1524603683018; Tue, 24 Apr 2018 14:01:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524603682; cv=none; d=google.com; s=arc-20160816; b=pV3WpFFasZ6M8d/yM1lYfKFY21+Lf13s/J1gPD6RHiiVy9vJ3hoBMFX+wOmr5kTg6T G5O1Y8+ubEmxpXeVyi72NM3GV114SfhoWHbmBbySUHxot58/VjwUDSMBoUx+EL6KF9T7 3N4iN9ZGBernqYAnToWGFizoc8uIKgGmfbRiRFqQGzVV550o8UjCH47X2oKdgKnT/Sex UA6C/gxOrkghXihmArT6bbDrirQj3ZX6PjDWEtr9cfxSyj573WGCMTzsF/HfLQjovyPJ 5tXf0OqvXzTHHtRHKSp4S+8rQmykEpygwBtctzqzR5dUmCGBwNxUNOEfD9qa8561pI72 11Ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:arc-authentication-results; bh=s1SakCgWmR8rClOFWo4H7FpuDacmExEndR+4cMsx3W8=; b=Zf7avUvwmC30gati4YONVcinxShxnXP6d+vkIQM6xx0WPYTA2YPwSb4QWyQo4yxEqx PPjs0YOU4KOWAZievSrPodeHXclEatKq4HN9vAmOs/w6sTog5/6C6Op+3MN0aOW50q9B 6fmBJ8O5f4HjFKx921O7K5PmpKlql2zhE4tdyI0o5FWAJNbfoB4tWjgRf0IP3YeGlkrJ fM86kI8sKyUgJHEv187dUosfkyM9LZS90O+9q+fz6jONXSpRZgBdywhF0eI9GQn21/JJ KmZrzr3WvC5pp1Ryj6TnYudllxkXYiLRPKUtxamVdsxMLqGJitxV74xmIVl8BOUh2k/j 5xjg== 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 q7si11984678pgt.242.2018.04.24.14.01.08; Tue, 24 Apr 2018 14:01:22 -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 S1751003AbeDXVAB (ORCPT + 99 others); Tue, 24 Apr 2018 17:00:01 -0400 Received: from mail.andi.de1.cc ([85.214.239.24]:56806 "EHLO h2641619.stratoserver.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750756AbeDXVAA (ORCPT ); Tue, 24 Apr 2018 17:00:00 -0400 Received: from p5dcc3803.dip0.t-ipconnect.de ([93.204.56.3] helo=aktux) by h2641619.stratoserver.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1fB52Y-0000Mw-AK; Tue, 24 Apr 2018 22:59:54 +0200 Date: Tue, 24 Apr 2018 22:59:48 +0200 From: Andreas Kemnade To: Pavel Machek Cc: Johan Hovold , Greg Kroah-Hartman , Rob Herring , Mark Rutland , Arnd Bergmann , "H . Nikolaus Schaller" , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH 0/7] gnss: add new GNSS subsystem Message-ID: <20180424225948.4d6a121c@aktux> In-Reply-To: <20180424201318.GA14390@amd> References: <20180424163458.11947-1-johan@kernel.org> <20180424201318.GA14390@amd> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/iUOIrxxr_190Pw+bytR+Egf"; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/iUOIrxxr_190Pw+bytR+Egf Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Tue, 24 Apr 2018 22:13:19 +0200 Pavel Machek wrote: > Hi! >=20 > > This series adds a new subsystem for GNSS receivers (e.g. GPS > > receivers). =20 >=20 > Actually... I'd just call it GPS subsystem. Yes, GPS is a bit > misleading, but so is GNSS. We'd like Loran to use similar interface, > right? We'd like to QZSS to use similar interface, too... >=20 > https://www.pcworld.com/article/205325/japan_launches_its_first_gps_satel= lite.html > . QZSS is not _global_ positioning system. Still they call it GPS. I'd > call it GPS too. >=20 > (Alternatively, we could have drivers/position and /dev/pos0...) >=20 > Looking closer... I'm not sure if it makes sense to push different > protocols (SiRF, NMEA, ...) through one device. Userland should know > what protocol to expect... Yes, there will be common code between > /dev/nmea0 and /dev/sirf0... >=20 > I don't know. I'd really like to see '/dev/input/event0'-like layer, > so that userland would not need to know about different protocols. But > your work solves some problems we have now... >=20 I am not really sure what to do here. The question is if we can remove nmea parsing from userspace if the kernel does it? There is the use-case of having external loggers storing nmea data and userspace will access the logger data and needs to have nmea parsing for that anyway. But for other more exotic stuff, it would be helpful that the user space does not need to handle the differences. Hmm, maybe userspace could register something like uinput devices for having more complex calculation. Maybe triangulating using gsm cell reception data. And the uinput-like device would have properties attached like accuracy, costs. Regards, Andreas --Sig_/iUOIrxxr_190Pw+bytR+Egf Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE7sDbhY5mwNpwYgrAfb1qx03ikyQFAlrfmsQACgkQfb1qx03i kyRDKBAAwBRhpKL96WTkI+XgVKGr/Px9/pFXz0+YP5+lKoRV/8F9K/EBgjvKCBCg OjHQU95fi06/XrtK9nCCysKrzsitZWKCmocb3gBbRoAzVCQrtBclfCfkgAZuDvY0 U80v2+lk8fqW4l9JKK2mYXed9nJBMRqbp8YXRHD72JafNHhrIdMQgT7GnlHLej2R uWDSMpavD9koAbGV+3zvdt39jeMRwkOYVIa8W6j+p/OA78QXVxwOZh9r77SqJXq3 GR+jSNzGn4Y0zo75F8V12gZd/DnDF/uz3eDv/IEmYxa7BB0vJD6262pc5FRzuztd xC5wEzPBJxsIIjXs568WfiVOgSQ0qToYeZLSh0li00dEObGvJo6cwdNXDX3LgFsG cVtAJnLj7H9Qe6smiAnWMFGVl8oYa8ulgjMbviBX+YabkORb16LCrfEnPKEXA9xM jKOYatE6BMtG2HfsfdyA8/25m2DDQ7z9ATlF6pzRJBCxFw2M9O1ZbCwE/yS4s/9U RA88dr388kcqGOtnSzWp6RRycOPBUlTCXavSA2U147XFUYjOnAxclfkPU6nevB0G lthNx5nZainInki5+vB738dOAb2EkTUVYqRwfBPEcIB2OsYbXQSOzemnXFXo3Mo6 AY5sf5nfZDZFeZ6tsJxvLe9XWMkg7V/lepcJLGxskkhK1yFuGkQ= =x7d4 -----END PGP SIGNATURE----- --Sig_/iUOIrxxr_190Pw+bytR+Egf--