Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drivers: stepper: Add step direction stepper common binding #82014

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

faxe1008
Copy link
Collaborator

@faxe1008 faxe1008 commented Nov 26, 2024

Adds a step direction binding that can be used with any stepper that implements said control interface to cut down on boilerplate code.

Will also add a driver that makes use of this :^)

EDIT:// Added the TMC2209 driver using the step dir interface. Usage of the one wire interface and DIAG pin will be added in a later commit. This just serves as a example usage of the common step dir interface.

@faxe1008 faxe1008 force-pushed the step_dir_common branch 2 times, most recently from e8cdf5e to 72762a5 Compare December 1, 2024 18:18
Adds a step direction binding that can be used with any stepper that
implements said control interface to cut down on boilerplate code.

Signed-off-by: Fabian Blatz <[email protected]>
@faxe1008 faxe1008 force-pushed the step_dir_common branch 6 times, most recently from 4425db3 to ff24bda Compare December 1, 2024 20:09
Adds the tmc2209 driver using the step dir interface.

Signed-off-by: Fabian Blatz <[email protected]>
Adds the adi,tmc2209 driver to the build all stepper test.

Signed-off-by: Fabian Blatz <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants