Skip to content

Commit 3855d18

Browse files
alayandercfriedt
authored andcommitted
tests: drivers: pwm: pwm_api: Add pwm-test alias for pwm device node
Introduce a common pwm-test alias for pwm device nodes to remove platform/vendor specific preprocessor conditionals. Signed-off-by: Alexander Lay <[email protected]>
1 parent a6500f1 commit 3855d18

File tree

66 files changed

+155
-91
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+155
-91
lines changed

tests/drivers/pwm/pwm_api/boards/apollo3_evb.overlay

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
/ {
88
aliases {
9-
pwm-0 = &pwm2;
9+
pwm-test = &pwm2;
1010
};
1111
};
1212

tests/drivers/pwm/pwm_api/boards/apollo3p_evb.overlay

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
/ {
88
aliases {
9-
pwm-0 = &pwm2;
9+
pwm-test = &pwm2;
1010
};
1111
};
1212

tests/drivers/pwm/pwm_api/boards/apollo4p_blue_kxr_evb.overlay

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
/ {
88
aliases {
9-
pwm-0 = &pwm2;
9+
pwm-test = &pwm2;
1010
};
1111
};
1212

tests/drivers/pwm/pwm_api/boards/apollo4p_evb.overlay

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
/ {
88
aliases {
9-
pwm-0 = &pwm2;
9+
pwm-test = &pwm2;
1010
};
1111
};
1212

tests/drivers/pwm/pwm_api/boards/apollo510_evb.overlay

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
/ {
88
aliases {
9-
pwm-0 = &pwm2;
9+
pwm-test = &pwm2;
1010
};
1111
};
1212

tests/drivers/pwm/pwm_api/boards/cyw920829m2evk_02.overlay

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
/ {
1212
aliases {
13-
pwm-0 = &pwm0_0;
13+
pwm-test = &pwm0_0;
1414
};
1515
};
1616

tests/drivers/pwm/pwm_api/boards/ek_ra2l1.overlay

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@
77
#include <zephyr/dt-bindings/pwm/pwm.h>
88
#include <zephyr/dt-bindings/pwm/ra_pwm.h>
99

10+
/ {
11+
aliases {
12+
pwm-test = &pwm2;
13+
};
14+
};
15+
1016
&pinctrl {
1117
pwm2_default: pwm2_default {
1218
group1 {

tests/drivers/pwm/pwm_api/boards/esp32_devkitc_procpu.overlay

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
/ {
1010
aliases {
11-
pwm-0 = &ledc0;
11+
pwm-test = &ledc0;
1212
};
1313
};
1414

tests/drivers/pwm/pwm_api/boards/esp32c6_devkitc_hpcore.overlay

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
/ {
1010
aliases {
11-
pwm-0 = &ledc0;
11+
pwm-test = &ledc0;
1212
};
1313
};
1414

tests/drivers/pwm/pwm_api/boards/esp32s2_saola.overlay

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
/ {
1010
aliases {
11-
pwm-0 = &ledc0;
11+
pwm-test = &ledc0;
1212
};
1313
};
1414

0 commit comments

Comments
 (0)