2020-08-22 04:53:25 +08:00
|
|
|
common:
|
|
|
|
tags: drivers gpio
|
|
|
|
depends_on: gpio
|
2021-08-18 23:51:14 +08:00
|
|
|
filter: dt_compat_enabled("test-regulator-fixed")
|
2020-08-22 04:53:25 +08:00
|
|
|
harness: ztest
|
|
|
|
harness_config:
|
|
|
|
fixture: regulator_loopback
|
2021-04-14 21:03:33 +08:00
|
|
|
integration_platforms:
|
|
|
|
- nrf52840dk_nrf52840
|
2020-08-22 04:53:25 +08:00
|
|
|
|
|
|
|
tests:
|
|
|
|
drivers.regulator.fixed.onoff:
|
|
|
|
depends_on: gpio
|
|
|
|
drivers.regulator.fixed.onoff.on_delay:
|
|
|
|
extra_args: "DTS_EXTRA_CPPFLAGS=-DAPP_DTS_REGULATOR_ON_DELAYED"
|
|
|
|
drivers.regulator.fixed.onoff.off_delay:
|
|
|
|
extra_args: "DTS_EXTRA_CPPFLAGS=-DAPP_DTS_REGULATOR_OFF_DELAYED"
|
|
|
|
drivers.regulator.fixed.onoff.boot_on:
|
|
|
|
extra_args: "DTS_EXTRA_CPPFLAGS=-DAPP_DTS_REGULATOR_BOOT_ON"
|
|
|
|
drivers.regulator.fixed.onoff.always_on:
|
|
|
|
extra_args: "DTS_EXTRA_CPPFLAGS=-DAPP_DTS_REGULATOR_ALWAYS_ON"
|
|
|
|
drivers.regulator.fixed.sync:
|
|
|
|
extra_args: "DTS_EXTRA_CPPFLAGS=-DAPP_DTS_REGULATOR_SYNC"
|
|
|
|
drivers.regulator.fixed.sync.boot_on:
|
|
|
|
extra_args: "DTS_EXTRA_CPPFLAGS=-DAPP_DTS_REGULATOR_SYNC;-DAPP_DTS_REGULATOR_BOOT_ON"
|
|
|
|
drivers.regulator.fixed.sync.always_on:
|
|
|
|
extra_args: "DTS_EXTRA_CPPFLAGS=-DAPP_DTS_REGULATOR_SYNC;-DAPP_DTS_REGULATOR_ALWAYS_ON"
|