Re: [PATCH V3 3/3] rtc: da9063: Add DA9062 RTC capability to DA9063 RTC driver

2015-08-04 Thread Alexandre Belloni
truct da9063_compatible_rtc accesses to > generic registers/masks instead of using defines from registers.h > - Re-work of da9063_rtc_probe() to use of_match_node() and dev_get_regmap() > to provide initialisation of generic registers and masks and access to > regmap > > S

Re: [PATCH V2 3/3] rtc: da9063: Add DA9062 RTC capability to DA9063 RTC driver

2015-07-21 Thread Alexandre Belloni
ot;Real time clock device driver for Dialog DA9063"); > -MODULE_LICENSE("GPL v2"); > +MODULE_LICENSE("GPL"); This should be part of the license change. -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electro

Re: [PATCH RFC V1 2/3] rtc: da9063: Add DA9062 RTC capability to DA9063 RTC driver

2015-07-21 Thread Alexandre Belloni
e proper way to handle it is to have tow different compatible > > strings because obviously, the BB and AD variants are not compatible. > > I think I understand what you are saying about modifying the mfd_cell in the > DA9063 core driver at run-time so that it changes the of_compatible st

Re: [PATCH RFC V1 2/3] rtc: da9063: Add DA9062 RTC capability to DA9063 RTC driver

2015-07-20 Thread Alexandre Belloni
On 20/07/2015 at 17:57:50 +, Opensource [Steve Twiss] wrote : > On 18 July 2015 00:45, Alexandre Belloni wrote: > > On 09/07/2015 at 08:45:53 +0100, S Twiss wrote : > > > - Addition of a re-try when reading the RTC inside da9063_rtc_read_time() > > > > Can you s

Re: [PATCH RFC V1 3/3] devicetree: da9062: Add device tree bindings for DA9062 RTC

2015-07-20 Thread Alexandre Belloni
for the DA9062 compatibility. > The RTC compatible = "dlg,da9062-rtc" is essential in this case. > You are right. Disregard my comment. -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: s

Re: [PATCH RFC V1 2/3] rtc: da9063: Add DA9062 RTC capability to DA9063 RTC driver

2015-07-17 Thread Alexandre Belloni
ould add a new compatible and change the of_compatible string of the mfd_cell in drivers/mfd/da9063-core.c onc you know the variant. > + struct da9063 *chip = dev_get_drvdata(pdev->dev.parent); > + > + if (chip->variant_code == PMIC_DA9063_AD) > +

Re: [PATCH RFC V1 3/3] devicetree: da9062: Add device tree bindings for DA9062 RTC

