x86/geode/alix2: Supplement driver to include GPIO button support
authorPhilip Prindeville <philipp@redfish-solutions.com>
Mon, 5 Mar 2012 23:05:14 +0000 (15:05 -0800)
committerIngo Molnar <mingo@elte.hu>
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 <philipp@redfish-solutions.com>
Acked-by: Ed Wildgoose <kernel@wildgooses.com>
Acked-by: Andres Salomon <dilinger@queued.net>
Cc: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Link: http://lkml.kernel.org/n/tip-sjp6k1rjksitx1pej0c0qxd1@git.kernel.org
[ tidied up the code a bit ]
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/platform/geode/alix.c