Hey Tarang Raval, let's continue discussing things on the mailing list. On 22.08.2024 06:42:49, Tarang Raval wrote: > Thank you for the feedback. I noticed that some mainline DTS files, > including the current upstream DTS, use edge-triggered interrupts. I was talking about the mcp2515 CAN chip connected to SPI only. Can you point me to the upstream DTS? > Could you please help me understand the reasoning behind the > preference for level-triggered interrupts over edge-triggered ones If an edge interrupt occurs while the driver is in the ISR, it may lose this interrupt. The driver will not process the pending interrupt and CAN communication will get stuck. 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