]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: add LEDs and some trigger support to defconfig
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 25 Feb 2015 12:11:55 +0000 (13:11 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 11 May 2015 06:55:04 +0000 (08:55 +0200)
Since many boards for ARM, experimental or server alike, will
feature LEDs, let's include LED class and trigger support for
heartbeat and CPU in the defconfig. Many systems (such as the
ARM Juno) will use a system controller "syscon" to access the
LED registers, so include support for this as well.

Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Liviu Dudau <Liviu.Dudau@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm64/configs/defconfig

index 2ed7449d9273c01b314d59c7a81b12472b4f7948..866640be32b598f9282eb466cadd0a28864cb4b9 100644 (file)
@@ -138,6 +138,12 @@ CONFIG_MMC_ARMMMCI=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_PLTFM=y
 CONFIG_MMC_SPI=y
+CONFIG_NEW_LEDS=y
+CONFIG_LEDS_CLASS=y
+CONFIG_LEDS_SYSCON=y
+CONFIG_LEDS_TRIGGERS=y
+CONFIG_LEDS_TRIGGER_HEARTBEAT=y
+CONFIG_LEDS_TRIGGER_CPU=y
 CONFIG_RTC_CLASS=y
 CONFIG_RTC_DRV_EFI=y
 CONFIG_RTC_DRV_XGENE=y