Skip to content

Commit fa68426

Browse files
soc: apple: rtkit: Add tracekit endpoint
This commit adds recognition to the Apple RTKit driver for the TraceKit endpoint, found in the Multi-Touch Processor (MTP), Always-On Processor (AOP), and potentially other coprocessors. Without it, warning messages may occur when communicating with these processors. Signed-off-by: Sasha Finkelstein <[email protected]> Signed-off-by: Michael Reeves <[email protected]>
1 parent a0e4d3f commit fa68426

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/soc/apple/rtkit.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ enum {
2222
APPLE_RTKIT_EP_DEBUG = 3,
2323
APPLE_RTKIT_EP_IOREPORT = 4,
2424
APPLE_RTKIT_EP_OSLOG = 8,
25+
APPLE_RTKIT_EP_TRACEKIT = 0xa,
2526
};
2627

2728
#define APPLE_RTKIT_MGMT_TYPE GENMASK_ULL(59, 52)
@@ -191,6 +192,7 @@ static void apple_rtkit_management_rx_epmap(struct apple_rtkit *rtk, u64 msg)
191192
case APPLE_RTKIT_EP_DEBUG:
192193
case APPLE_RTKIT_EP_IOREPORT:
193194
case APPLE_RTKIT_EP_OSLOG:
195+
case APPLE_RTKIT_EP_TRACEKIT:
194196
dev_dbg(rtk->dev,
195197
"RTKit: Starting system endpoint 0x%02x\n", ep);
196198
apple_rtkit_start_ep(rtk, ep);

0 commit comments

Comments
 (0)