Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3063323rdh; Mon, 27 Nov 2023 05:55:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IE8fOAswoRdu8vErN1l3svQZYx0DjI4ZgYAgtVCl/H4wt4wA7/XjXokAOgZBXhCDP1LsOrh X-Received: by 2002:a05:622a:1894:b0:41c:bbbc:2ede with SMTP id v20-20020a05622a189400b0041cbbbc2edemr15423758qtc.14.1701093311526; Mon, 27 Nov 2023 05:55:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701093311; cv=none; d=google.com; s=arc-20160816; b=b1Fs3E4CaHUEpyIdb+YMD/3tezbx/5wIpbt3fd74GEoh/GKXbpsHjIo9T9AqZtO/D3 mJnRfsM5ASyHiJhMAET9nUtxO86zX3uyHtY0riJoGtbha07ZD/lmeZ/55W/wqQ1kM4Ha zG7HvSvkx11qyuvPXIpXoo2ybcfGHZMkILJbftU2NbR9rgKnhEQ5F9bbVzWVxrLoWTx7 x6/s9vi+Im2I4A6YDt/VVhjwJHhPFi2lAJeGmHZNfK3hocpx5d6HQS/fEGooIs6p5sDU qc+/VLLYXuFYjgSy3/T8GfRalVkz/X+OuO5wuzvkynEjYm6xm0gphC35OUz2YWPX/cTv BjNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=8rBKYsjXyuZtw0tITzRdKeR+1QaImSvJEFuOSTNN1bQ=; fh=a4BneCllwRxD8LWOJ8nHVLLqu9h/T2wxGhrmOZTQhz8=; b=uksFd1+65CMcGGK9nuzFAaoEjSFViWfnoGoBJP3Rv4K0jzYciDL09vSblqHhb3qCVU iWag//NSLd6d0HDyC/6ErH+bdqaEspChCToWr8CgFMI2mY0FO7TyMjupt5/l1b0YYh1U NX9xXN94IpwcPgX2ln0cJMYA0i/D8LEamG8fKeuJTgYgVxsdBAVa6KcR3h8nZ/poww38 n0aZ4/21lGH1+Bm21BI0wotoWm0vANZG8R5Xu7eCQH7J4JbyGow8DES5Fiqh5564ngYX OP/5eQ+MH0cY7Yj4ru4gTXzFQyYz2KGgUSs+/YVnwH/IreM1yJUSV20pYGE1l9ODohPA mXUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@atomide.com header.s=25mailst header.b=lDa+yf0n; spf=pass (google.com: domain of linux-bluetooth+bounces-231-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-231-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id v13-20020a05622a130d00b0042377f4f464si9064220qtk.647.2023.11.27.05.55.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 05:55:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-231-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@atomide.com header.s=25mailst header.b=lDa+yf0n; spf=pass (google.com: domain of linux-bluetooth+bounces-231-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-231-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 9420B1C20E19 for ; Mon, 27 Nov 2023 13:55:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F213F30353; Mon, 27 Nov 2023 13:55:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=atomide.com header.i=@atomide.com header.b="lDa+yf0n" X-Original-To: linux-bluetooth@vger.kernel.org X-Greylist: delayed 256 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Mon, 27 Nov 2023 05:54:51 PST Received: from mail5.25mail.st (mail5.25mail.st [74.50.62.9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B43652689; Mon, 27 Nov 2023 05:54:51 -0800 (PST) Received: from localhost (91-158-86-216.elisa-laajakaista.fi [91.158.86.216]) by mail5.25mail.st (Postfix) with ESMTPSA id 2844060505; Mon, 27 Nov 2023 13:54:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=atomide.com; s=25mailst; t=1701093291; bh=EtIU+PEYgPCx3Mm2g0hJqVPScocVED+L9UPkdbOXz1E=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=lDa+yf0nu24ZFF11mlVKDcQNxjjZPmQEpyhqhHgHNjBNXQ6bjrTCAbfaVOoz9XVYe 7NcUJewdhEbEs/TiJGYhz36LdF/qRdEKaUVbzHwDG6ISRuB00apByCCXVhYnXiKKUR tSF4mAZQMKb+hb1QXElHSZBd3fS5hO4gftfKEfDivEPvvEeLBCOzrLgnlHZRpQAnbH L1w+T8TV0Bh3G4r9iuChudd0L066qawGN4U3c2mxbsagLdbw+WFYs8V4fq9OPBisLd DprrwpQksmevBSGlYy7aKr/Zlp7vkhCyE8Ehdadyc1I9XUkJBkWM0NsFNB8oC/L9h/ SYyU2Zj0R8Awg== Date: Mon, 27 Nov 2023 15:54:24 +0200 From: Tony Lindgren To: Andreas Kemnade Cc: marcel@holtmann.org, johan.hedberg@gmail.com, luiz.dentz@gmail.com, johan@kernel.org, arnd@arndb.de, gregkh@linuxfoundation.org, linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, tomi.valkeinen@ideasonboard.com, =?utf-8?B?UMOpdGVy?= Ujfalusi , robh@kernel.org Subject: Re: [RFC PATCH 0/3] bluetooth/gnss: GNSS support for TiWi chips Message-ID: <20231127135424.GO5169@atomide.com> References: <20231126191840.110564-1-andreas@kemnade.info> Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231126191840.110564-1-andreas@kemnade.info> * Andreas Kemnade [231126 19:18]: > So the main questions I see: > - is the approach right to abandon drivers/misc/ti-st? Yes. > - Output at /dev/gnssX: > AI2 vs. NMEA > The chip can be configured into sending AI2-encapsulated NMEA, > or proving data in a binary format. > Some research has to be done yet for the details. > A pile of logs is waiting for further analysis... > > Arguments for/against NMEA: > + Userspace is prepared to handle it > + Power management can be easily done by the kernel > - Less functionality can be used. I'd go with NMEA format as the default setting :) > Arguments for/against AI2: > + Full functionality can be accessed from userspace (incl. A-GPS, > maybe raw satellite data) > - Userspace has to behave to have proper power management > - No freely (not even as in beer) tool available to fully use AI2, > so there will be only a real advantage after long "French Cafe" > sessions. Seems AI2 could be optionally enabled as needed with some writes to /dev/gnss0 to change the mode? Regards, Tony