aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorJimmy Assarsson <[email protected]>2024-07-01 17:49:33 +0200
committerMarc Kleine-Budde <[email protected]>2024-08-05 17:39:02 +0200
commit0aa639d3b3b9a90fd7ee198de58f368bf4add580 (patch)
tree1a5c5be23955fe33cb293703cc3863e1c53531ef /tools/perf/scripts/python/gecko.py
parentc644c9698d8dcd1a09934976d1d0720925f7bd78 (diff)
can: kvaser_usb: leaf: Add hardware timestamp support to usbcan devices
Add hardware timestamp support for all usbcan based devices (M16C). The usbcan firmware is slightly different compared to the other Kvaser USB interfaces: - The timestamp is provided by a 32-bit counter, with 10us resolution. Hence, the hardware timestamp will wrap after less than 12 hours. - Each Rx CAN or Tx ACK command only contains the 16-bits LSB of the timestamp counter. - The 16-bits MSB are sent in an asynchronous event (command), if any change occurred in the MSB since the last event. Signed-off-by: Jimmy Assarsson <[email protected]> Reviewed-by: Vincent Mailhol <[email protected]> Link: https://lore.kernel.org/all/[email protected] Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions