Jilay Pandya
8272b36b5b
drivers: stepper: tmc50xx: extend tmc5041 to tmc50xx
...
Extend tmc5041 to tmc50xx in order to accomodate tmc5072
Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com>
2025-02-05 01:14:47 +01:00
Jilay Pandya
dfdbc77787
dts: bindings: stepper: use hyphens instead of underscore
...
This commit replaces hyphens with underscore in order to comply with
devicetree standards
Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com>
2025-01-21 19:37:47 +01:00
Fabian Blatz
0ac9a6c512
drivers: stepper: drv8424: Use step_dir common code
...
Adapt the drv8424 driver to use the common step dir interface.
Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
2025-01-01 02:04:53 +01:00
Fabian Blatz
d5ec783a88
drivers: stepper: tmc2209: Allow counter dts property
...
Enables use of the counter dts property which allows to configure a counter
device as the timing source for the stepping.
Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
2024-12-28 04:37:05 +01:00
Fabian Blatz
0b124a2ff6
drivers: stepper: Add timing source for step dir stepper
...
Adds a timing source api which is used by the step-dir stepper common code.
This allows the reusable common code to configure different timing sources,
since the initial delayable work implementation was inacurate for higher
maximum velocities.
Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
2024-12-28 04:37:05 +01:00
Jilay Pandya
59064a409e
dts: bindings: stepper: add en-gpios to common stepper-controller.yaml
...
- rename enable-gpios to en-gpios in adi,tmc2209
- place en-gpios in common stepper-controller.yaml
Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com>
2024-12-23 17:10:06 +01:00
Sarah Renkhoff
79d62944b1
drivers: stepper: Add driver for DRV8424 stepper motor controller
...
Adds a step/dir stepper driver for the drv8424 stepper driver.
Signed-off-by: Sarah Renkhoff <sarah.renkhoff@navimatix.de>
2024-12-19 15:21:44 +01:00
Jilay Pandya
d5ae99a551
drivers: stepper: step_dir: rename direction_gpios to dir_gpios
...
for the brevity renaming direction_gpios to dir_gpios since STEP/DIR
interface is quite an established term in context of stepper controllers.
Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com>
2024-12-11 07:58:34 +01:00
Fabian Blatz
6e799979d8
drivers: stepper: Add adi,tmc2209 driver
...
Adds the tmc2209 driver using the step dir interface.
Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
2024-12-07 16:01:41 +00:00
Fabian Blatz
ba2aee24c9
drivers: stepper: Add step direction stepper common binding
...
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 <fabianblatz@gmail.com>
2024-12-07 16:01:41 +00:00
Jilay Pandya
843625a29b
drivers: stepper: change gpio-stepper dt-compatible
...
This commit changes compatible of gpio-stepper in driver
Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com>
2024-11-18 19:37:37 -05:00
Jilay Pandya
0687522cd4
drivers: stepper: introduce invert-direction property to gpio-stepper
...
This commit introduces invert-direction property to gpio-stepper
Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com>
2024-10-26 11:29:57 +02:00
Jilay Pandya
367f853a4c
drivers: stepper: rename compatible of gpio-stepper
...
This commit fixes minor copyright issues and corrects the compatible of
gpio-stepper with the vendor name as zephyr
Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com>
2024-10-26 11:29:57 +02:00
Jilay Pandya
87f85e4296
doc: stepper: update stepper documentation
...
This commit adds documentation about stepper api along
with some minor cleanups
Signed-off-by: Jilay Pandya <jilay.pandya@zeiss.com>
2024-10-22 20:38:30 +02:00
Jilay Pandya
52c6a289f1
drivers: stepper: adi: trinamic tmc5041
...
This commit introduces initial structure for trinamic drivers
TMC5041 is implemented with following features:
- StallGuard
- RAMPSTAT_POLL
- RAMP_GEN
Signed-off-by: Dipak Shetty <dipak.shetty@zeiss.com>
Signed-off-by: Jilay Pandya <jilay.pandya@zeiss.com>
2024-10-09 18:24:08 +01:00
Fabian Blatz
c525dc0813
drivers: stepper: Add fake stepper driver
...
Add `zephyr,fake-stepper` compatible which can be used inside of unit
tests.
Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
2024-09-21 12:23:19 +01:00
Jilay Pandya
4f36fa8010
stepper: driver: introduce gpio driver
...
This commit introduces a basic gpio stepper driver
Signed-off-by: Jilay Pandya <jilay.pandya@zeiss.com>
Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
2024-08-27 12:43:39 +02:00
Jilay Pandya
1af0ec1d96
stepper motor controller: introduce api
...
This commit introduces api for stepper motor controllers
Signed-off-by: Dipak Shetty <dipak.shetty@zeiss.com>
Signed-off-by: Florian Guhl <florian.guhl@zeiss.com>
Signed-off-by: Jilay Pandya <jilay.pandya@zeiss.com>
Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
2024-08-27 12:43:39 +02:00