zephyr/tests/drivers/regulator/fixed/dts/test_common.dtsi
Gerard Marull-Paretas b67c78bfbe tests: drivers: regulator: refactor fixed regulator test
Refactor the test following latest changes on the regulator API. The
test has now a single case that tests all the features of the driver at
once.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-12-21 10:09:55 +01:00

19 lines
317 B
Plaintext

/*
* Copyright 2020 Peter Bigot Consulting, LLC
* SPDX-License-Identifier: Apache-2.0
*/
/ {
regulator {
compatible = "regulator-fixed";
regulator-name = "test";
regulator-boot-on;
startup-delay-us = <1000000>;
off-on-delay-us = <20000>;
};
resources {
compatible = "test-regulator-fixed";
};
};