2015-07-17 Thread Alexandre Belloni
bnodes even parsed? As the parent node is not compatible with "simple-bus" or "simple-mfd", I guess not. You driver is probed from the mfd_cells in da9063-core.c > watchdog { > compatible = "dlg,da9062-watchdog"; >

Re: [rtc-linux] RE: [PATCH V3 1/4] mfd: da9062: DA9062 MFD core driver

2015-06-11 Thread Alexandre Belloni
ase read http://groups.google.com/group/rtc-linux/web/checklist > before submitting a driver. > --- > You received this message because you are subscribed to the Google Groups > "rtc-linux" group. > To unsubscribe from this group and stop receiving emails from it, send

Re: [rtc-linux] [PATCH v5 1/6] rtc: arm: imx: snvs: change use syscon to access register

2015-06-01 Thread Alexandre Belloni
On 27/05/2015 at 00:25:57 +0800, frank...@freescale.com wrote : > From: Frank Li > > snvs included rtc, on/off key, power-off module > change to syscon to access register > > Signed-off-by: Frank Li Acked-by: Alexandre Belloni Shawn, when applying could you please change t

Re: [PATCH v5 0/6] Change snvs rtc and poweroff to use syscon add pwrkey driver

2015-05-28 Thread Alexandre Belloni
t; Actually, I was thinking you could take the whole series in your tree (at least, I'm speaking for the RTC part). Else, I'm wondering who should take the documentation changes. -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.c

Re: [PATCH v3 1/6] rtc: arm: imx: snvs: change use syscon to access register

2015-05-22 Thread Alexandre Belloni
pr_warning("snvs rtc: you use old dts file, please update > it\n"); This should be pr_warn() -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line "unsubscribe

Re: [rtc-linux] [PATCH V2 0/4] da9062: DA9062 driver submission

2015-05-15 Thread Alexandre Belloni
LDO regulator driver > - [PATCH V2 3/4]: Watchdog driver > - [PATCH V2 4/4]: Add bindings for all DA9062 components This patch should actually be the first one to go in, else checkpatch will complain about compatibles not being found. -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel a

Re: [rtc-linux] [PATCH V1 3/6] rtc: da9062: DA9062 RTC driver

2015-05-13 Thread Alexandre Belloni
st working fine. > I guess it would be possible to rename the da9063-rtc to something more > sensible like > da9xxx-rtc.c if this goes ahead? > Sure, that can be done but this means that the module name will change. if you feel that your current users can cope with that, I'm fine

[PATCHv3 03/15] iio: adc: at91: cleanup platform_data

2014-04-15 Thread Alexandre Belloni
num_channels and registers are not used anymore since they are defined inside the driver and assigned by matching the id_table. Also, struct at91_adc_reg_desc is now only used inside the driver. Signed-off-by: Alexandre Belloni Acked-by: Jonathan Cameron --- drivers/iio/adc/at91_adc.c

[PATCHv3 00/15] iio: adc: at91 cleanups and atmel_tsadcc removal

2014-04-15 Thread Alexandre Belloni
handlers in patch 4 as suggested by Dmitry and Thomas - ts_bufferedmeasure is now a bool - the multiline comment is now correctly formatted - improved commit log for patch 5 Alexandre Belloni (15): ARM: at91: sam9g45: remove unused platform_data ARM: at91: sam9260: remove unused

[PATCHv3 07/15] iio: adc: at91: add sam9rl support

2014-04-15 Thread Alexandre Belloni
Signed-off-by: Alexandre Belloni Acked-by: Jonathan Cameron --- drivers/iio/adc/at91_adc.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/drivers/iio/adc/at91_adc.c b/drivers/iio/adc/at91_adc.c index a51b8badbf8e..3b5bacd4d8da 100644 --- a/drivers/iio/adc/at91_adc.c

[PATCHv3 05/15] ARM: at91: sam9m10g45ek: Add touchscreen support through at91_adc

2014-04-15 Thread Alexandre Belloni
speed used by atmel_tsadcc. It lowers the maximum throughput rate from 44 samples per second to 12958 samples per second. It shouldn't be an issue as the CPU is not able to keep up reading samples at that frequency. Signed-off-by: Alexandre Belloni Acked-by: Jonathan Cameron --- arc

[PATCHv3 04/15] iio: adc: at91_adc: Add support for touchscreens without TSMR

2014-04-15 Thread Alexandre Belloni
Old ADCs, as present on the sam9rl and the sam9g45 don't have a TSMR register and the touchscreen support should be handled differently. Signed-off-by: Alexandre Belloni Acked-by: Jonathan Cameron --- arch/arm/mach-at91/include/mach/at91_adc.h | 13 ++ drivers/iio/adc/at91_

[PATCHv3 06/15] iio: adc: at91: remove unused include from include/mach

2014-04-15 Thread Alexandre Belloni
That include file is now only used by the at91_adc driver, remove it from include/mach for better driver separation. Signed-off-by: Alexandre Belloni Acked-by: Jonathan Cameron --- arch/arm/mach-at91/include/mach/at91_adc.h | 120 - drivers/iio/adc/at91_adc.c

[PATCHv3 02/15] ARM: at91: sam9260: remove unused platform_data

2014-04-15 Thread Alexandre Belloni
num_channels and registers are not used anymore since they are defined inside the at91_adc driver and assigned by matching the id_table. Also, remove the mach/at91_adc.h include that is not necessary anymore. Signed-off-by: Alexandre Belloni Acked-by: Jonathan Cameron --- arch/arm/mach-at91

[PATCHv3 08/15] ARM: at91: sam9rl: add at91_adc to support adc and touchscreen

2014-04-15 Thread Alexandre Belloni
The ADC clock needs to be defined to enable the at91_adc driver. It is defined to the same speed that is used for atmel_tsadcc. Signed-off-by: Alexandre Belloni --- arch/arm/mach-at91/at91sam9rl.c | 7 +++ arch/arm/mach-at91/at91sam9rl_devices.c | 85

[PATCHv3 10/15] ARM: at91: sam9g45: switch from atmel_tsadcc to at91_adc

2014-04-15 Thread Alexandre Belloni
atmel_tsadcc is not allowing to use the remaining ADC channels while at91_adc does. Completely switch to at91_adc and remove the tsadcc platform_data for at91sam9g45 and at91sam9g45 based boards. Signed-off-by: Alexandre Belloni --- arch/arm/configs/at91sam9g45_defconfig | 3 +- arch/arm

[PATCHv3 01/15] ARM: at91: sam9g45: remove unused platform_data

2014-04-15 Thread Alexandre Belloni
num_channels and registers are not used anymore since they are defined inside the at91_adc driver and assigned by matching the id_table. Also, remove the mach/at91_adc.h include that is not necessary anymore. Signed-off-by: Alexandre Belloni Acked-by: Jonathan Cameron --- arch/arm/mach-at91

[PATCHv3 12/15] ARM: at91: remove atmel_tsadcc from sama5_defconfig

2014-04-15 Thread Alexandre Belloni
atmel_tsadcc has been removed, stop selecting it. Signed-off-by: Alexandre Belloni --- arch/arm/configs/sama5_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/configs/sama5_defconfig b/arch/arm/configs/sama5_defconfig index dc3881e07630..869fa18ebeb2 100644 --- a/arch/arm

[PATCHv3 11/15] ARM: at91: sam9rl: switch from atmel_tsadcc to at91_adc

2014-04-15 Thread Alexandre Belloni
atmel_tsadcc is not allowing to use the remaining ADC channels while at91_adc does. Completely switch to at91_adc and remove the tsadcc platform_data for at91sam9rl and at91sam9rl based boards. Signed-off-by: Alexandre Belloni --- arch/arm/configs/at91sam9rl_defconfig | 3 +- arch/arm/mach

[PATCHv3 09/15] ARM: at91: sam9rlek add touchscreen support through at91_adc

2014-04-15 Thread Alexandre Belloni
at91_adc now supports reading a touchscreen for ADCs without a TSMR register. Enable touchscreen support through at91_adc. This allows to use both a touchscreen and the remaining ADC channel at the same time. Signed-off-by: Alexandre Belloni --- arch/arm/mach-at91/board-sam9rlek.c | 14

[PATCHv3 13/15] Input: atmel_tsadcc: remove driver

2014-04-15 Thread Alexandre Belloni
The atmel_tsadcc driver is not used anymore, it has been replaced by at91_adc so remove it. Signed-off-by: Alexandre Belloni Acked-by: Dmitry Torokhov --- MAINTAINERS | 6 - drivers/input/touchscreen/Kconfig| 12 -- drivers/input/touchscreen/Makefile

[PATCHv3 15/15] ARM: at91/dt: at91-cosino_mega2560 remove useless tsadcc node

2014-04-15 Thread Alexandre Belloni
The tsadcc node is useless as it doesn't refer to anything and the touchscreen is handled by the adc0 node. Signed-off-by: Alexandre Belloni Acked-by: Rodolfo Giometti --- arch/arm/boot/dts/at91-cosino_mega2560.dts | 5 - 1 file changed, 5 deletions(-) diff --git a/arch/arm/boot/dts

[PATCHv3 14/15] ARM: at91: remove atmel_tsadcc platform_data

2014-04-15 Thread Alexandre Belloni
Signed-off-by: Alexandre Belloni --- arch/arm/mach-at91/board.h | 3 --- include/linux/platform_data/atmel.h | 7 --- 2 files changed, 10 deletions(-) diff --git a/arch/arm/mach-at91/board.h b/arch/arm/mach-at91/board.h index 6c08b341167d..4e773b55bc2d 100644 --- a/arch/arm/mach

Re: Re: [PATCH] gpio/at91: free GPIO after configuring as input

2014-04-12 Thread Alexandre Belloni
pio_lock_as_irq() helper function to > mark a GPIO pin as already used as a IRQ line and only allowing to > request a GPIO as input if is already marked as an IRQ. > > Please take a look to commit 2f56e0a ("gpio/omap: use gpiolib API to > mark a GPIO used as an IRQ")

Re: [PATCH v2 12/15] ARM: at91: remove atmel_tsadcc platform_data

2014-03-24 Thread Alexandre Belloni
On 22/03/2014 at 12:39:16 +, Jonathan Cameron wrote : > On 17/03/14 13:57, Alexandre Belloni wrote: > >Signed-off-by: Alexandre Belloni > See below. > >--- > > arch/arm/mach-at91/board.h | 3 --- > > include/linux/platform_data/atmel.h | 7 --- >

[PATCH v2 11/15] ARM: at91: sam9rl: switch from atmel_tsadcc to at91_adc

2014-03-17 Thread Alexandre Belloni
atmel_tsadcc is not allowing to use the remaining ADC channels while at91_adc does. Completely switch to at91_adc and remove the tsadcc platform_data for at91sam9rl and at91sam9rl based boards. Signed-off-by: Alexandre Belloni --- arch/arm/configs/at91sam9rl_defconfig | 3 +- arch/arm/mach

[PATCH v2 03/15] iio: adc: at91: cleanup platform_data

2014-03-17 Thread Alexandre Belloni
num_channels and registers are not used anymore since they are defined inside the driver and assigned by matching the id_table. Also, struct at91_adc_reg_desc is now only used inside the driver. Signed-off-by: Alexandre Belloni Acked-by: Jonathan Cameron --- drivers/iio/adc/at91_adc.c

[PATCH v2 02/15] ARM: at91: sam9260: remove unused platform_data

2014-03-17 Thread Alexandre Belloni
num_channels and registers are not used anymore since they are defined inside the at91_adc driver and assigned by matching the id_table. Also, remove the mach/at91_adc.h include that is not necessary anymore. Signed-off-by: Alexandre Belloni Acked-by: Jonathan Cameron --- arch/arm/mach-at91

[PATCH v2 01/15] ARM: at91: sam9g45: remove unused platform_data

2014-03-17 Thread Alexandre Belloni
num_channels and registers are not used anymore since they are defined inside the at91_adc driver and assigned by matching the id_table. Also, remove the mach/at91_adc.h include that is not necessary anymore. Signed-off-by: Alexandre Belloni Acked-by: Jonathan Cameron --- arch/arm/mach-at91

[PATCH v2 04/15] iio: adc: at91_adc: Add support for touchscreens without TSMR

2014-03-17 Thread Alexandre Belloni
Old ADCs, as present on the sam9rl and the sam9g45 don't have a TSMR register and the touchscreen support should be handled differently. Signed-off-by: Alexandre Belloni --- arch/arm/mach-at91/include/mach/at91_adc.h | 13 ++ drivers/iio/adc/at91_adc.c

[PATCH v2 05/15] ARM: at91: sam9m10g45ek: Add touchscreen support through at91_adc

2014-03-17 Thread Alexandre Belloni
speed used by atmel_tsadcc. It lowers the maximum throughput rate from 44 samples per second to 12958 samples per second. It shouldn't be an issue as the CPU is not able to keep up reading samples at that frequency. Signed-off-by: Alexandre Belloni --- arch/arm/mach-at91/at91sam9

[PATCH v2 07/15] iio: adc: at91: add sam9rl support

2014-03-17 Thread Alexandre Belloni
Signed-off-by: Alexandre Belloni --- drivers/iio/adc/at91_adc.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/drivers/iio/adc/at91_adc.c b/drivers/iio/adc/at91_adc.c index a51b8badbf8e..3b5bacd4d8da 100644 --- a/drivers/iio/adc/at91_adc.c +++ b/drivers/iio/adc

[PATCH v2 10/15] ARM: at91: sam9g45: switch from atmel_tsadcc to at91_adc

2014-03-17 Thread Alexandre Belloni
atmel_tsadcc is not allowing to use the remaining ADC channels while at91_adc does. Completely switch to at91_adc and remove the tsadcc platform_data for at91sam9g45 and at91sam9g45 based boards. Signed-off-by: Alexandre Belloni --- arch/arm/configs/at91sam9g45_defconfig | 3 +- arch/arm

[PATCH v2 09/15] ARM: at91: sam9rlek add touchscreen support through at91_adc

2014-03-17 Thread Alexandre Belloni
at91_adc now supports reading a touchscreen for ADCs without a TSMR register. Enable touchscreen support through at91_adc. This allows to use both a touchscreen and the remaining ADC channel at the same time. Signed-off-by: Alexandre Belloni --- arch/arm/mach-at91/board-sam9rlek.c | 14

[PATCH v2 12/15] ARM: at91: remove atmel_tsadcc platform_data

2014-03-17 Thread Alexandre Belloni
Signed-off-by: Alexandre Belloni --- arch/arm/mach-at91/board.h | 3 --- include/linux/platform_data/atmel.h | 7 --- 2 files changed, 10 deletions(-) diff --git a/arch/arm/mach-at91/board.h b/arch/arm/mach-at91/board.h index 6c08b341167d..4e773b55bc2d 100644 --- a/arch/arm/mach

[PATCH v2 08/15] ARM: at91: sam9rl: add at91_adc to support adc and touchscreen

2014-03-17 Thread Alexandre Belloni
The ADC clock needs to be defined to enable the at91_adc driver. It is defined to the same speed that is used for atmel_tsadcc. Signed-off-by: Alexandre Belloni --- arch/arm/mach-at91/at91sam9rl.c | 7 +++ arch/arm/mach-at91/at91sam9rl_devices.c | 85

[PATCH v2 06/15] iio: adc: at91: remove unused include from include/mach

2014-03-17 Thread Alexandre Belloni
That include file is now only used by the at91_adc driver, remove it from include/mach for better driver separation. Signed-off-by: Alexandre Belloni --- arch/arm/mach-at91/include/mach/at91_adc.h | 120 - drivers/iio/adc/at91_adc.c | 103

[PATCH v2 13/15] ARM: at91: remove atmel_tsadcc from sama5_defconfig

2014-03-17 Thread Alexandre Belloni
atmel_tsadcc has been removed, stop selecting it. Signed-off-by: Alexandre Belloni --- arch/arm/configs/sama5_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/configs/sama5_defconfig b/arch/arm/configs/sama5_defconfig index dc3881e07630..869fa18ebeb2 100644 --- a/arch/arm

[PATCH v2 15/15] ARM: at91/dt: at91-cosino_mega2560 remove useless tsadcc node

2014-03-17 Thread Alexandre Belloni
The tsadcc node is useless as it doesn't refer to anything and the touchscreen is handled by the adc0 node. Signed-off-by: Alexandre Belloni Cc: Rodolfo Giometti --- arch/arm/boot/dts/at91-cosino_mega2560.dts | 5 - 1 file changed, 5 deletions(-) diff --git a/arch/arm/boot/dts

[PATCH v2 14/15] Input: atmel_tsadcc: remove driver

2014-03-17 Thread Alexandre Belloni
The atmel_tsadcc driver is not used anymore, it has been replaced by at91_adc so remove it. Signed-off-by: Alexandre Belloni Acked-by: Dmitry Torokhov --- MAINTAINERS | 6 - drivers/input/touchscreen/Kconfig| 12 -- drivers/input/touchscreen/Makefile

[PATCH v2 00/15] iio: adc: at91 cleanups and atmel_tsadcc removal

2014-03-17 Thread Alexandre Belloni
commit log for patch 5 Alexandre Belloni (15): ARM: at91: sam9g45: remove unused platform_data ARM: at91: sam9260: remove unused platform_data iio: adc: at91: cleanup platform_data iio: adc: at91_adc: Add support for touchscreens without TSMR ARM: at91: sam9m10g45ek: Add touchscreen support

Re: [PATCH 05/15] ARM: at91: sam9m10g45ek: Add touchscreen support through at91_adc

2014-03-16 Thread Alexandre Belloni
On 16/03/2014 at 18:18:41 +, Jonathan Cameron wrote : > On 05/03/14 17:35, Alexandre Belloni wrote: > >at91_adc now supports reading a touchscreen for ADCs without a TSMR register. > >Enable touchscreen support through at91_adc. This allows to use both a > >touchscreen

Re: [PATCH 00/15] iio: adc: at91 cleanups and atmel_tsadcc removal

2014-03-16 Thread Alexandre Belloni
Hi, On 16/03/2014 at 18:30:07 +, Jonathan Cameron wrote : > On 05/03/14 17:35, Alexandre Belloni wrote: > >This patch set is a followup of my previous series: iio: adc: at91 fixes > > > >I'm sorry it is so long, I made sure this is bissectable. > It's a nice

Re: [PATCH 04/15] iio: adc: at91_adc: Add support for touchscreens without TSMR

2014-03-16 Thread Alexandre Belloni
On 16/03/2014 at 18:16:54 +, Jonathan Cameron wrote : > On 05/03/14 17:35, Alexandre Belloni wrote: > >Old ADCs, as present on the sam9rl and the sam9g45 don't have a TSMR register > >and the touchscreen support should be handled differently. > > > >Signed-

[PATCH 13/15] ARM: at91: remove atmel_tsadcc from sama5_defconfig

2014-03-05 Thread Alexandre Belloni
atmel_tsadcc has been removed, stop selecting it. Signed-off-by: Alexandre Belloni --- arch/arm/configs/sama5_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/configs/sama5_defconfig b/arch/arm/configs/sama5_defconfig index dc3881e07630..869fa18ebeb2 100644 --- a/arch/arm

[PATCH 10/15] ARM: at91: sam9g45: switch from atmel_tsadcc to at91_adc

2014-03-05 Thread Alexandre Belloni
atmel_tsadcc is not allowing to use the remaining ADC channels while at91_adc does. Completely switch to at91_adc and remove the tsadcc platform_data for at91sam9g45 and at91sam9g45 based boards. Signed-off-by: Alexandre Belloni --- arch/arm/configs/at91sam9g45_defconfig | 3 +- arch/arm

[PATCH 08/15] ARM: at91: sam9rl: add at91_adc to support adc and touchscreen

2014-03-05 Thread Alexandre Belloni
The ADC clock needs to be defined to enable the at91_adc driver. It is defined to the same speed that is used for atmel_tsadcc. Signed-off-by: Alexandre Belloni --- arch/arm/mach-at91/at91sam9rl.c | 7 +++ arch/arm/mach-at91/at91sam9rl_devices.c | 85

[PATCH 12/15] ARM: at91: remove atmel_tsadcc platform_data

2014-03-05 Thread Alexandre Belloni
Signed-off-by: Alexandre Belloni --- arch/arm/mach-at91/board.h | 3 --- include/linux/platform_data/atmel.h | 7 --- 2 files changed, 10 deletions(-) diff --git a/arch/arm/mach-at91/board.h b/arch/arm/mach-at91/board.h index 6c08b341167d..4e773b55bc2d 100644 --- a/arch/arm/mach

[PATCH 09/15] ARM: at91: sam9rlek add touchscreen support through at91_adc

2014-03-05 Thread Alexandre Belloni
at91_adc now supports reading a touchscreen for ADCs without a TSMR register. Enable touchscreen support through at91_adc. This allows to use both a touchscreen and the remaining ADC channel at the same time. Signed-off-by: Alexandre Belloni --- arch/arm/mach-at91/board-sam9rlek.c | 14

[PATCH 03/15] iio: adc: at91: cleanup platform_data

2014-03-05 Thread Alexandre Belloni
num_channels and registers are not used anymore since they are defined inside the driver and assigned by matching the id_table. Also, struct at91_adc_reg_desc is now only used inside the driver. Signed-off-by: Alexandre Belloni --- drivers/iio/adc/at91_adc.c | 19

[PATCH 04/15] iio: adc: at91_adc: Add support for touchscreens without TSMR

2014-03-05 Thread Alexandre Belloni
Old ADCs, as present on the sam9rl and the sam9g45 don't have a TSMR register and the touchscreen support should be handled differently. Signed-off-by: Alexandre Belloni --- arch/arm/mach-at91/include/mach/at91_adc.h | 13 ++ drivers/iio/adc/at91_adc.c

[PATCH 00/15] iio: adc: at91 cleanups and atmel_tsadcc removal

2014-03-05 Thread Alexandre Belloni
am9rl based boards. 10-11) Prepare the atmel_tsadcc removal by switching sam9rl and sam9g45 to use only at91_adc instead of atmel_tsadcc. 12-15) atmel_tsadcc removal Alexandre Belloni (15): ARM: at91: sam9g45: remove unused platform_data ARM: at91: sam9260: remove unused platform_data

