zephyr/tests/drivers/i2c/i2c_ram/testcase.yaml
Yuval Peress 8974c248cf rtio: Add default i2c submit handler
Use the RTIO work queue to fake the i2c submit calls for drivers which
haven't yet implemented the API. Applications can change the size of
the work queue pool depending on how much traffic they have on the buses.

Signed-off-by: Yuval Peress <peress@google.com>
2024-09-04 21:28:26 +02:00

34 lines
759 B
YAML

common:
depends_on: i2c
tags:
- drivers
- i2c
filter: dt_alias_exists("i2c-ram")
harness: ztest
harness_config:
fixture: i2c_ram
tests:
drivers.i2c.ram:
depends_on: i2c
tags:
- drivers
- i2c
drivers.i2c.ram.rtio:
filter: CONFIG_I2C_RTIO
extra_configs:
- CONFIG_I2C_RTIO=y
- CONFIG_ZTEST_THREAD_PRIORITY=2
drivers.i2c.ram.pm:
filter: CONFIG_HAS_PM
extra_configs:
- CONFIG_PM=y
- CONFIG_PM_DEVICE=y
- CONFIG_PM_DEVICE_RUNTIME=y
drivers.i2c.ram.pm.rtio:
filter: CONFIG_HAS_PM and CONFIG_I2C_RTIO
extra_configs:
- CONFIG_PM=y
- CONFIG_PM_DEVICE=y
- CONFIG_PM_DEVICE_RUNTIME=y
- CONFIG_I2C_RTIO=y
- CONFIG_ZTEST_THREAD_PRIORITY=2