Re: [PATCH v1] can: mcp251xfd: Enable transceiver using gpio
From: Marc Kleine-Budde
Date: Tue Aug 06 2024 - 16:02:48 EST
On 06.08.2024 14:33:39, Anup Kulkarni wrote:
> Ensure the CAN transceiver is active during mcp251xfd_open() and
> inactive during mcp251xfd_close() by utilizing
> mcp251xfd_transceiver_mode(). Adjust GPIO_0 to switch between
> NORMAL and STANDBY modes of transceiver.
There is still the gpio support patch pending, which I have to review
and test.
https://lore.kernel.org/all/20240522-mcp251xfd-gpio-feature-v3-0-8829970269c5@xxxxxxxxxxxxxxx/
After this has been merged, we can have a look at this patch.
It might actually not be needed anymore, as we can describe a CAN
transceiver switched by a GPIO in the DT. Hopefully we don't run into
some crazy circular dependencies or similar issues.
regards,
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung Nürnberg | Phone: +49-5121-206917-129 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |
Attachment:
signature.asc
Description: PGP signature