Skip to content

Commit 11d1a90

Browse files
jilaypandyakartben
authored andcommitted
tests: stepper: build-all sort entries alphabetically
sort stepper driver entries alphabetically‚ Signed-off-by: Jilay Pandya <jilay.pandya@outlook.com>
1 parent 22d4161 commit 11d1a90

File tree

2 files changed

+16
-12
lines changed

2 files changed

+16
-12
lines changed

tests/drivers/build_all/stepper/gpio.dtsi

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,11 @@
33
* SPDX-License-Identifier: Apache-2.0
44
*/
55

6-
test_gpio_stepper: test_gpio_stepper {
7-
compatible = "zephyr,gpio-stepper";
8-
status = "okay";
9-
micro-step-res = <1>;
10-
gpios = <&test_gpio 0 0>,
11-
<&test_gpio 0 0>,
12-
<&test_gpio 0 0>,
13-
<&test_gpio 0 0>;
14-
};
6+
/****************************************
7+
* PLEASE KEEP ALPHABETICALLY SORTED *
8+
***************************************/
159

16-
test_tmc2209: tmc2209_motor {
10+
adi_tmc2209: adi_tmc2209 {
1711
compatible = "adi,tmc2209";
1812
status = "okay";
1913
micro-step-res = <1>;
@@ -25,7 +19,7 @@ test_tmc2209: tmc2209_motor {
2519
counter = <&counter0>;
2620
};
2721

28-
drv8424: drv8424 {
22+
ti_drv8424: ti_drv8424 {
2923
status = "okay";
3024
compatible = "ti,drv8424";
3125

@@ -37,3 +31,13 @@ drv8424: drv8424 {
3731
m1-gpios = <&test_gpio 0 0>;
3832
counter = <&counter0>;
3933
};
34+
35+
zephyr_gpio_stepper: zephyr_gpio_stepper {
36+
compatible = "zephyr,gpio-stepper";
37+
status = "okay";
38+
micro-step-res = <1>;
39+
gpios = <&test_gpio 0 0>,
40+
<&test_gpio 0 0>,
41+
<&test_gpio 0 0>,
42+
<&test_gpio 0 0>;
43+
};

tests/drivers/build_all/stepper/spi.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* PLEASE KEEP REG ADDRESSES SEQUENTIAL *
77
***************************************/
88

9-
test_spi_tmc50xx: tmc50xx@0 {
9+
adi_tmc50xx: adi_tmc50xx@0 {
1010
compatible = "adi,tmc50xx";
1111
reg = <0x0>;
1212
spi-max-frequency = <0>;

0 commit comments

Comments
 (0)