Skip to content

Commit

Permalink
drivers: stepper: drv8424: Use step_dir common code
Browse files Browse the repository at this point in the history
Adapt the drv8424 driver to use the common step dir interface.

Signed-off-by: Fabian Blatz <[email protected]>
  • Loading branch information
faxe1008 committed Dec 28, 2024
1 parent 0f91c1c commit d6aeb98
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 378 deletions.
14 changes: 2 additions & 12 deletions drivers/stepper/ti/Kconfig.drv8424
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,7 @@ config DRV8424
bool "TI DRV8424 stepper motor driver"
default y
depends on DT_HAS_TI_DRV8424_ENABLED
select COUNTER
select STEP_DIR_STEPPER
select STEPPER_STEP_DIR_GENERATE_ISR_SAFE_EVENTS
help
Enable driver for TI DRV8424 stepper motor driver.

if DRV8424

config DRV8424_EVENT_QUEUE_LEN
int "Maximum number of pending stepper events"
default 4
help
The maximum number of stepper events that can be pending before new events
are dropped.

endif # DRV8424
Loading

0 comments on commit d6aeb98

Please sign in to comment.