RE: [PATCH v4 5/8] MFD: ti_am335x_tscadc: Add DT support

2013-02-06 Thread Patil, Rachna
Hi Koen, > > > > > Since AM335x is DT only, why is there a platform data codepath and why > > > > is it the first branch it tries? And I guess the next question is > > > > related to the first: why doesn't it work when used with DT? When I > > > > copy over the nodes from the evm.dts to my boa

RE: [PATCH v4 5/8] MFD: ti_am335x_tscadc: Add DT support

2013-01-31 Thread Patil, Rachna
Vaibhav, > > > > > > > > - if (!pdata) { > > > > + if (!pdata && !pdev->dev.of_node) { > > > > dev_err(&pdev->dev, "Could not find platform data\n"); > > > > return -EINVAL; > > > > } > > > > > > > > - if (pdata->adc_init) > > > > -

RE: [PATCH v4 5/8] MFD: ti_am335x_tscadc: Add DT support

2013-01-30 Thread Patil, Rachna
On Wed, Jan 30, 2013 at 16:10:09, Koen Kooi wrote: > > Op 24 jan. 2013, om 04:45 heeft "Patil, Rachna" het volgende > geschreven: > > > From: "Patil, Rachna" > > > > Make changes to add DT support in the MFD core driver. > > >

[PATCH v4 2/8] input: ti_am335x_tsc: Order of TSC wires, made configurable

2013-01-23 Thread Patil, Rachna
From: "Patil, Rachna" The current driver expected touchscreen input wires(XP,XN,YP,YN) to be connected in a particular order. Making changes to accept this as platform data. Signed-off-by: Patil, Rachna --- drivers/input/touchscreen/ti_am335x_ts

[PATCH v4 3/8] input: touchscreen: ti_tsc: remove unwanted fifo flush

2013-01-23 Thread Patil, Rachna
From: "Patil, Rachna" When touchscreen and ADC are used together, this unwanted fifo flush leads to loss of ADC data. Signed-off-by: Patil, Rachna --- drivers/input/touchscreen/ti_am335x_tsc.c | 10 -- 1 file changed, 10 deletions(-) diff --git a/drivers/input/t

[PATCH v4 7/8] IIO: ti_am335x_adc: Add DT support

2013-01-23 Thread Patil, Rachna
From: "Patil, Rachna" Add DT support for client ADC driver. Signed-off-by: Patil, Rachna --- Changes in v4: Non-standard properties prefixed with vendor name. drivers/iio/adc/ti_am335x_adc.c | 26 ++ 1 file changed, 22 insertions(+), 4 deletion

[PATCH v4 0/8] MFD: ti_am335x_tscadc: DT support and TSC features addition

2013-01-23 Thread Patil, Rachna
From: "Patil, Rachna" This patch set is a cumulative set of [1] and [2] sent earlier. Note that there are no code changes in either of the patch set, only rebased on top of Linus's v3.8-rc3 tag to make sure that all the patches apply without any conflicts. This patch set has

[PATCH v4 6/8] input: ti_am335x_tsc: Add DT support

2013-01-23 Thread Patil, Rachna
From: "Patil, Rachna" Add DT support for client touchscreen driver Signed-off-by: Patil, Rachna --- Changes in v4: Non-standard properties prefixed with vendor name. drivers/input/touchscreen/ti_am335x_tsc.c | 94 + 1 file changed, 81 inserti

[PATCH v4 5/8] MFD: ti_am335x_tscadc: Add DT support

2013-01-23 Thread Patil, Rachna
From: "Patil, Rachna" Make changes to add DT support in the MFD core driver. Signed-off-by: Patil, Rachna --- Changes in v4: Non-standard properties prefixed with vendor name. drivers/mfd/ti_am335x_tscadc.c | 28 +++- 1 file changed, 23 insert

[PATCH v4 8/8] arm/dts: AM335x-evm: Add TSC/ADC MFD device support

2013-01-23 Thread Patil, Rachna
From: "Patil, Rachna" Add support for core multifunctional device along with its clients touchscreen and ADC. Signed-off-by: Patil, Rachna --- Changes in v4: Non-standard properties prefixed with vendor name. arch/arm/boot/dts/am335x-evm.dts | 13 + arch/ar

[PATCH v4 4/8] MFD: ti_am335x_tscadc: add device tree binding information

2013-01-23 Thread Patil, Rachna
From: "Patil, Rachna" Signed-off-by: Patil, Rachna --- Changes in v4: Subnodes and their properties documentation added. Non-standard properties prefixed with vendor name. .../devicetree/bindings/mfd/ti_am335x_tscadc.txt | 52 1 file c

[PATCH v4 1/8] input: ti_am335x_tsc: Step enable bits made configurable

2013-01-23 Thread Patil, Rachna
From: "Patil, Rachna" Current code has hard coded value written to step enable bits. Now the bits are updated based on how many steps are needed to be configured got from platform data. The user needs to take care not to exceed the count more than 16. While using ADC and TSC one s

RE: [PATCH v3 4/8] MFD: ti_am335x_tscadc: add device tree binding information

2013-01-22 Thread Patil, Rachna
Hi, On Sun, Jan 20, 2013 at 03:58:14, Lars-Peter Clausen wrote: > Hi, > > On 01/18/2013 11:48 AM, Patil, Rachna wrote: > > From: "Patil, Rachna" > > > > Signed-off-by: Patil, Rachna > > --- > > .../devicetree/bindings/mfd/ti_am335x_tscadc.t

[PATCH v3 8/8] arm/dts: AM335x-evm: Add TSC/ADC MFD device support

2013-01-18 Thread Patil, Rachna
From: "Patil, Rachna" Add support for core multifunctional device along with its clients touchscreen and ADC. Signed-off-by: Patil, Rachna --- arch/arm/boot/dts/am335x-evm.dts | 13 + arch/arm/boot/dts/am33xx.dtsi|8 2 files changed, 21 insertions(+)

[PATCH v3 7/8] IIO: ti_am335x_adc: Add DT support

2013-01-18 Thread Patil, Rachna
From: "Patil, Rachna" Add DT support for client ADC driver. Signed-off-by: Patil, Rachna --- drivers/iio/adc/ti_am335x_adc.c | 26 ++ 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/drivers/iio/adc/ti_am335x_adc.c b/drivers/iio/adc/ti_am

[PATCH v3 5/8] MFD: ti_am335x_tscadc: Add DT support

2013-01-18 Thread Patil, Rachna
From: "Patil, Rachna" Make changes to add DT support in the MFD core driver. Signed-off-by: Patil, Rachna --- drivers/mfd/ti_am335x_tscadc.c | 28 +++- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/drivers/mfd/ti_am335x_tscadc.c b/d

[PATCH v3 6/8] input: ti_am335x_tsc: Add DT support

2013-01-18 Thread Patil, Rachna
From: "Patil, Rachna" Add DT support for client touchscreen driver Signed-off-by: Patil, Rachna --- drivers/input/touchscreen/ti_am335x_tsc.c | 94 + 1 file changed, 81 insertions(+), 13 deletions(-) diff --git a/drivers/input/touchscreen/ti_am335

[PATCH v3 3/8] input: touchscreen: ti_tsc: remove unwanted fifo flush

2013-01-18 Thread Patil, Rachna
From: "Patil, Rachna" When touchscreen and ADC are used together, this unwanted fifo flush leads to loss of ADC data. Signed-off-by: Patil, Rachna --- drivers/input/touchscreen/ti_am335x_tsc.c | 10 -- 1 file changed, 10 deletions(-) diff --git a/drivers/input/t

[PATCH v3 4/8] MFD: ti_am335x_tscadc: add device tree binding information

2013-01-18 Thread Patil, Rachna
From: "Patil, Rachna" Signed-off-by: Patil, Rachna --- .../devicetree/bindings/mfd/ti_am335x_tscadc.txt | 35 1 file changed, 35 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/ti_am335x_tscadc.txt diff --git a/Documentation/devicetre

[PATCH v3 2/8] input: ti_am335x_tsc: Order of TSC wires, made configurable

2013-01-18 Thread Patil, Rachna
From: "Patil, Rachna" The current driver expected touchscreen input wires(XP,XN,YP,YN) to be connected in a particular order. Making changes to accept this as platform data. Signed-off-by: Patil, Rachna --- drivers/input/touchscreen/ti_am335x_ts

[PATCH v3 1/8] input: ti_am335x_tsc: Step enable bits made configurable

2013-01-18 Thread Patil, Rachna
From: "Patil, Rachna" Current code has hard coded value written to step enable bits. Now the bits are updated based on how many steps are needed to be configured got from platform data. The user needs to take care not to exceed the count more than 16. While using ADC and TSC one s

[PATCH v3 0/8] MFD: ti_am335x_tscadc: DT support and TSC features addition

2013-01-18 Thread Patil, Rachna
From: "Patil, Rachna" This patch set is a cumulative set of [1] and [2] sent earlier. Note that there are no code changes in either of the patch set, only rebased on top of Linus's v3.8-rc3 tag to make sure that all the patches apply without any conflicts. This patch set has

RE: [PATCH RESEND 0/7] MFD: ti_am335x_tscadc: DT support and TSC features addition

2012-11-26 Thread Patil, Rachna
Hi Samuel, On Wed, Nov 21, 2012 at 22:30:21, Samuel Ortiz wrote: > Hi Rachna, > > On Fri, Nov 16, 2012 at 10:33:00AM +0000, Patil, Rachna wrote: > > Hi, > > > > This is just a gentle reminder of the patch set I had posted earlier viz. > > "[PATCH RESEND

RE: [PATCH RESEND 6/7] input: ti_am335x_tsc: Add DT support

2012-11-26 Thread Patil, Rachna
Hi Dmitry, On Thu, Nov 22, 2012 at 00:02:23, Dmitry Torokhov wrote: > Hi Rachna, > > On Wed, Nov 07, 2012 at 12:22:03PM +0530, Patil, Rachna wrote: > > Add DT support for client touchscreen driver > > > > Signed-off-by: Patil, Rachna > > --- > > dr

RE: [PATCH RESEND 3/7] input: ti_am335x_tsc: Add variance filter

2012-11-26 Thread Patil, Rachna
On Thu, Nov 22, 2012 at 00:03:50, Dmitry Torokhov wrote: > Hi Rachna, Hi Dmitry, > > On Wed, Nov 07, 2012 at 12:22:00PM +0530, Patil, Rachna wrote: > > Only fine tuning variance parameter present in tslib utility does not > > help in removing all the ADC noise. > >

RE: [PATCH RESEND 0/7] MFD: ti_am335x_tscadc: DT support and TSC features addition

2012-11-16 Thread Patil, Rachna
t adds new features and DT support for the MFD core and its clients. Regards, Rachna On Wed, Nov 07, 2012 at 12:21:57, Patil, Rachna wrote: > This patch set is a cumulative set of [1] and [2] sent earlier. > > Note that there are no code changes in either of the patch set, only rebased >

[PATCH RESEND 2/7] input: ti_am335x_tsc: Order of TSC wires, made configurable

2012-11-06 Thread Patil, Rachna
The current driver expected touchscreen input wires(XP,XN,YP,YN) to be connected in a particular order. Making changes to accept this as platform data. Signed-off-by: Patil, Rachna --- drivers/input/touchscreen/ti_am335x_tsc.c | 156 ++--- include/linux/input

[PATCH RESEND 3/7] input: ti_am335x_tsc: Add variance filter

2012-11-06 Thread Patil, Rachna
Only fine tuning variance parameter present in tslib utility does not help in removing all the ADC noise. This logic of filtering is necessary to get this touchscreen to work finely. Signed-off-by: Patil, Rachna --- drivers/input/touchscreen/ti_am335x_tsc.c | 15 ++- 1 files

[PATCH RESEND 4/7] MFD: ti_am335x_tscadc: add device tree binding information

2012-11-06 Thread Patil, Rachna
Signed-off-by: Patil, Rachna --- .../devicetree/bindings/mfd/ti_am335x_tscadc.txt | 35 1 files changed, 35 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/mfd/ti_am335x_tscadc.txt diff --git a/Documentation/devicetree/bindings/mfd

[PATCH RESEND 1/7] input: ti_am335x_tsc: Step enable bits made configurable

2012-11-06 Thread Patil, Rachna
correctly. Signed-off-by: Patil, Rachna --- drivers/input/touchscreen/ti_am335x_tsc.c | 10 -- include/linux/mfd/ti_am335x_tscadc.h |1 - 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/input/touchscreen/ti_am335x_tsc.c b/drivers/input/touchscreen

[PATCH RESEND 7/7] IIO: ti_am335x_adc: Add DT support

2012-11-06 Thread Patil, Rachna
Add DT support for client ADC driver. Signed-off-by: Patil, Rachna --- drivers/iio/adc/ti_am335x_adc.c | 24 1 files changed, 20 insertions(+), 4 deletions(-) diff --git a/drivers/iio/adc/ti_am335x_adc.c b/drivers/iio/adc/ti_am335x_adc.c index 02a43c8..1f1ec0c 100644

[PATCH RESEND 6/7] input: ti_am335x_tsc: Add DT support

2012-11-06 Thread Patil, Rachna
Add DT support for client touchscreen driver Signed-off-by: Patil, Rachna --- drivers/input/touchscreen/ti_am335x_tsc.c | 60 - 1 files changed, 50 insertions(+), 10 deletions(-) diff --git a/drivers/input/touchscreen/ti_am335x_tsc.c b/drivers/input/touchscreen

[PATCH RESEND 0/7] MFD: ti_am335x_tscadc: DT support and TSC features addition

2012-11-06 Thread Patil, Rachna
]. [1] http://www.spinics.net/lists/linux-input/msg23060.html [2] http://www.spinics.net/lists/linux-input/msg23090.html [3] https://lkml.org/lkml/2012/11/6/67 Patil, Rachna (7): input: ti_am335x_tsc: Step enable bits made configurable input: ti_am335x_tsc: Order of TSC wires, made configurable

