ARM: ep93xx: add LEDs and triggers to defconfig
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 16 Jun 2015 08:34:46 +0000 (10:34 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 17 Jul 2015 09:52:37 +0000 (11:52 +0200)
The EP93xx has two designated LEDs (not always connected): a
green and a red one. These are registered in the core, so let's
enable the driver and some triggers.

Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/configs/ep93xx_defconfig

index b3c32d0d457394b01063488e9f022085c4cc23f5..9a5205abc7c3a1778d7b672c092a769c5e816f86 100644 (file)
@@ -99,6 +99,11 @@ CONFIG_USB_SERIAL_CONSOLE=y
 CONFIG_USB_SERIAL_PL2303=y
 CONFIG_MMC=y
 CONFIG_MMC_SPI=y
+CONFIG_NEW_LEDS=y
+CONFIG_LEDS_CLASS=y
+CONFIG_LEDS_GPIO=y
+CONFIG_LEDS_TRIGGERS=y
+CONFIG_LEDS_TRIGGER_HEARTBEAT=y
 CONFIG_RTC_CLASS=y
 CONFIG_RTC_DRV_DS1307=y
 CONFIG_RTC_DRV_M48T86=y