drivers: can: m_can variant for STM32H7

* New m_can driver variant for STM32H7, as it uses the complete m_can
register set.
* Fix definitions for CAN_MCAN_RXF0S_F0FL, CAN_MCAN_TXEFC_EFSA_POS.

Signed-off-by: Jeremy Wood <jeremy@bcdevices.com>
This commit is contained in:
Jeremy Wood 2021-12-28 17:45:28 -08:00 committed by Anas Nashif
commit 1caa7f6cb9
7 changed files with 365 additions and 22 deletions

View file

@ -10,7 +10,8 @@ config CAN_MCAN
help
Enable Bosch m_can driver.
This driver supports the Bosch m_can IP. This IP is built into the
STM32G4, STM32G0 and the Microchip SAM controllers with CAN-FD.
STM32G4, STM32G0, STM32H7, and the Microchip SAM controllers with
CAN-FD.
if CAN_MCAN