File tree Expand file tree Collapse file tree 5 files changed +129
-4
lines changed
tests/drivers/counter/counter_basic_api Expand file tree Collapse file tree 5 files changed +129
-4
lines changed Original file line number Diff line number Diff line change 1
1
#
2
- # Copyright 2024 NXP
2
+ # Copyright 2024-2025 NXP
3
3
#
4
4
# SPDX-License-Identifier: Apache-2.0
5
5
#
6
6
CONFIG_COUNTER_MCUX_QTMR=y
7
+ CONFIG_COUNTER_MCUX_LPIT=y
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2024 NXP
2
+ * Copyright 2024-2025 NXP
3
3
*
4
4
* SPDX-License-Identifier: Apache-2.0
5
5
*/
9
9
primary-source = "kQTMR_ClockDivide_128";
10
10
mode = "kQTMR_PriSrcRiseEdge";
11
11
};
12
+
13
+ &lpit1 {
14
+ status = "okay";
15
+ };
16
+
17
+ &lpit1_channel0 {
18
+ status = "okay";
19
+ };
20
+
21
+ &lpit1_channel1 {
22
+ status = "okay";
23
+ };
24
+
25
+ &lpit1_channel2 {
26
+ status = "okay";
27
+ };
28
+
29
+ &lpit1_channel3 {
30
+ status = "okay";
31
+ };
32
+
33
+ &lpit2 {
34
+ status = "okay";
35
+ };
36
+
37
+ &lpit2_channel0 {
38
+ status = "okay";
39
+ };
40
+
41
+ &lpit2_channel1 {
42
+ status = "okay";
43
+ };
44
+
45
+ &lpit2_channel2 {
46
+ status = "okay";
47
+ };
48
+
49
+ &lpit2_channel3 {
50
+ status = "okay";
51
+ };
52
+
53
+ &lpit3 {
54
+ status = "okay";
55
+ };
56
+
57
+ &lpit3_channel0 {
58
+ status = "okay";
59
+ };
60
+
61
+ &lpit3_channel1 {
62
+ status = "okay";
63
+ };
64
+
65
+ &lpit3_channel2 {
66
+ status = "okay";
67
+ };
68
+
69
+ &lpit3_channel3 {
70
+ status = "okay";
71
+ };
Original file line number Diff line number Diff line change 1
1
#
2
- # Copyright 2024 NXP
2
+ # Copyright 2024-2025 NXP
3
3
#
4
4
# SPDX-License-Identifier: Apache-2.0
5
5
#
6
6
CONFIG_COUNTER_MCUX_QTMR=y
7
+ CONFIG_COUNTER_MCUX_LPIT=y
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2024 NXP
2
+ * Copyright 2024-2025 NXP
3
3
*
4
4
* SPDX-License-Identifier: Apache-2.0
5
5
*/
9
9
primary-source = "kQTMR_ClockDivide_128";
10
10
mode = "kQTMR_PriSrcRiseEdge";
11
11
};
12
+
13
+ &lpit1 {
14
+ status = "okay";
15
+ };
16
+
17
+ &lpit1_channel0 {
18
+ status = "okay";
19
+ };
20
+
21
+ &lpit1_channel1 {
22
+ status = "okay";
23
+ };
24
+
25
+ &lpit1_channel2 {
26
+ status = "okay";
27
+ };
28
+
29
+ &lpit1_channel3 {
30
+ status = "okay";
31
+ };
32
+
33
+ &lpit2 {
34
+ status = "okay";
35
+ };
36
+
37
+ &lpit2_channel0 {
38
+ status = "okay";
39
+ };
40
+
41
+ &lpit2_channel1 {
42
+ status = "okay";
43
+ };
44
+
45
+ &lpit2_channel2 {
46
+ status = "okay";
47
+ };
48
+
49
+ &lpit2_channel3 {
50
+ status = "okay";
51
+ };
52
+
53
+ &lpit3 {
54
+ status = "okay";
55
+ };
56
+
57
+ &lpit3_channel0 {
58
+ status = "okay";
59
+ };
60
+
61
+ &lpit3_channel1 {
62
+ status = "okay";
63
+ };
64
+
65
+ &lpit3_channel2 {
66
+ status = "okay";
67
+ };
68
+
69
+ &lpit3_channel3 {
70
+ status = "okay";
71
+ };
Original file line number Diff line number Diff line change @@ -123,6 +123,9 @@ static const struct device *const devices[] = {
123
123
#ifdef CONFIG_COUNTER_MCUX_LPTMR
124
124
DEVS_FOR_DT_COMPAT (nxp_lptmr )
125
125
#endif
126
+ #ifdef CONFIG_COUNTER_MCUX_LPIT
127
+ DEVS_FOR_DT_COMPAT (nxp_lpit_channel )
128
+ #endif
126
129
#ifdef CONFIG_COUNTER_RENESAS_RZ_GTM
127
130
DEVS_FOR_DT_COMPAT (renesas_rz_gtm_counter )
128
131
#endif
You can’t perform that action at this time.
0 commit comments