Thread (8 messages) 8 messages, 4 authors, 2025-10-13

Re: [PATCH 2/2] can: add Transmitter Delay Compensation (TDC) documentation

From: Andrew Lunn <andrew@lunn.ch>
Date: 2025-10-12 16:04:14
Also in: linux-can, linux-doc, lkml

On Mon, Oct 13, 2025 at 01:01:15AM +0900, Vincent Mailhol wrote:
Hi Andrew,

On 12/10/2025 at 23:47, Andrew Lunn wrote:
quoted
On Sun, Oct 12, 2025 at 08:23:43PM +0900, Vincent Mailhol wrote:
quoted
Back in 2021, support for CAN TDC was added to the kernel in series [1]
and in iproute2 in series [2]. However, the documentation was never
updated.
Hi Vincent

I also don't see anything in man ip-link, nor ip link help. Maybe you
can add this documentation as well?
The help is indeed not directly visible. But I think this is intended
because can is a sub type. The can is simply listed in man ip-link
under the Link types enumeration.

The can help then be obtain by providing that can type:

  $ ip link help can
  Usage: ip link set DEVICE type can
  	[ bitrate BITRATE [ sample-point SAMPLE-POINT] ] |
  	[ tq TQ prop-seg PROP_SEG phase-seg1 PHASE-SEG1
   	  phase-seg2 PHASE-SEG2 [ sjw SJW ] ]
  	[ dbitrate BITRATE [ dsample-point SAMPLE-POINT] ] |
  	[ dtq TQ dprop-seg PROP_SEG dphase-seg1 PHASE-SEG1
   	  dphase-seg2 PHASE-SEG2 [ dsjw SJW ] ]
  	[ tdcv TDCV tdco TDCO tdcf TDCF ]
O.K. Great, thanks for pointing this out.

	Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help