can: sja1000: Add support for RZ/N1 SJA1000 CAN Controller
authorBiju Das <biju.das.jz@bp.renesas.com>
Sun, 10 Jul 2022 11:52:48 +0000 (12:52 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 5 Sep 2022 20:00:43 +0000 (22:00 +0200)
commit0838921bb4094ca3c88f3cc01a700f35da2bed96
treea8002f2323486d971f44c34447df347e66731578
parentf4dda24432d7aed7a98ffe9b76e4c20b5fe6b9c1
can: sja1000: Add support for RZ/N1 SJA1000 CAN Controller

The SJA1000 CAN controller on RZ/N1 SoC has no clock divider register
(CDR) support compared to others.

This patch adds support for RZ/N1 SJA1000 CAN Controller, by adding
SoC specific compatible to handle this difference as well as using
clk framework to retrieve the CAN clock frequency.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://lore.kernel.org/all/20220710115248.190280-7-biju.das.jz@bp.renesas.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/sja1000/sja1000_platform.c