[PATCH RESEND 5/7] MFD: ti_am335x_tscadc: Add DT support

2012-11-06 Thread Patil, Rachna
Make changes to add DT support in the MFD core driver. Signed-off-by: Patil, Rachna --- drivers/mfd/ti_am335x_tscadc.c | 28 +++- 1 files changed, 23 insertions(+), 5 deletions(-) diff --git a/drivers/mfd/ti_am335x_tscadc.c b/drivers/mfd/ti_am335x_tscadc.c index

[PATCH 1/1] MFD: ti_am335x_tscadc: pass correct error message

2012-11-06 Thread Patil, Rachna
Pass on the correct error message from platform_get_irq() instead of hard coding it to "EINVAL". Also change label from "err" to "ret" for better readability and update the same in error path. Signed-off-by: Patil, Rachna --- drivers/mfd/ti_am335x_tscadc.c | 2

RE: [PATCH RESEND 0/8] TI Touchscreen driver updates and Support for TSC/ADC MFD driver

2012-11-05 Thread Patil, Rachna
Hi Samuel, On Tue, Nov 06, 2012 at 04:25:24, Samuel Ortiz wrote: > Hi Rachna, > > On Tue, Oct 16, 2012 at 12:55:37PM +0530, Patil, Rachna wrote: > > This patch set is a cumulative set of [1] and [2] sent earlier. > > I have merged the patch set so that the MFD patc

