-
Notifications
You must be signed in to change notification settings - Fork 7.4k
drivers: misc: Add driver for Silicon Labs Packet Trace Interface #88035
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
New driver classes need architecture review, will add label |
Without wanting to block this directly, is this a driver that could be generalized in any way or placed under an existing category? Should we have a quick discussion in the Arch WG? |
I'd be happy to present for the Arch WG. I didn't find any existing driver category that made sense, hence the choice of a misc driver. However, this is technically also something that could be done through a SoC or board init hook. When it comes to generalization, it would be useful to discuss the general concept of "trace init". There are several instances of this on Silicon Labs SoCs (and ARM in general), where "something" needs to be done to initialize a stream of data from the device:
|
Could you do next Tuesday, April 8th? |
Architecture WG:
|
8868b03
fc44629
to
8868b03
Compare
Created a new |
@carlescufi What are the next steps to progress this PR? |
65e4999
8868b03
to
65e4999
Compare
Resolved merge conflicts after #89946 |
69a5357
65e4999
to
69a5357
Compare
Add a new driver class for drivers related to debugging, such as trace hardware, performance counters etc. Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
Add bindings and DTS nodes for the Packet Trace Interface of the radio. Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
The Packet Trace Interface is a debug interface that emits TX and RX packet data over a serial connection in real time. Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
Configure Packet Trace Interface pinout on Series 2 boards. Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
Add snippet that can be used to enable packet trace output from Silicon Labs Series 2 devices. Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
69a5357
to
d0ece23
Compare
|
The Packet Trace Interface is a debug interface within the radio subsystem that emits TX and RX packet data over a serial connection in real time.
Add bindings and DTS nodes for the Packet Trace Interface of the radio, and a
misc
driver to initialize it. Add pinctrl configuration to boards that have PTI pins wired to the on-board debugger. Add a snippet that can be used to enable packet trace output from Silicon Labs Series 2 devices for any application.