Skip to content

Commit 4508688

Browse files
nordic-baminordic-piks
authored andcommitted
Revert "tests: benchmarks: Add AUDIOPLL control to 'idle_clock_control' test"
This reverts commit 5c86326. Signed-off-by: Bartosz Miller <[email protected]>
1 parent 5c86326 commit 4508688

File tree

2 files changed

+1
-27
lines changed

2 files changed

+1
-27
lines changed

tests/benchmarks/multicore/idle_clock_control/boards/nrf54h20dk_nrf54h20_cpuapp.overlay

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,3 @@
1212
};
1313

1414
/delete-node/ &led1;
15-
16-
&audiopll {
17-
status = "okay";
18-
};

tests/benchmarks/multicore/idle_clock_control/src/main.c

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -153,27 +153,6 @@ static const struct test_clk_ctx hfxo_test_clk_ctx[] = {
153153
.clk_specs_size = ARRAY_SIZE(test_clk_specs_hfxo),
154154
},
155155
};
156-
157-
const struct nrf_clock_spec test_clk_spec_audiopll[] = {
158-
{
159-
.frequency = MHZ(12),
160-
.accuracy = 0,
161-
.precision = 0,
162-
},
163-
{
164-
.frequency = MHZ(11),
165-
.accuracy = 0,
166-
.precision = 0,
167-
},
168-
};
169-
170-
static const struct test_clk_ctx audiopll_test_clk_ctx[] = {
171-
{
172-
.clk_dev = DEVICE_DT_GET(DT_NODELABEL(audiopll)),
173-
.clk_specs = test_clk_spec_audiopll,
174-
.clk_specs_size = ARRAY_SIZE(test_clk_spec_audiopll),
175-
},
176-
};
177156
#endif /* CONFIG_BOARD_NRF54H20DK_NRF54H20_CPUAPP */
178157

179158
static void test_request_release_clock_spec(const struct device *clk_dev,
@@ -187,7 +166,7 @@ static void test_request_release_clock_spec(const struct device *clk_dev,
187166
LOG_INF("Clock under test: %s", clk_dev->name);
188167
sys_notify_init_spinwait(&cli.notify);
189168
ret = nrf_clock_control_request(clk_dev, clk_spec, &cli);
190-
__ASSERT_NO_MSG((ret >= 0) || (ret <= 2));
169+
__ASSERT_NO_MSG(ret == 0);
191170
do {
192171
ret = sys_notify_fetch_result(&cli.notify, &res);
193172
k_yield();
@@ -257,7 +236,6 @@ void run_tests(void)
257236
test_auxpll_control(DEVICE_DT_GET(DT_NODELABEL(canpll)));
258237
test_clock_control_request(hfxo_test_clk_ctx, ARRAY_SIZE(hfxo_test_clk_ctx));
259238
test_clock_control_request(hsfll_test_clk_ctx, ARRAY_SIZE(hsfll_test_clk_ctx));
260-
test_clock_control_request(audiopll_test_clk_ctx, ARRAY_SIZE(audiopll_test_clk_ctx));
261239
#endif /* CONFIG_BOARD_NRF54H20DK_NRF54H20_CPUAPP */
262240
test_clock_control_request(global_hsfll_test_clk_ctx,
263241
ARRAY_SIZE(global_hsfll_test_clk_ctx));

0 commit comments

Comments
 (0)