Skip to content

driver: Add new mode with threaded interrupt

Tobias Kahlki requested to merge add_new_mode into master

If the interrupt provider of the IRQ pin acts in threaded interrupt mode, we have to use a threaded interrupt too. Unfortunately, simply changing the request_irq to request_threaded_irq doesn't work directly. Since the driver uses a work queue, the performance decreases significantly. We therefore introduce a new interrupt routine without the work queue that is guarded by a DT flag. This way, the driver is still compatible with old setups but can be enhanced for new devices too.

Merge request reports

Loading