Skip to content

Commit f3a84af

Browse files
AlvinPaul26michalsimek
authored andcommitted
tests: drivers: gpio: gpio_basic_api: Add support for mbv32
Add gpio driver testcase support for mbv32. The overlay will select the gpio channel to be tested. Add test scenario name with filter and etra_arg for mbv32. For running this testcase hardware design on mbv32 should have pin0 and pin1 connected together inside PL and there is no need to do any connection out of PL. Signed-off-by: Paul Alvin <[email protected]> Message-ID: <[email protected]> State: pending
1 parent 4931c0c commit f3a84af

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
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 = <&axi_gpio 0 0>; /* AXI-GPIO CHANNEL 0 PIN 0 */
12+
in-gpios = <&axi_gpio 1 0>; /* AXI-GPIO CHANNEL 0 PIN 1 */
13+
};
14+
};

tests/drivers/gpio/gpio_basic_api/testcase.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,9 @@ tests:
2626
platform_allow:
2727
- kv260_r5
2828
extra_args: "DTC_OVERLAY_FILE=boards/kv260_r5.overlay"
29+
30+
drivers.gpio.mbv32:
31+
filter: CONFIG_GPIO_XLNX_AXI
32+
platform_allow:
33+
- mbv32
34+
extra_args: "DTC_OVERLAY_FILE=boards/mbv32.overlay"

0 commit comments

Comments
 (0)