]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00178223-3 gpio-led: Add LED-GPIO control and trigger for sabresd
authorLin Fuzhen <fuzhen.lin@freescale.com>
Thu, 26 Apr 2012 06:54:44 +0000 (14:54 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:34:30 +0000 (08:34 +0200)
Add led-gpio control and trigger for sabresd

Signed-off-by: Lin Fuzhen <fuzhen.lin@freescale.com>
arch/arm/configs/imx6_defconfig

index 6a8a55cda5c9fd74a5ee4223bc7e1e5d2bc5d6ff..a4e56b4098ddeeb1b885ab37ebfc7a2b40626193 100644 (file)
@@ -2079,7 +2079,8 @@ CONFIG_LEDS_CLASS=y
 #
 # CONFIG_LEDS_LM3530 is not set
 # CONFIG_LEDS_PCA9532 is not set
-# CONFIG_LEDS_GPIO is not set
+CONFIG_LEDS_GPIO=y
+CONFIG_LEDS_GPIO_PLATFORM=y
 # CONFIG_LEDS_LP3944 is not set
 # CONFIG_LEDS_LP5521 is not set
 # CONFIG_LEDS_LP5523 is not set
@@ -2089,11 +2090,17 @@ CONFIG_LEDS_CLASS=y
 # CONFIG_LEDS_REGULATOR is not set
 # CONFIG_LEDS_BD2802 is not set
 # CONFIG_LEDS_LT3593 is not set
-# CONFIG_LEDS_TRIGGERS is not set
+CONFIG_LEDS_TRIGGERS=y
 
 #
 # LED Triggers
 #
+# CONFIG_LEDS_TRIGGER_TIMER is not set
+# CONFIG_LEDS_TRIGGER_HEARTBEAT is not set
+# CONFIG_LEDS_TRIGGER_BACKLIGHT is not set
+CONFIG_LEDS_TRIGGER_GPIO=y
+CONFIG_LEDS_TRIGGER_DEFAULT_ON=y
+CONFIG_LEDS_TRIGGER_SLEEP=y
 
 #
 # LED Triggers