MLK-16879-2 can: flexcan: allow user to disable can fd mode from device tree
authorDong Aisheng <aisheng.dong@nxp.com>
Fri, 15 Dec 2017 10:38:15 +0000 (18:38 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Tue, 20 Mar 2018 19:51:47 +0000 (14:51 -0500)
commitf3932dd9b7bfff75266fa472f38bd5025a1d7543
tree68b70afe6754188d76a947b125b257a81a2ecce7
parent9659e6283080386e283e3d63392ccdbb14d47a98
MLK-16879-2 can: flexcan: allow user to disable can fd mode from device tree

Normally CAN FD capable device must work on FD mode as it has different
statically claimed bittiming capability.
This patch provides users to disable CAN FD capability if users want
to only work at normal mode.

Acked-by: Jason Liu <jason.hui.liu@nxp.com>
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Documentation/devicetree/bindings/net/can/fsl-flexcan.txt
drivers/net/can/flexcan.c