Skip to content

Commit a1c3131

Browse files
verenascstkartben
authored andcommitted
tests: drivers: Add test case for allegro a4979
Adding a test case for stepper driver implementation of allegro a4979 microstepping programmable stepper motor driver. Signed-off-by: Verena Schweinstetter <[email protected]>
1 parent 5c2b7bc commit a1c3131

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

tests/drivers/build_all/stepper/gpio.dtsi

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,19 @@ adi_tmc2209: adi_tmc2209 {
1919
counter = <&counter0>;
2020
};
2121

22+
allegro_a4979: allegro_a4979 {
23+
status = "okay";
24+
compatible = "allegro,a4979";
25+
micro-step-res = <1>;
26+
reset-gpios = <&test_gpio 0 0>;
27+
dir-gpios = <&test_gpio 0 0>;
28+
step-gpios = <&test_gpio 0 0>;
29+
en-gpios = <&test_gpio 0 0>;
30+
m0-gpios = <&test_gpio 0 0>;
31+
m1-gpios = <&test_gpio 0 0>;
32+
counter = <&counter0>;
33+
};
34+
2235
ti_drv8424: ti_drv8424 {
2336
status = "okay";
2437
compatible = "ti,drv8424";

0 commit comments

Comments
 (0)