[PATCH 05/15] ARM: at91: sam9m10g45ek: Add touchscreen support through at91_adc

2014-03-05 Thread Alexandre Belloni
speed used by atmel_tsadcc. Signed-off-by: Alexandre Belloni --- arch/arm/mach-at91/at91sam9g45.c| 2 +- arch/arm/mach-at91/board-sam9m10g45ek.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-at91/at91sam9g45.c b/arch/arm/mach-at91/at91sam9g45.c index

[PATCH 06/15] iio: adc: at91: remove unused include from include/mach

2014-03-05 Thread Alexandre Belloni
That include file is now only used by the at91_adc driver, remove it from include/mach for better driver separation. Signed-off-by: Alexandre Belloni --- arch/arm/mach-at91/include/mach/at91_adc.h | 120 - drivers/iio/adc/at91_adc.c | 103

[PATCH 07/15] iio: adc: at91: add sam9rl support

2014-03-05 Thread Alexandre Belloni
Signed-off-by: Alexandre Belloni --- drivers/iio/adc/at91_adc.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/drivers/iio/adc/at91_adc.c b/drivers/iio/adc/at91_adc.c index c3ea34025749..c47dcbaa56ef 100644 --- a/drivers/iio/adc/at91_adc.c +++ b/drivers/iio/adc

