OSDN Git Service

can: sun4i_can: add support for R40 CAN controller
authorEvgeny Boger <boger@wirenboard.com>
Mon, 22 Nov 2021 10:46:15 +0000 (13:46 +0300)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 8 Dec 2021 09:12:59 +0000 (10:12 +0100)
commit2c2fd0e68d9e1832d7661f434ee7ddd77bf1b985
treec8a47357b216a5b9bdcedca0ed56242484a726c2
parentd0342ceb78ed86b8ed28afe14d070720667da70f
can: sun4i_can: add support for R40 CAN controller

Allwinner R40 (also known as A40i, T3, V40) has a CAN controller. The
controller is the same as in earlier A10 and A20 SoCs, but needs reset
line to be deasserted before use.

This patch adds a new compatible for R40 CAN controller. Depending
on the compatible, reset line can be requested from DT.

Link: https://lore.kernel.org/all/20211122104616.537156-3-boger@wirenboard.com
Signed-off-by: Evgeny Boger <boger@wirenboard.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/sun4i_can.c