RE: [PATCH RESEND 0/8] TI Touchscreen driver updates and Support for TSC/ADC MFD driver

2012-10-29 Thread Patil, Rachna
This patch set does not break anything existing, it just adds new driver. Thanks & Regards, Rachna. On Tue, Oct 16, 2012 at 23:12:07, Dmitry Torokhov wrote: > Hi Rachna, > > On Tue, Oct 16, 2012 at 12:55:37PM +0530, Patil, Rachna wrote: > > This patch set is a cumulative se

[PATCH 1/1] MFD: ti_tscadc: Add device tree binding for TI's TSC/ADC MFD driver

2012-10-23 Thread Patil, Rachna
nce filter logic" (http://www.spinics.net/lists/linux-input/msg23060.html) Signed-off-by: Patil, Rachna --- .../devicetree/bindings/mfd/ti_am335x_tscadc.txt | 35 +++ drivers/iio/adc/ti_am335x_adc.c| 25 +++- drivers/input/touchscreen/ti_am335x_tsc.c

RE: [PATCH RESEND 0/8] TI Touchscreen driver updates and Support for TSC/ADC MFD driver

2012-10-22 Thread Patil, Rachna
s. Thanks & Regards, Rachna. On Tue, Oct 16, 2012 at 12:55:37, Patil, Rachna wrote: > This patch set is a cumulative set of [1] and [2] sent earlier. > I have merged the patch set so that the MFD patches apply without any issues. > > Also Note that there are no code changes in eit

