diff options
| author | Marek Vasut <[email protected]> | 2022-04-04 01:23:27 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-04-14 15:39:15 -0400 |
| commit | 72675b063b6ede269a8edee29575ade02c21b58d (patch) | |
| tree | 44f0c4364eccfb6d6d3faf572de8712784a64b83 /test/cmd | |
| parent | 2d1deaf88edc1182372794c79f43c6aa6c163d8e (diff) | |
led: Configure LED default-state on boot
In case the DT LED subnode contains "default-state" property set to
either "on" or "off", probe the LED driver and configure the LED state
automatically.
Signed-off-by: Marek Vasut <[email protected]>
Cc: Alex Nemirovsky <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: Philippe Reynes <[email protected]>
Cc: Sean Anderson <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Steven Lawrance <[email protected]>
[trini: Update the relevant test now that we have support]
Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'test/cmd')
| -rw-r--r-- | test/cmd/pinmux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cmd/pinmux.c b/test/cmd/pinmux.c index ba338b8dce8..de3bb0d2f97 100644 --- a/test/cmd/pinmux.c +++ b/test/cmd/pinmux.c @@ -16,7 +16,7 @@ static int dm_test_cmd_pinmux_status_pinname(struct unit_test_state *uts) /* Test that 'pinmux status <pinname>' displays the selected pin. */ console_record_reset(); run_command("pinmux status a5", 0); - ut_assert_nextlinen("a5 : gpio input ."); + ut_assert_nextlinen("a5 : gpio output ."); ut_assert_console_end(); console_record_reset(); |
