From: Simon Glass Date: Fri, 31 Mar 2017 11:54:57 -0600 Subject: [U-Boot] [PATCH 0/8] dm: led: Expand the LED interface and add a command Message-ID: <20170331175506.29079-1-sjg@chromium.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de The LED interface for driver model is a little primitive. This series expands it to match the legacy interface and adds a command to match. Simon Glass (8): sandbox: Add some test LEDs dm: led: Rename struct led_uclass_plat dm: led: Adjust the LED uclass dm: led: Add support for getting the state of an LED dm: led: Support toggling LEDs dm: led: Add support for blinking LEDs led: Mark existing driver as legacy dm: led: Add a new 'led' command arch/sandbox/dts/sandbox.dts | 14 +++ cmd/Kconfig | 9 ++ cmd/Makefile | 3 +- cmd/led.c | 252 +++++++++++++++++-------------------------- cmd/legacy_led.c | 187 ++++++++++++++++++++++++++++++++ drivers/led/led-uclass.c | 30 +++++- drivers/led/led_gpio.c | 39 ++++++- include/led.h | 62 +++++++++-- test/dm/led.c | 54 +++++++++- 9 files changed, 476 insertions(+), 174 deletions(-) create mode 100644 cmd/legacy_led.c -- 2.12.2.564.g063fe858b8-goog