RE: [PATCH RESEND 0/8] TI Touchscreen driver updates and Support for TSC/ADC MFD driver

2012-10-16 Thread Patil, Rachna
Hi Samuel, I have got an ACK from Jonathan and Dmitry on this patch series. Can you please pull in if there are no further review comments. Regards, Rachna. On Tue, Oct 16, 2012 at 23:12:07, Dmitry Torokhov wrote: > Hi Rachna, > > On Tue, Oct 16, 2012 at 12:55:37PM +0530, Patil, Rac

[PATCH RESEND 6/8] MFD: ti_tscadc: Add support for TI's TSC/ADC MFDevice

2012-10-16 Thread Patil, Rachna
Add the mfd core driver which supports touchscreen and ADC. With this patch we are only adding infrastructure to support the MFD clients. Signed-off-by: Patil, Rachna --- Changes in v2: Merged "[PATCH 5/5] MFD: ti_tscadc: Add check on number of i/p channels", patch su

[PATCH RESEND 7/8] input: TSC: ti_tsc: Convert TSC into a MFDevice

2012-10-16 Thread Patil, Rachna
This patch converts touchscreen into a MFD client. All the register definitions, clock initialization, etc has been moved to MFD core driver. Signed-off-by: Patil, Rachna --- Changes in v2: No changes Changes in v3: No changes Changes in v4: No changes Changes in v5

[PATCH RESEND 5/8] input: TSC: ti_tscadc: Rename the existing touchscreen driver

2012-10-16 Thread Patil, Rachna
Make way for addition of MFD driver. The existing touchsreen driver is a MFD client. For better readability we rename the file to indicate its functionality as only touchscreen. Signed-off-by: Patil, Rachna --- Changes in v2: Missed changing the name of touchscreen header file in

