]> git.baikalelectronics.ru Git - kernel.git/commit
can: xilinx_can: add Transmitter Delay Compensation (TDC) feature support
authorSrinivas Neeli <srinivas.neeli@xilinx.com>
Thu, 9 Jun 2022 10:31:57 +0000 (16:01 +0530)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Sat, 11 Jun 2022 14:42:30 +0000 (16:42 +0200)
commit5b10ca10b5f79e363119f55bf42a83aac908bd3c
tree3a252e446039503f391ccf6517a9eb2b1497e12d
parenta029106648304fc15f6ccbed3e1829286e6c0c63
can: xilinx_can: add Transmitter Delay Compensation (TDC) feature support

This patch adds Transmitter Delay Compensation (TDC) feature support.

In the case of higher measured loop delay with higher bit rates, bit
stuff errors are observed. Enabling the TDC feature in CAN-FD
controllers will compensate for the measured loop delay in the receive
path.

Link: https://lore.kernel.org/all/20220609103157.1425730-1-srinivas.neeli@xilinx.com
Signed-off-by: Srinivas Neeli <srinivas.neeli@xilinx.com>
Reviewed-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
[mkl: fix indention]
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/xilinx_can.c