Re: [PATCH v4 2/4] Bluetooth: ti-st: Add GNSS subdevice for TI Wilink chips

From
Andreas Kemnade <andreas@kemnade.info>
Date
2025-01-14 13:05:44
Also in
lkml
Reply to
Johan Hovold, 2025-01-14
Am Tue, 14 Jan 2025 13:14:45 +0100
schrieb Johan Hovold [off-list ref]:
quoted
GNSS support is available through
channel 9 whilst FM is through channel 8. Add a platform subdevice for
GNSS so that a driver for that functionality can be build.  
quoted
To avoid having
useless GNSS devices, do it only when the devicetree node name contains
gnss.  
That's seems like an unorthodox use of device tree. These devices are
primarily (WiFi and) Bluetooth controllers so should probably not have
gone about and updated the node names to 'bluetooth-gnss' as you did,
for example, here:
yes, the matching of the node name is a bit unorthodox. How do you
define primary? The old design with ti-st driver and bluetooth and
other functions on top does not look like anything primary. If you look
at the current situation with the GNSS stuff sitting on to of
bluetooth, the picture is different, but that is implementation. As the
devicetree is describing hardware, having the nodenames describe things
seems like the right way to do.
But I agree with you that the driver should not care about the node
name, but use a boolean property.

Regards,
Andreas
Thread (25 messages) 25 messages, 7 authors, last reply 2025-01-16
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help