[PATCH RESEND 4/8] input: TSC: ti_tscadc: Remove definition of End Of Interrupt register

2012-10-16 Thread Patil, Rachna
The touchscreen IP uses level sensitive interrupts rather than edge sensitive interrupts and therefore the is no need to use the EOI register to have the module re-strobe the interrupt line if there pending interrupts exist. Signed-off-by: Patil, Rachna --- drivers/input/touchscreen/ti_tscadc.c

[PATCH RESEND 8/8] IIO : ADC: tiadc: Add support of TI's ADC driver

2012-10-16 Thread Patil, Rachna
This patch adds support for TI's ADC driver. This is a multifunctional device. Analog input lines are provided on which voltage measurements can be carried out. You can have upto 8 input lines. Signed-off-by: Patil, Rachna Acked-by: Jonathan Cameron --- Changes in v2: Addressed r

[PATCH RESEND 1/8] input: TSC: ti_tscadc: Correct register usage

2012-10-16 Thread Patil, Rachna
there is change in some naming convention because of all the above mentioned reasons, the same has been updated throughout the code. Bit declarations are grouped to increase readability. Signed-off-by: Patil, Rachna --- drivers/input/touchscreen/ti_tscadc.c | 128

[PATCH RESEND 2/8] input: TSC: ti_tscadc: Add Step configuration as platform data

2012-10-16 Thread Patil, Rachna
. Signed-off-by: Patil, Rachna --- drivers/input/touchscreen/ti_tscadc.c | 25 + include/linux/input/ti_tscadc.h |6 ++ 2 files changed, 19 insertions(+), 12 deletions(-) diff --git a/drivers/input/touchscreen/ti_tscadc.c b/drivers/input/touchscreen

[PATCH RESEND 3/8] input: TSC: ti_tscadc: set FIFO0 threshold Interrupt

2012-10-16 Thread Patil, Rachna
. Hence changing the same. Signed-off-by: Patil, Rachna --- drivers/input/touchscreen/ti_tscadc.c | 10 ++ 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/input/touchscreen/ti_tscadc.c b/drivers/input/touchscreen/ti_tscadc.c index c1bd8e5..2cc19b0 100644 --- a

[PATCH RESEND 0/8] TI Touchscreen driver updates and Support for TSC/ADC MFD driver

2012-10-16 Thread Patil, Rachna
-input/msg22832.html) Patil, Rachna (8): input: TSC: ti_tscadc: Correct register usage input: TSC: ti_tscadc: Add Step configuration as platform data input: TSC: ti_tscadc: set FIFO0 threshold Interrupt input: TSC: ti_tscadc: Remove definition of End Of Interrupt register input: TSC: t

[PATCH v5 4/4] IIO : ADC: tiadc: Add support of TI's ADC driver

2012-10-05 Thread Patil, Rachna
This patch adds support for TI's ADC driver. This is a multifunctional device. Analog input lines are provided on which voltage measurements can be carried out. You can have upto 8 input lines. Signed-off-by: Patil, Rachna Acked-by: Jonathan Cameron --- Changes in v2: Addressed r

[PATCH v5 1/4] input: TSC: ti_tscadc: Rename the existing touchscreen driver

2012-10-05 Thread Patil, Rachna
Make way for addition of MFD driver. The existing touchsreen driver is a MFD client. For better readability we rename the file to indicate its functionality as only touchscreen. Signed-off-by: Patil, Rachna --- Changes in v2: Missed changing the name of touchscreen header file in

[PATCH v5 3/4] input: TSC: ti_tsc: Convert TSC into a MFDevice

2012-10-05 Thread Patil, Rachna
This patch converts touchscreen into a MFD client. All the register definitions, clock initialization, etc has been moved to MFD core driver. Signed-off-by: Patil, Rachna --- Changes in v2: No changes Changes in v3: No changes Changes in v4: No changes Changes in v5

[PATCH v5 2/4] MFD: ti_tscadc: Add support for TI's TSC/ADC MFDevice

2012-10-05 Thread Patil, Rachna
Add the mfd core driver which supports touchscreen and ADC. With this patch we are only adding infrastructure to support the MFD clients. Signed-off-by: Patil, Rachna --- Changes in v2: Merged "[PATCH 5/5] MFD: ti_tscadc: Add check on number of i/p channels", patch su

[PATCH v5 0/4] Support for TSC/ADC MFD driver

2012-10-05 Thread Patil, Rachna
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/a

RE: [PATCH v4 5/5] MFD: ti_tscadc: add suspend/resume functionality

