mfd: add PCAP driver
authorDaniel Ribeiro <drwyrm@gmail.com>
Thu, 28 May 2009 18:43:37 +0000 (15:43 -0300)
committerSamuel Ortiz <sameol@linux.intel.com>
Wed, 17 Jun 2009 17:41:35 +0000 (19:41 +0200)
commit13a09f93d2bf3a20c748e1d6a30160a00fc58169
tree1dab40fb0cdf9c4a559d6b9a92a29a4cd98032d6
parent14fa56917d73d823538151b0429d98211fa439c1
mfd: add PCAP driver

The PCAP Asic as present on EZX phones is a multi function device with
voltage regulators, ADC, touch screen controller, RTC, USB transceiver,
leds controller, and audio codec.

It has two SPI ports, typically one is connected to the application
processor and another to the baseband, this driver provides read/write
functions to its registers, irq demultiplexer and ADC
queueing/abstraction.

This chip is used on a lot of Motorola phones, it was manufactured by TI
as a custom product with the name PTWL93017, later this design evolved
into the ATLAS PMIC from Freescale (MC13783).

Signed-off-by: Daniel Ribeiro <drwyrm@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/Kconfig
drivers/mfd/Makefile
drivers/mfd/ezx-pcap.c [new file with mode: 0644]
include/linux/mfd/ezx-pcap.h [new file with mode: 0644]