lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240806-industrious-augmented-crane-44239a-mkl@pengutronix.de>
Date: Tue, 6 Aug 2024 22:02:24 +0200
From: Marc Kleine-Budde <mkl@...gutronix.de>
To: Anup Kulkarni <quic_anupkulk@...cinc.com>
Cc: manivannan.sadhasivam@...aro.org, thomas.kopp@...rochip.com, 
	mailhol.vincent@...adoo.fr, davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org, 
	pabeni@...hat.com, linux-can@...r.kernel.org, netdev@...r.kernel.org, 
	linux-kernel@...r.kernel.org, quic_msavaliy@...cinc.com, quic_vdadhani@...cinc.com
Subject: Re: [PATCH v1] can: mcp251xfd: Enable transceiver using gpio

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@ew.tq-group.com/

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   |

Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