2012-10-02 Thread Patil, Rachna
Hi Samuel, Hi On Mon, Oct 01, 2012 at 04:52:02, Samuel Ortiz wrote: > Hi Jonathan, > > On Sat, Sep 29, 2012 at 10:50:19AM +0100, Jonathan Cameron wrote: > > On 09/26/2012 11:09 AM, Patil, Rachna wrote: > > > Hi Shubhrajyoti, > > > > > > On Wed, Sep

RE: [PATCH v4 0/5] Support for TSC/ADC MFD driver

2012-09-29 Thread Patil, Rachna
On Sat, Sep 29, 2012 at 15:12:53, Jonathan Cameron wrote: > On 09/26/2012 06:20 AM, Patil, Rachna wrote: > > 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 c

RE: [PATCH v4 0/5] Support for TSC/ADC MFD driver

2012-09-29 Thread Patil, Rachna
roved 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 call

RE: [PATCH v4 5/5] MFD: ti_tscadc: add suspend/resume functionality

2012-09-26 Thread Patil, Rachna
Hi Shubhrajyoti, On Wed, Sep 26, 2012 at 12:10:51, Datta, Shubhrajyoti wrote: > On Wednesday 26 September 2012 10:50 AM, Patil, Rachna wrote: > > This patch adds support for suspend/resume of > > TSC/ADC MFDevice. > this should be merged with the patch adding support else &g

[PATCH v4 4/5] IIO : ADC: tiadc: Add support of TI's ADC driver

2012-09-25 Thread Patil, Rachna
This patch adds support for TI's ADC driver. This is a multifunctional device. Analog input lines are provided on which voltage measurements can be carried out. You can have upto 8 input lines. Signed-off-by: Patil, Rachna --- Changes in v2: Addressed review comments from Mat

[PATCH v4 5/5] MFD: ti_tscadc: add suspend/resume functionality

2012-09-25 Thread Patil, Rachna
This patch adds support for suspend/resume of TSC/ADC MFDevice. Signed-off-by: Patil, Rachna --- Changes in v2: Added this patch newly in this patch series. Changes in v3: No changes. Changes in v4: Replaced suspend/resume callbacks with dev_pm_ops. drivers/iio/adc

[PATCH v4 3/5] input: TSC: ti_tsc: Convert TSC into a MFDevice

2012-09-25 Thread Patil, Rachna
This patch converts touchscreen into a MFD client. All the register definitions, clock initialization, etc has been moved to MFD core driver. Signed-off-by: Patil, Rachna --- Changes in v2: No changes Changes in v3: No changes Changes in v4: No changes drivers/input

[PATCH v4 2/5] MFD: ti_tscadc: Add support for TI's TSC/ADC MFDevice

2012-09-25 Thread Patil, Rachna
Add the mfd core driver which supports touchscreen and ADC. With this patch we are only adding infrastructure to support the MFD clients. Signed-off-by: Patil, Rachna --- Changes in v2: Merged "[PATCH 5/5] MFD: ti_tscadc: Add check on number of i/p channels", patch su

[PATCH v4 1/5] input: TSC: ti_tscadc: Rename the existing touchscreen driver

2012-09-25 Thread Patil, Rachna
Make way for addition of MFD driver. The existing touchsreen driver is a MFD client. For better readability we rename the file to indicate its functionality as only touchscreen. Signed-off-by: Patil, Rachna --- Changes in v2: Missed changing the name of touchscreen header file in

[PATCH v4 0/5] Support for TSC/ADC MFD driver

2012-09-25 Thread Patil, Rachna
. For consistency with other drivers renamed idev to indio_dev in IIO ADC driver. Replaced suspend/resume callbacks with dev_pm_ops. Patil, Rachna (5): input: TSC: ti_tscadc: Rename the existing touchscreen driver MFD: ti_tscadc: Add support for TI's TSC/ADC MFDevice

RE: [PATCH v3 4/5] IIO : ADC: tiadc: Add support of TI's ADC driver

2012-09-16 Thread Patil, Rachna
On Fri, Sep 14, 2012 at 13:50:57, Jonathan Cameron wrote: > On 14/09/12 07:00, Patil, Rachna wrote: > > On Thu, Sep 13, 2012 at 17:43:30, Jonathan Cameron wrote: > >> On 13/09/12 11:40, Patil, Rachna wrote: > >>> This patch adds support for TI's ADC driver. >

RE: [PATCH v3 4/5] IIO : ADC: tiadc: Add support of TI's ADC driver

2012-09-13 Thread Patil, Rachna
On Thu, Sep 13, 2012 at 18:21:19, Lars-Peter Clausen wrote: > On 09/13/2012 12:40 PM, Patil, Rachna wrote: > > This patch adds support for TI's ADC driver. > > This is a multifunctional device. > > Analog input lines are provided on which voltage measurements can be &g

