commit | 418d2e6baae3970a379a42f8ebc1d62f51579c4b | [log] [tgz] |
---|---|---|
author | Dipak Shetty <shetty.dipak@gmx.com> | Sun May 04 22:02:18 2025 +0200 |
committer | Benjamin Cabé <kartben@gmail.com> | Wed May 07 13:34:02 2025 +0200 |
tree | 9582a3f076556dcd38ae3508c145501fe860727e | |
parent | e5026d4a96faba858d139e2b53d5d8ecb9c0c203 [diff] |
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: Dipak Shetty <shetty.dipak@gmx.com>