From: Andreas Kemnade <andreas@kemnade.info>
To: marcel@holtmann.org, luiz.dentz@gmail.com, johan@kernel.org,
pmenzel@molgen.mpg.de, jirislaby@kernel.org,
andreas@kemnade.info, gregkh@linuxfoundation.org,
linux-kernel@vger.kernel.org, linux-bluetooth@vger.kernel.org,
"Adam Ford" <aford173@gmail.com>,
"Tony Lindgren" <tony@atomide.com>,
tomi.valkeinen@ideasonboard.com,
"Péter Ujfalusi" <peter.ujfalusi@gmail.com>,
robh@kernel.org, hns@goldelico.com
Subject: [PATCH v4 0/4] Bluetooth/gnss: GNSS support for TiWi chips
Date: Thu, 6 Jun 2024 20:30:28 +0200 [thread overview]
Message-ID: <20240606183032.684481-1-andreas@kemnade.info> (raw)
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) protocol.
To be more compatible with userspace send out NMEA by default but
allow a more raw mode by using a module parameter.
This was tested on the Epson Moverio BT-200.
Who will take this series (1-3)? GNSS with ack from Bluetooth?
Changes since V3:
- Finally remove the period from 1/4 subject
- include things directly for get_unaligned_le16() to fix 0-day issues
Changes since V2:
- Optimize waits
- Fix some packet analysis / checksum computation issue
- Adding a proposal for removing those waits as RFC
- Minor spell corrections and improved descriptions
Changes since V1:
- Set up things for NMEA output
- Powerup/down at open()/close()
- split out logic between drivers/bluetooth and drivers/gnss
- leave out drivers/misc/ti-st driver removal to avoid
filling up mailboxes during the iterations, this series is
still a proof that it is not needed, will take the brush after
this series is accepted.
Andreas Kemnade (4):
gnss: Add AI2 protocol used by some TI combo chips
Bluetooth: ti-st: Add GNSS subdevice for TI Wilink chips
gnss: Add driver for AI2 protocol
gnss: ai2: replace long sleeps by wait for acks
drivers/bluetooth/hci_ll.c | 81 +++++
drivers/gnss/Kconfig | 13 +
drivers/gnss/Makefile | 3 +
drivers/gnss/ai2.c | 560 +++++++++++++++++++++++++++++++++++
drivers/gnss/core.c | 1 +
include/linux/gnss.h | 1 +
include/linux/ti_wilink_st.h | 8 +
7 files changed, 667 insertions(+)
create mode 100644 drivers/gnss/ai2.c
--
2.39.2
next reply other threads:[~2024-06-06 18:30 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-06 18:30 Andreas Kemnade [this message]
2024-06-06 18:30 ` [PATCH v4 1/4] gnss: Add AI2 protocol used by some TI combo chips Andreas Kemnade
2025-01-14 12:00 ` Johan Hovold
2024-06-06 18:30 ` [PATCH v4 2/4] Bluetooth: ti-st: Add GNSS subdevice for TI Wilink chips Andreas Kemnade
2025-01-14 12:14 ` Johan Hovold
2025-01-14 13:05 ` Andreas Kemnade
2025-01-14 15:26 ` Johan Hovold
2025-01-14 16:26 ` Andreas Kemnade
2024-06-06 18:30 ` [PATCH v4 3/4] gnss: Add driver for AI2 protocol Andreas Kemnade
2025-01-14 12:33 ` Johan Hovold
2024-06-06 18:30 ` [PATCH RFC v4 4/4] gnss: ai2: replace long sleeps by wait for acks Andreas Kemnade
2025-01-14 12:36 ` Johan Hovold
2024-06-06 20:04 ` [PATCH v4 0/4] Bluetooth/gnss: GNSS support for TiWi chips Luiz Augusto von Dentz
2024-06-06 20:19 ` Andreas Kemnade
2024-06-08 19:00 ` Adam Ford
2024-06-08 19:20 ` Andreas Kemnade
2024-06-10 23:17 ` Adam Ford
2024-06-11 8:32 ` Andreas Kemnade
2024-09-02 9:22 ` Andreas Kemnade
2024-09-02 9:26 ` Johan Hovold
2024-11-18 9:52 ` Andreas Kemnade
2025-01-14 11:57 ` Johan Hovold
2025-01-14 12:35 ` H. Nikolaus Schaller
2025-01-16 1:10 ` Sebastian Reichel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240606183032.684481-1-andreas@kemnade.info \
--to=andreas@kemnade.info \
--cc=aford173@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=hns@goldelico.com \
--cc=jirislaby@kernel.org \
--cc=johan@kernel.org \
--cc=linux-bluetooth@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=luiz.dentz@gmail.com \
--cc=marcel@holtmann.org \
--cc=peter.ujfalusi@gmail.com \
--cc=pmenzel@molgen.mpg.de \
--cc=robh@kernel.org \
--cc=tomi.valkeinen@ideasonboard.com \
--cc=tony@atomide.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®