aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig
diff options
context:
space:
mode:
authorEd Wildgoose <git@wildgooses.com>2011-09-20 17:00:12 -0400
committerThomas Gleixner <tglx@linutronix.de>2011-09-21 05:19:42 -0400
commitd4f3e350172a1dc769ed5e7f5bd540feb0c475d8 (patch)
treeddf2c6a7b32b9c91e003f7f60260ddf985e91b16 /arch/x86/Kconfig
parent9d037a777695993ec7437e5f451647dea7919d4c (diff)
x86: geode: New PCEngines Alix system driver
This new driver replaces the old PCEngines Alix 2/3 LED driver with a new driver that controls the LEDs through the leds-gpio driver. The old driver accessed GPIOs directly, which created a conflict and prevented also loading the cs5535-gpio driver to read other GPIOs on the Alix board. With this new driver, we hook into leds-gpio which in turn uses GPIO to control the LEDs and therefore it's possible to control both the LEDs and access onboard GPIOs Driver is moved to platform/geode as requested by Grant and any other geode initialisation modules should move here also This driver is inspired by leds-net5501.c by Alessandro Zummo. Ideally, leds-net5501.c should also be moved to platform/geode. Additionally the driver relies on parts of the patch: 7f131cf3ed ("leds: leds-alix2c - take port address from MSR) by Daniel Mack to perform detection of the Alix board. [akpm@linux-foundation.org: include module.h] Signed-off-by: Ed Wildgoose <kernel@wildgooses.com> Cc: git@wildgooses.com Cc: Alessandro Zummo <a.zummo@towertech.it> Cc: Daniel Mack <daniel@caiaq.de> Cc: Ingo Molnar <mingo@elte.hu> Cc: "H. Peter Anvin" <hpa@zytor.com> Cc: Richard Purdie <rpurdie@rpsys.net> Reviewed-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r--arch/x86/Kconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 6a47bb22657..8c4e5bc35e2 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -2064,6 +2064,20 @@ config OLPC_XO15_SCI
2064 - AC adapter status updates 2064 - AC adapter status updates
2065 - Battery status updates 2065 - Battery status updates
2066 2066
2067config ALIX
2068 bool "PCEngines ALIX System Support (LED setup)"
2069 select GPIOLIB
2070 ---help---
2071 This option enables system support for the PCEngines ALIX.
2072 At present this just sets up LEDs for GPIO control on
2073 ALIX2/3/6 boards. However, other system specific setup should
2074 get added here.
2075
2076 Note: You must still enable the drivers for GPIO and LED support
2077 (GPIO_CS5535 & LEDS_GPIO) to actually use the LEDs
2078
2079 Note: You have to set alix.force=1 for boards with Award BIOS.
2080
2067endif # X86_32 2081endif # X86_32
2068 2082
2069config AMD_NB 2083config AMD_NB