mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 08:23:17 +00:00
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.
[[email protected]: include module.h]
Signed-off-by: Ed Wildgoose <[email protected]>
Cc: [email protected]
Cc: Alessandro Zummo <[email protected]>
Cc: Daniel Mack <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: Richard Purdie <[email protected]>
Reviewed-by: Grant Likely <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
12 lines
187 B
Makefile
12 lines
187 B
Makefile
# Platform specific code goes here
|
|
obj-y += ce4100/
|
|
obj-y += efi/
|
|
obj-y += geode/
|
|
obj-y += iris/
|
|
obj-y += mrst/
|
|
obj-y += olpc/
|
|
obj-y += scx200/
|
|
obj-y += sfi/
|
|
obj-y += visws/
|
|
obj-y += uv/
|