Revision 6048a3dd2371c58611ea0ab8b306f8f1469399ae authored by Cory Maccarrone on 19 January 2010, 10:22:45 UTC, committed by Samuel Ortiz on 07 March 2010, 21:17:09 UTC
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>
1 parent 08ff6f2
File | Mode | Size |
---|---|---|
Kbuild | -rw-r--r-- | 117 bytes |
inftl-user.h | -rw-r--r-- | 1.5 KB |
mtd-abi.h | -rw-r--r-- | 4.5 KB |
mtd-user.h | -rw-r--r-- | 456 bytes |
nftl-user.h | -rw-r--r-- | 1.3 KB |
ubi-user.h | -rw-r--r-- | 15.1 KB |
Computing file changes ...