Re: [PATCH v1] can: mcp251xfd: Enable transceiver using gpio
From: Anup Kulkarni
Date: Mon Sep 09 2024 - 07:23:23 EST
Thanks Marc, for pointing to the thread.
I have internally validated the given patch, and it works fine for me.
Hence we intend to add only DT related change.
Do you plan to merge it in next release or any time by which I can expect the patch to be merged?
Since my DT change is dependent on the given patch.
Please let me know if you need any support/help in any further validation of the patch.
regards,
Anup
On 8/7/2024 1:32 AM, Marc Kleine-Budde wrote:
> 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
>