can: rcar_canfd: Add transceiver support
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 21 Mar 2023 16:15:00 +0000 (17:15 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 24 Mar 2023 18:07:16 +0000 (19:07 +0100)
commita0340df7eca4f28e18afd3ecd6e464db5f2994c0
treee67f8e86d4510a4a20c90debd78642838b8a5f27
parent323fe43cf9aef79159ba8937218a3f076bf505af
can: rcar_canfd: Add transceiver support

Add support for CAN transceivers described as PHYs.

While simple CAN transceivers can do without, this is needed for CAN
transceivers like NXP TJR1443 that need a configuration step (like
pulling standby or enable lines), and/or impose a bitrate limit.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Reviewed-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
Link: https://lore.kernel.org/all/1ce907572ac1d4e1733fa6ea7712250f2229cfcb.1679414936.git.geert+renesas@glider.be
[mkl: squash error message update from patch 2]
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/rcar/rcar_canfd.c