[PATCH 11/15] ARM: at91: sam9rl: switch from atmel_tsadcc to at91_adc

2014-03-05 Thread Alexandre Belloni
atmel_tsadcc is not allowing to use the remaining ADC channels while at91_adc does. Completely switch to at91_adc and remove the tsadcc platform_data for at91sam9rl and at91sam9rl based boards. Signed-off-by: Alexandre Belloni --- arch/arm/configs/at91sam9rl_defconfig | 3 +- arch/arm/mach

[PATCH 14/15] Input: atmel_tsadcc: remove driver

2014-03-05 Thread Alexandre Belloni
The atmel_tsadcc driver is not used anymore, it has been replaced by at91_adc so remove it. Signed-off-by: Alexandre Belloni --- MAINTAINERS | 6 - drivers/input/touchscreen/Kconfig| 12 -- drivers/input/touchscreen/Makefile | 1 - drivers/input

[PATCH 15/15] ARM: at91/dt: at91-cosino_mega2560 remove useless tsadcc node

2014-03-05 Thread Alexandre Belloni
The tsadcc node is useless as it doesn't refer to anything and the touchscreen is handled by the adc0 node. Signed-off-by: Alexandre Belloni Cc: Rodolfo Giometti --- arch/arm/boot/dts/at91-cosino_mega2560.dts | 5 - 1 file changed, 5 deletions(-) diff --git a/arch/arm/boot/dts

