aboutsummaryrefslogtreecommitdiffstats
path: root/test/cmd
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2022-04-04 01:23:27 +0200
committerTom Rini <trini@konsulko.com>2022-04-14 15:39:15 -0400
commit72675b063b6ede269a8edee29575ade02c21b58d (patch)
tree44f0c4364eccfb6d6d3faf572de8712784a64b83 /test/cmd
parent2d1deaf88edc1182372794c79f43c6aa6c163d8e (diff)
downloadu-boot-72675b063b6ede269a8edee29575ade02c21b58d.tar.gz
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 <marex@denx.de> Cc: Alex Nemirovsky <alex.nemirovsky@cortina-access.com> Cc: Patrick Delaunay <patrick.delaunay@foss.st.com> Cc: Philippe Reynes <philippe.reynes@softathome.com> Cc: Sean Anderson <seanga2@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Steven Lawrance <steven.lawrance@softathome.com> [trini: Update the relevant test now that we have support] Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'test/cmd')
-rw-r--r--test/cmd/pinmux.c2
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();