mbox series

[0/2] kselftest: devices: Allow running test on more platforms

Message ID 20240613-kselftest-discoverable-probe-mt8195-kci-v1-0-7b396a9b032d@collabora.com (mailing list archive)
Headers show
Series kselftest: devices: Allow running test on more platforms | expand

Message

Nícolas F. R. A. Prado June 13, 2024, 3:14 p.m. UTC
This series adds two new features required to be able to run the test on
more platforms on KernelCI.

The first patch adds a parameter to allow overriding the directory in
which the board files will be looked for. Since the board files are
hosted in a separate repository [1], this parameter allows overlaying
those files on the filesystem and passing the location to the test.

The second is needed for one platform in particular, MT8195, in which
the usb controllers are instanced from a two-level deep DT node that
doesn't allow unique matching based on the existing properties.

[1] https://github.com/kernelci/platform-test-parameters

Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
---
Nícolas F. R. A. Prado (2):
      kselftest: devices: Allow specifying boards directory through parameter
      kselftest: devices: Add of-fullname-regex property

 .../selftests/devices/boards/google,spherion.yaml  |  4 +++
 .../selftests/devices/test_discoverable_devices.py | 37 +++++++++++++++++++++-
 2 files changed, 40 insertions(+), 1 deletion(-)
---
base-commit: d97496ca23a2d4ee80b7302849404859d9058bcd
change-id: 20240612-kselftest-discoverable-probe-mt8195-kci-ca21742776d0

Best regards,