gpio: Add PMIC GPIO block support
authorAlek Du <alek.du@intel.com>
Tue, 13 Jul 2010 09:56:25 +0000 (10:56 +0100)
committerMatthew Garrett <mjg@redhat.com>
Tue, 3 Aug 2010 13:49:09 +0000 (09:49 -0400)
commit8950778704cf8483cc5cc0140f557adf0d3f45a5
treea08258cb55161df94f724ebfc4c031e45a7004b7
parentb52e04216fcd86968c01ad0cfdb249375f19134d
gpio: Add PMIC GPIO block support

Moorestown has PMIC chip which contains GPIO blocks. The PMIC chip is
connected to Langwell by SPI interface. So this GPIO driver will be regarded
as SPI GPIO expander though the actual GPIO access is through IPC and SRAM.
The SPI master contoller will probe this device driver by parsing SPIB table.

Cleaned up for new IPC, GPE removed and some printk and other tidying by
Alan Cox. Fixes for points noted by Matthew Garrett

Signed-off-by: Alek Du <alek.du@intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/Kconfig
drivers/platform/x86/Makefile
drivers/platform/x86/intel_pmic_gpio.c [new file with mode: 0644]
include/linux/intel_pmic_gpio.h [new file with mode: 0644]