diff options
author | Cory Maccarrone <darkstar6262@gmail.com> | 2010-01-19 05:22:45 -0500 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2010-03-07 16:17:09 -0500 |
commit | 6048a3dd2371c58611ea0ab8b306f8f1469399ae (patch) | |
tree | 961cff65dda1ea4ab5049d01d858c95ee2ac5044 /drivers/mfd/Kconfig | |
parent | 08ff6f2a9908c87b0adffe6453291be22db3a62f (diff) |
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>
Diffstat (limited to 'drivers/mfd/Kconfig')
-rw-r--r-- | drivers/mfd/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index d63ab2eec661..9bcd447e71e2 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig | |||
@@ -78,6 +78,15 @@ config HTC_PASIC3 | |||
78 | HTC Magician devices, respectively. Actual functionality is | 78 | HTC Magician devices, respectively. Actual functionality is |
79 | handled by the leds-pasic3 and ds1wm drivers. | 79 | handled by the leds-pasic3 and ds1wm drivers. |
80 | 80 | ||
81 | config HTC_I2CPLD | ||
82 | bool "HTC I2C PLD chip support" | ||
83 | depends on I2C=y | ||
84 | help | ||
85 | If you say yes here you get support for the supposed CPLD | ||
86 | found on omap850 HTC devices like the HTC Wizard and HTC Herald. | ||
87 | This device provides input and output GPIOs through an I2C | ||
88 | interface to one or more sub-chips. | ||
89 | |||
81 | config UCB1400_CORE | 90 | config UCB1400_CORE |
82 | tristate "Philips UCB1400 Core driver" | 91 | tristate "Philips UCB1400 Core driver" |
83 | depends on AC97_BUS | 92 | depends on AC97_BUS |