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 |
---|---|---|
oss | ||
seq | ||
Kconfig | -rw-r--r-- | 5.9 KB |
Makefile | -rw-r--r-- | 1007 bytes |
control.c | -rw-r--r-- | 38.5 KB |
control_compat.c | -rw-r--r-- | 11.3 KB |
device.c | -rw-r--r-- | 6.5 KB |
hrtimer.c | -rw-r--r-- | 4.0 KB |
hwdep.c | -rw-r--r-- | 13.0 KB |
hwdep_compat.c | -rw-r--r-- | 2.3 KB |
info.c | -rw-r--r-- | 22.7 KB |
info_oss.c | -rw-r--r-- | 3.9 KB |
init.c | -rw-r--r-- | 23.6 KB |
isadma.c | -rw-r--r-- | 3.0 KB |
jack.c | -rw-r--r-- | 4.4 KB |
memalloc.c | -rw-r--r-- | 13.4 KB |
memory.c | -rw-r--r-- | 2.5 KB |
misc.c | -rw-r--r-- | 3.9 KB |
pcm.c | -rw-r--r-- | 31.6 KB |
pcm_compat.c | -rw-r--r-- | 15.0 KB |
pcm_lib.c | -rw-r--r-- | 58.1 KB |
pcm_memory.c | -rw-r--r-- | 14.3 KB |
pcm_misc.c | -rw-r--r-- | 11.9 KB |
pcm_native.c | -rw-r--r-- | 93.2 KB |
pcm_timer.c | -rw-r--r-- | 3.7 KB |
rawmidi.c | -rw-r--r-- | 47.4 KB |
rawmidi_compat.c | -rw-r--r-- | 3.5 KB |
rtctimer.c | -rw-r--r-- | 4.1 KB |
sgbuf.c | -rw-r--r-- | 3.5 KB |
sound.c | -rw-r--r-- | 11.4 KB |
sound_oss.c | -rw-r--r-- | 7.2 KB |
timer.c | -rw-r--r-- | 50.6 KB |
timer_compat.c | -rw-r--r-- | 3.5 KB |
vmaster.c | -rw-r--r-- | 10.3 KB |
Computing file changes ...