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)
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

Simple merge
Simple merge