[PATCH 01/15] ARM: at91: sam9g45: remove unused platform_data

2014-03-05 Thread Alexandre Belloni
num_channels and registers are not used anymore since they are defined inside the at91_adc driver and assigned by matching the id_table. Also, remove the mach/at91_adc.h include that is not necessary anymore. Signed-off-by: Alexandre Belloni --- arch/arm/mach-at91/at91sam9g45_devices.c | 10

[PATCH 02/15] ARM: at91: sam9260: remove unused platform_data

2014-03-05 Thread Alexandre Belloni
num_channels and registers are not used anymore since they are defined inside the at91_adc driver and assigned by matching the id_table. Also, remove the mach/at91_adc.h include that is not necessary anymore. Signed-off-by: Alexandre Belloni --- arch/arm/mach-at91/at91sam9260_devices.c | 10

Re: [PATCH] staging/iio/adc/MXS/LRADC: fix touchscreen statemachine

2014-02-24 Thread Alexandre Belloni
e correct state when waiting > for the next touchscreen event. > > Signed-off-by: Juergen Beisert > Tested-by: Alexandre Belloni > diff --git a/drivers/staging/iio/adc/mxs-lradc.c > b/drivers/staging/iio/adc/mxs-lradc.c > index 7fc66a6..514844e 100644 > --- a/driv

Re: [PATCHv6] staging/iio/adc: change the MXS touchscreen driver implementation

2014-02-24 Thread Alexandre Belloni
gt; Regards, > Juergen > > -- > Pengutronix e.K.                              | Juergen Beisert             | > Linux Solutions for Science and Industry      | Phone: +49-5121-206917-5128 | > Peiner Str. 6-8, 31137 Hildesheim, Germany    | Fax:   +49-5121-206917- | > Amtsger

Re: [PATCHv6] staging/iio/adc: change the MXS touchscreen driver implementation

2014-01-09 Thread Alexandre Belloni
X23 and > i.MX28 must be handled > > Comments are welcome. > > Juergen > > -- > To unsubscribe from this list: send the line "unsubscribe linux-iio" in > the body of a message to majord...@vger.kernel.org > More majordomo info at http://vger.kernel.