Received: by 2002:ab2:68c1:0:b0:1fd:9a81:d0e4 with SMTP id e1csp208931lqp; Sat, 8 Jun 2024 12:21:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXLlaIsh6q+r4DjMMc5qOtN+88BuiCfAeCVba9wHgmyAiJc6ld738AUsJ/PiYMF83zLLAw1zPWh24a6y/h0TFY3PDuR7+vL9RE4cBkTfw== X-Google-Smtp-Source: AGHT+IGt8TE1d1i3wDXWoIog/F/LuUaTHh66yowicc3Afa90G4Tu5A+rpBljgJ7Ma30GbXd94S87 X-Received: by 2002:ac8:5fd2:0:b0:440:146c:4ac with SMTP id d75a77b69052e-4403623f92dmr159361271cf.16.1717874484308; Sat, 08 Jun 2024 12:21:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717874484; cv=pass; d=google.com; s=arc-20160816; b=v6Fi0j8pYAz0BXt8xcYiqid7bprmNrX4tzkHAalo5r3zemxHJmlCWGcvtQir1VVn1F RQ6MShldJsAe+uFlA5u6mUI07rk6Rdvmt9iFyOjmbldzRGV1RDm6VCPhB+GHWOpPNrtf khkv2EtxJC4OGi4lS+Glu8ll0AoGLKBQjE6Fh/NwSljcLAPcv6waa6T3x7qfuvwWgt7R 5mGe1BnK/WuvdVgtvKI5xZuQnQwyfO4yzk/9pnqzEI2R2TByFkj6L62s1lMd7A51WXiX A++QbwVLQEUe9o58Lzd5DlSWPjEtPcsfINx5Kxmy9uSEuHUmjB6YKahd8xWFbFCcg7CV kn1Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=FMkcj0KhC0yh+Y1ML/8400xCeZKqlnRCVmgyWA2sJsk=; fh=7qFrbx7Tkx9I3HkjbGBo8W0d/qH3fI5wgcAsCfhL+4w=; b=HHwT8f60RSRfYwdGgBqROaoemrCoct1y+WCVW/QhPKih2KmzalcIFBoks9GGf4sSxr QyYoS2/1Nf3hz2Fdnyv7qFL5k0Tq7HovVwLbgrRYmiJea+0td3iEkaq+B3Ohj7FpWk5y uqi5EO/bbXQZe2tFTafk+FimRc0yXxG5peIvonwuB36DUqXejCImf7H3DWyU3wHzTShO cCMVlytXc6gRyctlc3BVWQc/1SI1hlHqmJ7JeNtNmsB3d1Q5Za3+XM1Rrk03dc1dXUPf 3l49dV58P1TQRuXb/ynwyTXFTP18qhd+pY9DQ9U0qL+jXt5DRw2XBL/8Abx9Jw9KvRhc WlpQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@kemnade.info header.s=20220719 header.b=DfWCAf0r; arc=pass (i=1 spf=pass spfdomain=kemnade.info dkim=pass dkdomain=kemnade.info); spf=pass (google.com: domain of linux-bluetooth+bounces-5211-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-5211-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d75a77b69052e-44038b1604fsi68994451cf.336.2024.06.08.12.21.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Jun 2024 12:21:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-5211-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=fail header.i=@kemnade.info header.s=20220719 header.b=DfWCAf0r; arc=pass (i=1 spf=pass spfdomain=kemnade.info dkim=pass dkdomain=kemnade.info); spf=pass (google.com: domain of linux-bluetooth+bounces-5211-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-5211-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 0DA331C20C78 for ; Sat, 8 Jun 2024 19:21:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AC69D1F945; Sat, 8 Jun 2024 19:20:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=kemnade.info header.i=@kemnade.info header.b="DfWCAf0r" X-Original-To: linux-bluetooth@vger.kernel.org Received: from mail2.andi.de1.cc (vmd64148.contaboserver.net [161.97.139.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 66EC41C6BE; Sat, 8 Jun 2024 19:20:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=161.97.139.27 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717874419; cv=none; b=XhjP8tqDGBb23kFgNjKujLmej5Hu44UARezOAFxDAON05eFofbMdNohXnsa/J+LxFDDrjKnsoEN0SZHOenHnn76hPgDV/ZXFBFygtZTuZw3KG1GMTpRAnL5MZtMH7PQbNLhCVZd9SoVDnaPlocnFC441A2/QrXodGNmBxGoiYF4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717874419; c=relaxed/simple; bh=YPBWo/1TW6OyLktEGeZVaCyTmHOZ3JTo2WnUgif8pHI=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Ok7N2gN+t5mKul/MrCBypnkr2CtRw9VJH6yWuiSXLPiWNVpz8QQDpQuVcCmi+DBs/DNtbROVWZGJT4MoFdbuWwLkcMIw8UMwAGAdaVe4W8XXKsRbO1WpsH+pyD/cDX7g9qYfVJBl0ZdAQBt+3TkuR8eojgNAkCal7r+AGuLi1U4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kemnade.info; spf=pass smtp.mailfrom=kemnade.info; dkim=pass (2048-bit key) header.d=kemnade.info header.i=@kemnade.info header.b=DfWCAf0r; arc=none smtp.client-ip=161.97.139.27 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kemnade.info Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kemnade.info Received: from mail.andi.de1.cc ([2a02:c205:3004:2154::1]) by mail2.andi.de1.cc with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1sG1bk-0001CU-2i; Sat, 08 Jun 2024 21:20:09 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kemnade.info; s=20220719; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=FMkcj0KhC0yh+Y1ML/8400xCeZKqlnRCVmgyWA2sJsk=; b=DfWCAf0rdnWt3XQ3DjrNOnMdQ+ m6jpeBTdDkT0In4UhYtmuPg2QUdFByiCeiNK1IGTIuHFreAnYBTtdADGT2+3dRoMsDKb3tILfS0Nx UILLY754dIm2X6IxfH5jTs2OJCJVBhGm1slwT2iRQMnJOObDVi9JRIrvtyTtneqsMgrpHb6XWNFfy niTRJPt32WnfH9xisYt7at8b1xcURoTg/6kychlEflwe2/bxSohS23Xth9s9aeIauQqCuFdkS1gWT sfZScn6O+3/RcpqvpHZpBaJkDQK3nYzPA+SS/bd44x64ppdIVO7mo07NRXYGHUEintMBwGjbIAPQX Aapzcaww==; Received: from p200300c20737c2001a3da2fffebfd33a.dip0.t-ipconnect.de ([2003:c2:737:c200:1a3d:a2ff:febf:d33a] helo=aktux) by mail.andi.de1.cc with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1sG1bh-002vTe-0S; Sat, 08 Jun 2024 21:20:06 +0200 Date: Sat, 8 Jun 2024 21:20:04 +0200 From: Andreas Kemnade To: Adam Ford Cc: Luiz Augusto von Dentz , marcel@holtmann.org, johan@kernel.org, pmenzel@molgen.mpg.de, jirislaby@kernel.org, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, linux-bluetooth@vger.kernel.org, Tony Lindgren , tomi.valkeinen@ideasonboard.com, =?UTF-8?B?UMOpdGVy?= Ujfalusi , robh@kernel.org, hns@goldelico.com Subject: Re: [PATCH v4 0/4] Bluetooth/gnss: GNSS support for TiWi chips Message-ID: <20240608212004.3707d8ea@aktux> In-Reply-To: References: <20240606183032.684481-1-andreas@kemnade.info> <20240606221941.333a9704@aktux> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-pc-linux-gnu) 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=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Adam, On Sat, 8 Jun 2024 14:00:38 -0500 Adam Ford wrote: > On Thu, Jun 6, 2024 at 3:19=E2=80=AFPM Andreas Kemnade wrote: > > > > Hi Luiz, > > > > On Thu, 6 Jun 2024 16:04:10 -0400 > > Luiz Augusto von Dentz wrote: > > =20 > > > Hi Andreas, > > > > > > On Thu, Jun 6, 2024 at 2:30=E2=80=AFPM Andreas Kemnade wrote: =20 > > > > > > > > Some of these chips have GNSS support. In some vendor kernels > > > > a driver on top of misc/ti-st can be found providing a /dev/tigps > > > > device which speaks the secretive Air Independent Interface (AI2) p= rotocol. =20 >=20 > I think you may have sent me a file to test, but I can't find the > e-mail. Can you tell me what tool you used to test it? I can get > gnss0 to enumerate, so I am close. >=20 hmm, /bin/cat is sufficient. It should spit out nmea now by default. For playing around with raw mode, you need the ai2raw parameter and then you can play around with read-gps from=20 https://github.com/akemnade/bt200tools > [ 20.759857] hci-ti serial0-0: using DT > '/ocp@68000000/serial@4806c000/bluetooth-gnss' for 'enable' GPIO > lookup > [ 20.770263] of_get_named_gpiod_flags: parsed 'enable-gpios' > property of node '/ocp@68000000/serial@4806c000/bluetooth-gnss[0]' - > status (0) > [ 29.221588] gnss: GNSS driver registered with major 244 >=20 That is nice. Regards, Andreas