]> 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)
commit8ec77454adc35eaf10e8caf7ccf4556b7204633f
tree3a252e446039503f391ccf6517a9eb2b1497e12d
parentb03c3e42a7ccc4726786b7a879373cb77edc7a0a
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