Cory Maccarrone 6048a3dd23 mfd: Add HTCPLD driver
This change introduces a driver for the HTC PLD chip found
on some smartphones, such as the HTC Wizard and HTC Herald.
It works through the I2C bus and acts as a GPIO extender.
Specifically:

 * it can have several sub-devices, each with its own I2C
   address
 * Each sub-device provides 8 output and 8 input pins
 * The chip attaches to one GPIO to signal when any of the
   input GPIOs change -- at which point all chips must be
   scanned for changes

This driver implements the GPIOs throught the kernel's
GPIO and IRQ framework.  This allows any GPIO-servicing
drivers to operate on htcpld pins, such as the gpio-keys
and gpio-leds drivers.

Signed-off-by: Cory Maccarrone <darkstar6262@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2010-03-07 22:17:09 +01:00
..
2009-09-17 09:47:21 +02:00
2009-12-13 19:21:26 +01:00
2010-03-07 22:17:09 +01:00
2010-03-07 22:17:09 +01:00
2010-03-07 22:17:09 +01:00
2010-03-07 22:17:07 +01:00
2010-03-07 22:17:06 +01:00
2009-11-27 21:07:21 +01:00
2010-03-07 22:16:52 +01:00
2010-03-07 22:16:54 +01:00
2009-12-13 21:23:33 +01:00
2009-11-27 21:07:21 +01:00
2009-12-13 19:21:41 +01:00
2009-09-17 09:46:59 +02:00
2009-01-04 12:17:42 +01:00
2010-03-07 22:16:57 +01:00