dm: led: Add a new 'led' command
authorSimon Glass <sjg@chromium.org>
Mon, 10 Apr 2017 17:34:59 +0000 (11:34 -0600)
committerSimon Glass <sjg@chromium.org>
Sat, 15 Apr 2017 01:38:57 +0000 (19:38 -0600)
commitffe2052d6e8add8ea66a7d1647255aa28715f067
tree6f349f635e710ab046cc2589983bc7b05101f2c1
parent21c340849dc551fd49a17633a090fd1d52d75049
dm: led: Add a new 'led' command

When driver model is used for LEDs, provide a command to allow LED access.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Ziping Chen <techping.chan@gmail.com>
cmd/Kconfig
cmd/Makefile
cmd/led.c [new file with mode: 0644]