RE: [PATCH v3 4/5] IIO : ADC: tiadc: Add support of TI's ADC driver

2012-09-13 Thread Patil, Rachna
On Thu, Sep 13, 2012 at 17:43:30, Jonathan Cameron wrote: > On 13/09/12 11:40, Patil, Rachna wrote: > > This patch adds support for TI's ADC driver. > > This is a multifunctional device. > > Analog input lines are provided on which voltage measurements can be > &g

RE: [PATCH v3 5/5] MFD: ti_tscadc: add suspend/resume functionality

2012-09-13 Thread Patil, Rachna
On Fri, Sep 14, 2012 at 10:39:20, Venu Byravarasu wrote: > > -Original Message- > > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > > ow...@vger.kernel.org] On Behalf Of Patil, Rachna > > Sent: Friday, September 14, 2012 10:29 AM > > To: La

RE: [PATCH v3 5/5] MFD: ti_tscadc: add suspend/resume functionality

2012-09-13 Thread Patil, Rachna
On Thu, Sep 13, 2012 at 18:31:35, Lars-Peter Clausen wrote: > On 09/13/2012 12:40 PM, Patil, Rachna wrote: > > This patch adds support for suspend/resume of TSC/ADC MFDevice. > > > > Signed-off-by: Patil, Rachna > > --- > > Changes in v2: > > Adde

[PATCH v3 2/5] MFD: ti_tscadc: Add support for TI's TSC/ADC MFDevice

2012-09-13 Thread Patil, Rachna
Add the mfd core driver which supports touchscreen and ADC. With this patch we are only adding infrastructure to support the MFD clients. Signed-off-by: Patil, Rachna --- Changes in v2: Merged "[PATCH 5/5] MFD: ti_tscadc: Add check on number of i/p channels", patch su

[PATCH v3 1/5] input: TSC: ti_tscadc: Rename the existing touchscreen driver

2012-09-13 Thread Patil, Rachna
Make way for addition of MFD driver. The existing touchsreen driver is a MFD client. For better readability we rename the file to indicate its functionality as only touchscreen. Signed-off-by: Patil, Rachna --- Changes in v2: Missed changing the name of touchscreen header file in

[PATCH v3 4/5] IIO : ADC: tiadc: Add support of TI's ADC driver

2012-09-13 Thread Patil, Rachna
This patch adds support for TI's ADC driver. This is a multifunctional device. Analog input lines are provided on which voltage measurements can be carried out. You can have upto 8 input lines. Signed-off-by: Patil, Rachna --- Changes in v2: Addressed review comments from Mat

[PATCH v3 5/5] MFD: ti_tscadc: add suspend/resume functionality

2012-09-13 Thread Patil, Rachna
This patch adds support for suspend/resume of TSC/ADC MFDevice. Signed-off-by: Patil, Rachna --- Changes in v2: Added this patch newly in this patch series. Changes in v3: No changes. drivers/iio/adc/ti_adc.c | 32 drivers/input

[PATCH v3 3/5] input: TSC: ti_tsc: Convert TSC into a MFDevice

2012-09-13 Thread Patil, Rachna
This patch converts touchscreen into a MFD client. All the register definitions, clock initialization, etc has been moved to MFD core driver. Signed-off-by: Patil, Rachna --- Changes in v2: No changes Changes in v3: No changes drivers/input/touchscreen/ti_tsc.c | 277

[PATCH v3 0/5] Support for TSC/ADC MFD driver

2012-09-13 Thread Patil, Rachna
/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. Patil, Rachna (5): input: TSC: ti_tscadc: Rename the existing touchscreen

RE: [PATCH v2 4/5] IIO : ADC: tiadc: Add support of TI's ADC driver

2012-08-31 Thread Patil, Rachna
Hi, On Fri, Aug 31, 2012 at 01:12:01, Jonathan Cameron wrote: > On 08/30/2012 08:38 AM, Patil, Rachna wrote: > > This patch adds support for TI's ADC driver. > > This is a multifunctional device. > > Analog input lines are provided on which voltage measurements can be

[PATCH v2 2/5] MFD: ti_tscadc: Add support for TI's TSC/ADC MFDevice

2012-08-30 Thread Patil, Rachna
Add the mfd core driver which supports touchscreen and ADC. With this patch we are only adding infrastructure to support the MFD clients. Signed-off-by: Patil, Rachna --- Changes in v2: Merged "[PATCH 5/5] MFD: ti_tscadc: Add check on number of i/p channels", pacth su

[PATCH v2 4/5] IIO : ADC: tiadc: Add support of TI's ADC driver

