summaryrefslogtreecommitdiffstats
path: root/arch/arm64
diff options
context:
space:
mode:
authorLinus Walleij2015-02-25 13:11:55 +0100
committerLinus Walleij2015-05-11 08:55:04 +0200
commit48f1a9a4e268dec7c7f3e79339cfb85699c48eb0 (patch)
tree80706d6cbe0342b05cb38e2a8eb43fc00a5ccfca /arch/arm64
parentarm64: juno: Add APB registers and LEDs using syscon (diff)
downloadkernel-qcow2-linux-48f1a9a4e268dec7c7f3e79339cfb85699c48eb0.tar.gz
kernel-qcow2-linux-48f1a9a4e268dec7c7f3e79339cfb85699c48eb0.tar.xz
kernel-qcow2-linux-48f1a9a4e268dec7c7f3e79339cfb85699c48eb0.zip
arm64: add LEDs and some trigger support to defconfig
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>
Diffstat (limited to 'arch/arm64')
-rw-r--r--arch/arm64/configs/defconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 2ed7449d9273..866640be32b5 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -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