]> git.baikalelectronics.ru Git - kernel.git/commit
can: m_can: m_can_dev_setup(): add support for bosch mcan version 3.3.0
authorPankaj Sharma <pankj.sharma@samsung.com>
Thu, 26 Nov 2020 04:51:42 +0000 (10:21 +0530)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 27 Nov 2020 09:49:20 +0000 (10:49 +0100)
commit9298411d5a1b1e43ebad5958de09952ed6904c2b
tree064e6b5d839ef19447c6e708fff1590a4fedb62a
parenteaf412443d7eaac0a1c6433d8862ba77ebd1fa0a
can: m_can: m_can_dev_setup(): add support for bosch mcan version 3.3.0

Add support for mcan bit timing and control mode according to bosch mcan IP
version 3.3.0. The mcan version read from the Core Release field of CREL
register would be 33. Accordingly the properties are to be set for mcan v3.3.0

Signed-off-by: Pankaj Sharma <pankj.sharma@samsung.com>
Link: https://lore.kernel.org/r/1606366302-5520-1-git-send-email-pankj.sharma@samsung.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/m_can/m_can.c