zephyr/tests/drivers/regulator/pmic
Kumar Gala 8739899a02 tests: regulator: pmic: Convert to use DEVICE_DT_GET
Move to use DEVICE_DT_GET instead of device_get_binding as
we work on phasing out use of DTS 'label' property.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-07-08 10:51:16 +02:00
..
boards
src tests: regulator: pmic: Convert to use DEVICE_DT_GET 2022-07-08 10:51:16 +02:00
CMakeLists.txt
Kconfig
prj.conf
README.txt
testcase.yaml

PMIC Regulator
###############

This application tests the i2c pmic regulator driver in multiple
configurations. It requires that an output source from the power management IC
be shorted to an ADC input, so that the test can verify the that the pmic is
responding to commands.

Only boards for which an overlay is present can pass this test.  Boards
without an overlay, or for which the required wiring is not provided,
will fail with an error like this:

    Assertion failed at ../src/main.c:196: test_basic: adc_reading >= 200
	is false

No special build options are required to make use of the overlay.