2012-08-30 Thread Patil, Rachna
This patch adds support for TI's ADC driver. This is a multifunctional device. Analog input lines are provided on which voltage measurements can be carried out. You can have upto 8 input lines. Signed-off-by: Patil, Rachna --- Changes in v2: Addressed review comments from Mat

[PATCH v2 1/5] input: TSC: ti_tscadc: Rename the existing touchscreen driver

2012-08-30 Thread Patil, Rachna
Make way for addition of MFD driver. The existing touchsreen driver is a MFD client. For better readability we rename the file to indicate its functionality as only touchscreen. Signed-off-by: Patil, Rachna --- Changes in v2: Missed changing the name of touchscreen header file in

[PATCH v2 3/5] input: TSC: ti_tsc: Convert TSC into a MFDevice

2012-08-30 Thread Patil, Rachna
This patch converts touchscreen into a MFD client. All the register definitions, clock initialization, etc has been moved to MFD core driver. Signed-off-by: Patil, Rachna --- Changes in v2: No changes drivers/input/touchscreen/ti_tsc.c | 277

[PATCH v2 0/5] Support for TSC/ADC MFD driver

2012-08-30 Thread Patil, Rachna
/resume feature. Fixed review comments by Matthias Kaehlcke. Patil, Rachna (5): 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&

[PATCH v2 5/5] MFD: ti_tscadc: add suspend/resume functionality

2012-08-30 Thread Patil, Rachna
This patch adds support for suspend/resume of TSC/ADC MFDevice. Signed-off-by: Patil, Rachna --- Changes in v2: Added this patch newly in this patch series. drivers/iio/adc/ti_adc.c | 32 drivers/input/touchscreen/ti_tsc.c | 33

RE: [PATCH 2/5] MFD: ti_tscadc: Add support for TI's TSC/ADC MFDevice

2012-08-28 Thread Patil, Rachna
Hi, On Fri, Aug 24, 2012 at 00:18:31, Matthias Kaehlcke wrote: > Hi, > > El Thu, Aug 23, 2012 at 04:19:57PM +0530 Patil, Rachna ha dit: > > > Add the mfd core driver which supports touchscreen and ADC. > > With this patch we are only adding infrastructure to supp

RE: [PATCH 4/5] IIO : ADC: tiadc: Add support of TI's ADC driver

2012-08-28 Thread Patil, Rachna
Hi, On Fri, Aug 24, 2012 at 00:32:39, Matthias Kaehlcke wrote: > Hi, > > El Thu, Aug 23, 2012 at 04:20:21PM +0530 Patil, Rachna ha dit: > > > This patch adds support for TI's ADC driver. > > This is a multifunctional device. > > Analog input lines are provide

[PATCH 5/5] MFD: ti_tscadc: Add check on number of i/p channels

2012-08-23 Thread Patil, Rachna
The controller provides a total of 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 Signed-off-by: Patil, Rachna --- drivers/iio/adc/ti_adc.c | 51

[PATCH 4/5] IIO : ADC: tiadc: Add support of TI's ADC driver

2012-08-23 Thread Patil, Rachna
This patch adds support for TI's ADC driver. This is a multifunctional device. Analog input lines are provided on which voltage measurements can be carried out. You can have upto 8 input lines. Signed-off-by: Patil, Rachna --- drivers/iio/adc/Kconfig |7 + drivers/ii

[PATCH 3/5] input: TSC: ti_tsc: Convert TSC into a MFDevice

2012-08-23 Thread Patil, Rachna
This patch converts touchscreen into a MFD client. All the register definitions, clock initialization, etc has been moved to MFD core driver. Signed-off-by: Patil, Rachna --- drivers/input/touchscreen/ti_tsc.c | 279 +++- drivers/mfd/ti_tscadc.c

[PATCH 2/5] MFD: ti_tscadc: Add support for TI's TSC/ADC MFDevice

2012-08-23 Thread Patil, Rachna
Add the mfd core driver which supports touchscreen and ADC. With this patch we are only adding infrastructure to support the MFD clients. Signed-off-by: Patil, Rachna --- drivers/mfd/Kconfig |9 ++ drivers/mfd/Makefile |1 + drivers/mfd/ti_tscadc.c | 189

[PATCH 1/5] input: TSC: ti_tscadc: Rename the existing touchscreen driver

2012-08-23 Thread Patil, Rachna
Make way for addition of MFD driver. The existing touchsreen driver is a MFD client. For better readability we rename the file to indicate its functionality as only touchscreen. Signed-off-by: Patil, Rachna --- drivers/input/touchscreen/Kconfig |4 ++-- drivers/input

[PATCH 0/5] Support for TSC/ADC MFD driver

2012-08-23 Thread Patil, Rachna
driver updates [1] [1] http://www.spinics.net/lists/linux-input/msg22107.html Patil, Rachna (5): 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