gpio: Add Tunnel Creek support to sch_gpio
authorDenis Turischev <denis@compulab.co.il>
Mon, 14 Mar 2011 10:53:05 +0000 (12:53 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 23 Mar 2011 09:42:08 +0000 (10:42 +0100)
commitf04ddfcd24bf3c1f987eaf634a84998044e616d3
tree30122eb0350fbec7f59089d5338ed1007017e162
parente967f77d9818df884bdffb3e801eb12e0fd52b1c
gpio: Add Tunnel Creek support to sch_gpio

Almost the same driver for both Poulsbo and Tunnel Creek.
The difference is in quantity of GPIOs powered by the core power
rail and by suspend power supply, default values for some GPIOs, etc.
Detect actual hardware by platform device ID assigned in lpc_sch
and set configuration accordingly.

Signed-off-by: Denis Turischev <denis@compulab.co.il>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/gpio/Kconfig
drivers/gpio/sch_gpio.c