All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/4] Support for TSC/ADC MFD driver
@ 2012-10-05  7:34 ` Patil, Rachna
  0 siblings, 0 replies; 12+ messages in thread
From: Patil, Rachna @ 2012-10-05  7:34 UTC (permalink / raw)
  To: linux-kernel, linux-input, linux-iio
  Cc: Samuel Ortiz, Dmitry Torokhov, Dmitry Torokhov, Jonathan Cameron,
	Patil, Rachna

This patch set adds a MFD core driver which registers
touchscreen and ADC as its client drivers.
The existing touchscreen has been modified to work as
a MFD client driver and a new ADC driver has been added
in the IIO subsystem.

There are 8 analog input lines, which can be used as:
1. 8 general purpose ADC channels
2. 4 wire TS, with 4 general purpose ADC channels
3. 5 wire TS, with 3 general purpose ADC channels

This patch set has been tested on AM335x EVM.

These set of patches apply to linux-nxt branch and are based
on top of Touchscreen patch set submitted viz.
Subject: [PATCH 0/4] input: TSC: ti_tscadc: TI Touchscreen driver updates [1]

[1] http://www.spinics.net/lists/linux-input/msg22107.html

Changes in v2:
	Dropped one patch send in the last version after
	receiving internal comments. I have merged the changes
	into existing patches.
	Also added a new patch to support suspend/resume feature.
	Fixed review comments by Matthias Kaehlcke.

Changes in v3:
	Addressed review comments by Jonathan Cameron.
	Improved ADC driver with more readable labels,
	spaces and comments.

Changes in v4:
	Renamed the drivers from ti_xxx to ti_am335x_xxx.
	For consistency with other drivers renamed idev to indio_dev
	in IIO ADC driver.
	Replaced suspend/resume callbacks with dev_pm_ops.

Changes in v5:
	Merged suspend/resume part of code (present as separate patch)
	into the respective driver.

Patil, Rachna (4):
  input: TSC: ti_tscadc: Rename the existing touchscreen driver
  MFD: ti_tscadc: Add support for TI's TSC/ADC MFDevice
  input: TSC: ti_tsc: Convert TSC into a MFDevice
  IIO : ADC: tiadc: Add support of TI's ADC driver

 drivers/iio/adc/Kconfig                            |    7 +
 drivers/iio/adc/Makefile                           |    1 +
 drivers/iio/adc/ti_am335x_adc.c                    |  260 ++++++++++
 drivers/input/touchscreen/Kconfig                  |    6 +-
 drivers/input/touchscreen/Makefile                 |    2 +-
 drivers/input/touchscreen/ti_am335x_tsc.c          |  398 +++++++++++++++
 drivers/input/touchscreen/ti_tscadc.c              |  522 --------------------
 drivers/mfd/Kconfig                                |   11 +
 drivers/mfd/Makefile                               |    1 +
 drivers/mfd/ti_am335x_tscadc.c                     |  277 +++++++++++
 .../linux/input/{ti_tscadc.h => ti_am335x_tsc.h}   |    4 +-
 include/linux/mfd/ti_am335x_tscadc.h               |  152 ++++++
 include/linux/platform_data/ti_am335x_adc.h        |   14 +
 13 files changed, 1127 insertions(+), 528 deletions(-)
 create mode 100644 drivers/iio/adc/ti_am335x_adc.c
 create mode 100644 drivers/input/touchscreen/ti_am335x_tsc.c
 delete mode 100644 drivers/input/touchscreen/ti_tscadc.c
 create mode 100644 drivers/mfd/ti_am335x_tscadc.c
 rename include/linux/input/{ti_tscadc.h => ti_am335x_tsc.h} (88%)
 create mode 100644 include/linux/mfd/ti_am335x_tscadc.h
 create mode 100644 include/linux/platform_data/ti_am335x_adc.h


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2012-10-06  9:40 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-05  7:34 [PATCH v5 0/4] Support for TSC/ADC MFD driver Patil, Rachna
2012-10-05  7:34 ` Patil, Rachna
2012-10-05  7:34 ` [PATCH v5 1/4] input: TSC: ti_tscadc: Rename the existing touchscreen driver Patil, Rachna
2012-10-05  7:34   ` Patil, Rachna
2012-10-05  7:34 ` [PATCH v5 2/4] MFD: ti_tscadc: Add support for TI's TSC/ADC MFDevice Patil, Rachna
2012-10-05  7:34   ` Patil, Rachna
2012-10-05  7:34 ` [PATCH v5 3/4] input: TSC: ti_tsc: Convert TSC into a MFDevice Patil, Rachna
2012-10-05  7:34   ` Patil, Rachna
2012-10-05  7:34 ` [PATCH v5 4/4] IIO : ADC: tiadc: Add support of TI's ADC driver Patil, Rachna
2012-10-05  7:34   ` Patil, Rachna
2012-10-06  9:40   ` Jonathan Cameron
2012-10-06  9:40     ` Jonathan Cameron

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.