Skip to content

Commit 4931c0c

Browse files
AlvinPaul26michalsimek
authored andcommitted
tests: drivers: gpio: gpio_basic_api: Add support for kv260
Add gpio driver testcase support for kv260. The overlay will select the PS gpio bank to be tested. Add test scenario name with filter and etra_arg for kv260. For running this testcase on kv260 PS gpio bank 3 has been chosen because it is EMIO and design is required to connect pins together. Signed-off-by: Paul Alvin <[email protected]> Message-ID: <[email protected]> Link: zephyrproject-rtos/zephyr#85798 State: waiting
1 parent 92ca35e commit 4931c0c

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/*
2+
* Copyright (c) 2025 Advanced Micro Devices, Inc. (AMD)
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/ {
8+
loop {
9+
compatible = "test-gpio-basic-api";
10+
11+
out-gpios = <&psgpio_bank3 0 0>; /* GPIOPS BANK 3 PIN 0 */
12+
in-gpios = <&psgpio_bank3 1 0>; /* GPIOPS BANK 3 PIN 1 */
13+
};
14+
};
15+
16+
&psgpio {
17+
status = "okay";
18+
};

tests/drivers/gpio/gpio_basic_api/testcase.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,9 @@ tests:
2020
drivers.gpio.mr_canhubk3_wkpu:
2121
platform_allow: mr_canhubk3
2222
extra_args: "DTC_OVERLAY_FILE=boards/mr_canhubk3_wkpu.overlay"
23+
24+
drivers.gpio.kv260_r5:
25+
filter: CONFIG_GPIO_XLNX_PS
26+
platform_allow:
27+
- kv260_r5
28+
extra_args: "DTC_OVERLAY_FILE=boards/kv260_r5.overlay"

0 commit comments

Comments
 (0)