x86/geode/alix2: Supplement driver to include GPIO button support
authorPhilip Prindeville <[email protected]>
Mon, 5 Mar 2012 23:05:14 +0000 (15:05 -0800)
committerIngo Molnar <[email protected]>
Tue, 6 Mar 2012 08:23:56 +0000 (09:23 +0100)
commit373913b568cbfbefcee3263b98bd5a1a8b491f1b
tree96f2d7925a7c66d145d9db0f452d318d07a93eac
parent8bee7cea6c93b5514b672d1c347dad9960823f12
x86/geode/alix2: Supplement driver to include GPIO button support

GPIO 24 is used in reference designs as a soft-reset button, and
the alix2 is no exception.  Add it as a gpio-button.

Use symbolic values to describe BIOS addresses.

Record the model number.

Signed-off-by: Philip A. Prindeville <[email protected]>
Acked-by: Ed Wildgoose <[email protected]>
Acked-by: Andres Salomon <[email protected]>
Cc: Matthew Garrett <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
[ tidied up the code a bit ]
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/platform/geode/alix.c