dm: led: add testcase for "default-state" property
authorPatrick Bruenn <p.bruenn@beckhoff.com>
Wed, 11 Apr 2018 09:16:29 +0000 (11:16 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 8 May 2018 13:07:33 +0000 (09:07 -0400)
commit274fb461f4792431b3777874472c8bd6149e6168
treefeda58bae1096bec0f08ed2b546a99542d87dabd
parentbc882f5d5c7b4d6ed5e927bf838863af43c786e7
dm: led: add testcase for "default-state" property

Add two more gpio-leds to sandbox test device tree with default-state
property set to "on"/"off".
Add dm_test_led_default_state() to check that these new LED's are set to
LEDST_ON and LEDST_OFF.

dm: led: add testcase for "default-state" property

Add two more gpio-leds to sandbox test device tree with default-state
property set to "on"/"off".
Add dm_test_led_default_state() to check that these new LED's are set to
LEDST_ON and LEDST_OFF.

Signed-off-by: Patrick Bruenn <p.bruenn@beckhoff.com>
arch/sandbox/dts/test.dts
test/dm/led.c