Messages in this thread Patch in this message | | | From | Dario Binacchi <> | Subject | [RFC PATCH 2/2] docs: networking: device drivers: can: add flexcan | Date | Fri, 7 Jan 2022 09:13:06 +0100 |
| |
Add initial documentation for Flexcan driver.
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
---
.../device_drivers/can/freescale/flexcan.rst | 25 +++++++++++++++++++ .../networking/device_drivers/can/index.rst | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 Documentation/networking/device_drivers/can/freescale/flexcan.rst
diff --git a/Documentation/networking/device_drivers/can/freescale/flexcan.rst b/Documentation/networking/device_drivers/can/freescale/flexcan.rst new file mode 100644 index 000000000000..1a5bb2ed08a3 --- /dev/null +++ b/Documentation/networking/device_drivers/can/freescale/flexcan.rst @@ -0,0 +1,25 @@ +.. SPDX-License-Identifier: GPL-2.0+ + +============================= +Flexcan CAN Controller driver +============================= + +Authors: Marc Kleine-Budde <mkl@pengutronix.de>, +Dario Binacchi <dario.binacchi@amarula.solutions.com> + +On/off RTR frames reception +=========================== + + 1. interface down:: + + ethtool --set-priv-flags can0 rx-rtr {off|on} + + 2. interface up:: + + ip link set dev can0 down + ethtool --set-priv-flags can0 rx-rtr {off|on} + ip link set dev can0 up + +Note. For the Flexcan on i.MX25, i.Mx28, i.MX35 and i.Mx53 SOCs, the reception +of RTR frames is possible only if the controller is configured in RxFIFO mode. +In this mode only 6 of the 64 message buffers are used for reception. diff --git a/Documentation/networking/device_drivers/can/index.rst b/Documentation/networking/device_drivers/can/index.rst index 218276818968..58b6e0ad3030 100644 --- a/Documentation/networking/device_drivers/can/index.rst +++ b/Documentation/networking/device_drivers/can/index.rst @@ -10,6 +10,8 @@ Contents: .. toctree:: :maxdepth: 2 + freescale/flexcan + .. only:: subproject and html Indices -- 2.32.0
| |