Skip to content
Commit 418d2e6b authored by Dipak Shetty's avatar Dipak Shetty Committed by Benjamin Cabé
Browse files

drivers: stepper: adi_tmc: diag0 interrupt support for tmc51xx



Add support for using the diag0 pin as an interrupt source. This
allows event detection via diag0 interrupts instead of polling rampstat.
The driver now:
- Configures diag0 when the GPIO is available
- Sets up GPIO interrupt handling for rising edge transitions for
rampstat reading
- Falls back to polling only when diag0 is not available

Signed-off-by: default avatarDipak Shetty <shetty.dipak@gmx.com>
parent e5026d4a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment