[PATCH 0/3] Add support for the Nuvoton NAU7802 ADC to the cfa10049

2013-04-18 Thread Alexandre Belloni
, Alexandre Belloni (1): iio: Add Nuvoton NAU7802 ADC driver Maxime Ripard (2): ARM: mxs: cfa10049: Switch bus i2c1 to bitbanging ARM: mxs: cfa10049: Add NAU7802 ADCs to the device tree .../bindings/iio/adc/nuvoton-nau7802.txt | 17 + arch/arm/boot/dts/imx28-cfa10049.dts

[PATCH 3/3] ARM: mxs: cfa10049: Add NAU7802 ADCs to the device tree

2013-04-18 Thread Alexandre Belloni
From: Maxime Ripard maxime.rip...@free-electrons.com Since these ADCs share the same non-configurable address on the I2C bus, they have to be put behind a muxer. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com

[PATCH 1/3] iio: Add Nuvoton NAU7802 ADC driver

2013-04-18 Thread Alexandre Belloni
The Nuvoton NAU7802 ADC is a 24-bit 2-channels I2C ADC, with adjustable gain and sampling rates. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- .../bindings/iio/adc/nuvoton-nau7802.txt | 17

[PATCH 2/3] ARM: mxs: cfa10049: Switch bus i2c1 to bitbanging

2013-04-18 Thread Alexandre Belloni
From: Maxime Ripard maxime.rip...@free-electrons.com The ADCs connected to this bus have been experiencing some timeout issues when using the iMX28 i2c controller. Switching back to bitbanging solves this. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com ---

Re: [PATCH 1/3] iio: Add Nuvoton NAU7802 ADC driver

2013-04-20 Thread Alexandre Belloni
error_device_register; +} + +return 0; + +error_device_register: +mutex_destroy(st-lock); datalock? oops Thanks again for your review, I'll prepare a v2 while waiting for your answers. -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free

[PATCH] ARM: dts: cfa10036: Add touchscreen support to the CFA-10049

2013-04-05 Thread Alexandre Belloni
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/imx28-cfa10049.dts |5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/imx28-cfa10049.dts b/arch/arm/boot/dts/imx28-cfa10049.dts index b9dad4e..f16c1e2 100644 --- a/arch/arm/boot

Re: [PATCH] gpio: pca953x: fix irq_domain_add_simple usage

2013-04-09 Thread Alexandre Belloni
Linus, Grant, I take the liberty to ping you on that one as it is a regression and it may be worth to include it in 3.9 if it is still time to do so. Best regards, On 03/04/2013 19:40, Alexandre Belloni wrote: We actually have to pass chip as the host_data parameter of irq_domain_add_simple

[PATCH] ARM: cfa10036: add one wire bitbanging to the cfa10049

2013-03-29 Thread Alexandre Belloni
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/imx28-cfa10049.dts | 20 +++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx28-cfa10049.dts b/arch/arm/boot/dts/imx28-cfa10049.dts index ded7784

[PATCH] pinctrl: pinctrl-mxs: document the missing pull-ups

2013-03-29 Thread Alexandre Belloni
Some pins on the i.mx23 and i.mx28 are missing pull-ups, document that oddity because it was difficult to know the expected behaviour. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- I don't think it is necessary to list the pins with the missing pull ups in that file

[PATCH] gpio: pca953x: fix irq_domain_add_simple usage

2013-04-03 Thread Alexandre Belloni
(), pca953x_irq_unmask(), pca953x_irq_bus_lock(), pca953x_irq_bus_sync_unlock() and pca953x_irq_set_type(). Fixes regression introduced by commit 0e8f2fdacf1d44651aa7e57063c76142d1f4988b (gpio: pca953x: use simple irqdomain) Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- This would

[PATCH] ARM: DTS: AM33XX: Add PMU support

2013-08-03 Thread Alexandre Belloni
ARM Performance Monitor Units are available on the am33xx, add the support in the dtsi. Tested with perf and oprofile on a regular beaglebone. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/am33xx.dtsi | 5 + 1 file changed, 5 insertions(+) diff

[PATCH] ARM: DTS: SAMA5: Add PMU support

2013-08-05 Thread Alexandre Belloni
ARM Performance Monitor Units are available on the sama5d3, add the support in the dtsi. Tested with perf and oprofile on the sama5d31ek. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/sama5d3.dtsi | 5 + 1 file changed, 5 insertions(+) diff

Re: [PATCH v3 4/5] iio: mxs-lradc: add scale_available file to channels

2013-08-07 Thread Alexandre Belloni
take this series as is ? Regards, On 26/07/2013 18:13, Jonathan Cameron wrote: Alexandre Belloni alexandre.bell...@free-electrons.com wrote: On 23/07/2013 15:25, Hector Palacios wrote: Dear Lars, On 07/23/2013 10:46 AM, Lars-Peter Clausen wrote: On 07/22/2013 04:04 PM, Hector Palacios wrote

Re: [PATCH v3 2/5] ARM: dts: add reference voltage property for MXS LRADC

2013-07-26 Thread Alexandre Belloni
. Regards, -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org

Re: [PATCH v3 4/5] iio: mxs-lradc: add scale_available file to channels

2013-07-26 Thread Alexandre Belloni
other temp patch without waiting for this one. Maybe, we can get the patch set as is and do further clean up later. Anyway, that driver is still in staging, right ? As said, I'm willing to propose something for the scale calculation. -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel

Re: [PATCH v3 2/5] ARM: dts: add reference voltage property for MXS LRADC

2013-08-21 Thread Alexandre Belloni
but at the same time, I don't believe we will see that IP in another chip in the future. Are my explanations clear enough to take a decision ? -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line

Re: [PATCH] i2c: mxs: Better error handling

2013-08-15 Thread Alexandre Belloni
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Wolfram, On 15/08/2013 12:03, Wolfram Sang wrote: On Wed, Jul 03, 2013 at 10:59:22AM +0200, Alexandre Belloni wrote: This patch fixes two error handling cases in mxs_i2c_xfer_msg(): - in PIO mode, mxs_i2c_pio_setup_xfer() may return

Re: [RFC] iio: mxs-lradc: compute temperature from channel 8 and 9

2013-07-12 Thread Alexandre Belloni
Hi, On 01/07/2013 19:16, Alexandre Belloni wrote: The mxs LRADC is able to read an internal die temperature sensor. The temperature has to be calculated from the value read on channel 8 and channel 9. To be able to expose the result to hwmon, implement iio channel 8 as (channel 9 - channel

[PATCHv2 3/3] ARM: mxs: cfa10049: Add NAU7802 ADCs to the device tree

2013-06-20 Thread Alexandre Belloni
From: Maxime Ripard maxime.rip...@free-electrons.com Since these ADCs share the same non-configurable address on the I2C bus, they have to be put behind a muxer. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com

[PATCHv2 2/3] ARM: mxs: cfa10049: Switch bus i2c1 to bitbanging

2013-06-20 Thread Alexandre Belloni
From: Maxime Ripard maxime.rip...@free-electrons.com The ADCs connected to this bus have been experiencing some timeout issues when using the iMX28 i2c controller. Switching back to bitbanging solves this. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com Signed-off-by: Alexandre

[PATCHv2 1/3] iio: Add Nuvoton NAU7802 ADC driver

2013-06-20 Thread Alexandre Belloni
The Nuvoton NAU7802 ADC is a 24-bit 2-channels I2C ADC, with adjustable gain and sampling rates. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- .../bindings/iio/adc/nuvoton-nau7802.txt | 17

[PATCHv2 0/3] Add support for the Nuvoton NAU7802 ADC to the cfa10049

2013-06-20 Thread Alexandre Belloni
have any hardware to test. Regards, Alexandre Belloni (1): iio: Add Nuvoton NAU7802 ADC driver Maxime Ripard (2): ARM: mxs: cfa10049: Switch bus i2c1 to bitbanging ARM: mxs: cfa10049: Add NAU7802 ADCs to the device tree .../bindings/iio/adc/nuvoton-nau7802.txt | 17 + arch/arm

[PATCH 2/2] fb: backlight: HX8357: Add HX8369 support

2013-06-21 Thread Alexandre Belloni
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- drivers/video/backlight/hx8357.c | 183 +-- 1 file changed, 175 insertions(+), 8 deletions(-) diff --git a/drivers/video/backlight/hx8357.c b/drivers/video/backlight/hx8357.c index

[PATCH 1/2] fb: backlight: HX8357: Make IM pins optionnal

2013-06-21 Thread Alexandre Belloni
From: Maxime Ripard maxime.rip...@free-electrons.com Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- drivers/video/backlight/hx8357.c | 53 +++- 1 file changed, 31

Re: [PATCHv2 3/3] fb: backlight: HX8357: Add HX8369 support

2013-07-31 Thread Alexandre Belloni
Hi, On 26/07/2013 01:52, Jingoo Han wrote: On Thursday, July 25, 2013 10:05 PM, Maxime Ripard wrote: From: Alexandre Belloni alexandre.bell...@free-electrons.com Add support for the Himax HX8369 controller as it is quite similar to the hx8357. Signed-off-by: Alexandre Belloni

Re: [PATCH] pinctrl: at91: choose appropriate handler for level interrupts

2013-08-01 Thread Alexandre Belloni
' which mask the interrupt until the handle has treated it. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com This solves the issue on my side. Tested-by: Alexandre Belloni alexandre.bell...@free-electrons.com -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android

[PATCH] bq2415x_charger: fix max battery regulation voltage

2013-10-02 Thread Alexandre Belloni
As per the datasheets, maximum battery regulation voltage is 4440mV. The formula is (voltage - offset) / step, so the maximum value is: (4440 - 3500) / 20 = 47 Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- drivers/power/bq2415x_charger.c | 2 +- 1 file changed, 1

Re: [PATCH 0/9] of/irq: Defer interrupt reference resolution

2013-09-17 Thread Alexandre Belloni
://www.spinics.net/lists/linux-i2c/msg12523.html I couldn't test your patches yet though. I'll try to test as soon as I get some free time. -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line

[PATCH] bq2415x_charger: fix max battery regulation voltage

2013-10-16 Thread Alexandre Belloni
As per the datasheets, maximum battery regulation voltage is 4440mV. The formula is (voltage - offset) / step, so the maximum value is: (4440 - 3500) / 20 = 47 Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- drivers/power/bq2415x_charger.c | 6 +- 1 file changed, 5

Re: [PATCH] bq2415x_charger: fix max battery regulation voltage

2013-10-16 Thread Alexandre Belloni
Hi, I forgot to add this is a v2 and I just added a comment. On 16/10/2013 16:08, Alexandre Belloni wrote: As per the datasheets, maximum battery regulation voltage is 4440mV. The formula is (voltage - offset) / step, so the maximum value is: (4440 - 3500) / 20 = 47 Signed-off

[PATCH] pinctrl: at91: correct a few typos

2013-10-16 Thread Alexandre Belloni
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- drivers/pinctrl/pinctrl-at91.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/pinctrl/pinctrl-at91.c b/drivers/pinctrl/pinctrl-at91.c index f350fd2..ad48179 100644 --- a/drivers/pinctrl

[PATCH] mmc: atmel-mci: add vmmc-supply support

2013-10-16 Thread Alexandre Belloni
Other MMC hosts handle a regulator named vmmc-supply that allows to power the MMC card or SDIO device before communicating on the bus. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- drivers/mmc/host/atmel-mci.c | 12 1 file changed, 12 insertions(+) diff

[PATCHv2] mmc: atmel-mci: add vmmc-supply support

2013-10-16 Thread Alexandre Belloni
Other MMC hosts handle a regulator named vmmc-supply that allows to power the MMC card or SDIO device before communicating on the bus. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- Changes in v2: - use mmc_regulator_get_supply instead of devm_regulator_get drivers

Re: [PATCHv2] mmc: atmel-mci: add vmmc-supply support

2013-10-17 Thread Alexandre Belloni
On 17/10/2013 10:34, Ulf Hansson wrote: On 17 October 2013 00:19, Alexandre Belloni alexandre.bell...@free-electrons.com wrote: Other MMC hosts handle a regulator named vmmc-supply that allows to power the MMC card or SDIO device before communicating on the bus. Signed-off-by: Alexandre

[PATCHv3] mmc: atmel-mci: add vmmc-supply support

2013-10-17 Thread Alexandre Belloni
Other MMC hosts handle a regulator named vmmc-supply that allows to power the MMC card or SDIO device before communicating on the bus. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- Changes in v2: - use mmc_regulator_get_supply instead of devm_regulator_get Changes

Re: [PATCH] bq2415x_charger: fix max battery regulation voltage

2013-10-15 Thread Alexandre Belloni
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 15/10/2013 15:56, Pali Rohár wrote: On Wednesday 02 October 2013 12:24:22 Alexandre Belloni wrote: As per the datasheets, maximum battery regulation voltage is 4440mV. The formula is (voltage - offset) / step, so the maximum value

Re: [PATCH v6 1/2] PWM: atmel-pwm: add PWM controller driver

2013-11-13 Thread Alexandre Belloni
On 01/11/2013 15:59, Bo Shen wrote: Add Atmel PWM controller driver based on PWM framework. This is the basic function implementation of Atmel PWM controller. It can work with PWM based led and backlight. Signed-off-by: Bo Shen voice.s...@atmel.com Acked-by: Alexandre Belloni alexandre.bell

Re: [PATCH v6 2/2] PWM: atmel-pwm: add device tree binding document

2013-11-13 Thread Alexandre Belloni
On 01/11/2013 16:00, Bo Shen wrote: Add atmel pwm driver device tree binding document Signed-off-by: Bo Shen voice.s...@atmel.com Acked-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- Changes in v6: - New, split binding document as a separate patch Changes in v5: None

Re: [PATCH 0/2] ARM: add initial support for the Marvell BG2-Q DMP

2014-03-13 Thread Alexandre Belloni
, we'll have to postpone them for v3.16. We were aiming at 3.16 anyway. No worries. -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

Re: [PATCH 1/2] ARM: dts: berlin2q: add the Marvell Armada 1500 pro (BG2Q) device tree

2014-03-13 Thread Alexandre Belloni
On 13/03/2014 at 09:56:48 +, Sebastian Hesselbarth wrote : On 03/12/2014 12:22 PM, Alexandre Belloni wrote: The 25MHz crystal is on the board, please move it to the board dts. If you can confirm that sysmgr clock comes directly from this crystal, I agree. If it is fed into a pll

Re: [PATCH 1/2] ARM: dts: berlin2q: add the Marvell Armada 1500 pro (BG2Q) device tree

2014-03-13 Thread Alexandre Belloni
= disabled; +}; berlin2/berlin2cd have a vast amount of 8 apb timers. Any timers missing here or did Marvell remove them? Also for uart, can you please double-check if there is no uart2? We don't have those informations, maybe Jisheng can help ? -- Alexandre Belloni

Re: [PATCH v2 1/3] ARM: dts: berlin2q: add the Marvell Armada 1500 pro

2014-03-14 Thread Alexandre Belloni
working on that, do you have some code that you can share right now ? -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord

[PATCH 0/2] PWM: atmel: few fixes

2014-03-14 Thread Alexandre Belloni
wrong from the beginning. Alexandre Belloni (2): PWM: atmel-pwm: Fix polarity handling PWM: atmel: correct CDTY calculation drivers/pwm/pwm-atmel.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) -- 1.8.3.2 -- To unsubscribe from this list: send the line unsubscribe linux

[PATCH 1/2] PWM: atmel: Fix polarity handling

2014-03-14 Thread Alexandre Belloni
overwriting the prescaler bits. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- drivers/pwm/pwm-atmel.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/pwm/pwm-atmel.c b/drivers/pwm/pwm-atmel.c index bf4144a14661..2d69e9c431dd 100644

[PATCH 2/2] PWM: atmel: correct CDTY calculation

2014-03-14 Thread Alexandre Belloni
the polarity was inversed). Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- drivers/pwm/pwm-atmel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pwm/pwm-atmel.c b/drivers/pwm/pwm-atmel.c index 2d69e9c431dd..0adc952cc4ef 100644 --- a/drivers/pwm

[PATCH] PWM: atmel: fix incorrect CDTY value after enabling or disabling

2014-03-14 Thread Alexandre Belloni
. The other issue is that it may happen that CUPD is not flushed before enabling the channel so it will update CDTY/CPRD just after one period. So we always set CUPD, even when the channel is not enabled. Tested on at91sam9g45 and sama5d31ek. Signed-off-by: Alexandre Belloni alexandre.bell...@free

leds-atmel-pwm and atmel-pwm-bl removal

2014-03-14 Thread Alexandre Belloni
believe they didn't get broken a way or another. Regards, -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More

Re: [PATCH] iio: adc: at91_adc: correct default shtim value

2014-03-15 Thread Alexandre Belloni
Hi, On 15/03/2014 at 16:34:02 +, Jonathan Cameron wrote : Applied to the fixes-togreg branch of iio.git. Note that is likely that this will go upstream after the merge window now. I was aiming at 3.15 anyway. Thanks for you help ! -- Alexandre Belloni, Free Electrons Embedded Linux

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-off-by: Alexandre Belloni alexandre.bell

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 series, don't apologise for doing things

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 and the remaining ADC channel

Re: [PATCH v5 4/9] at91: dt: Add at91sam9261 dt SoC support

2014-03-17 Thread Alexandre Belloni
), + CLKDEV_CON_DEV_ID(NULL, f600.gpio, pioB_clk), + CLKDEV_CON_DEV_ID(NULL, f800.gpio, pioC_clk), do we really need this? Yes, until all the SoCs are switch to the CCF, we may build kernel supporting multiple sam9 SoCs without CCF. Best regards, -- Alexandre Belloni, Free Electrons

[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 alexandre.bell...@free-electrons.com --- 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 alexandre.bell...@free-electrons.com --- arch/arm/mach-at91/at91sam9rl.c | 7 +++ arch/arm/mach-at91/at91sam9rl_devices.c | 85

[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 alexandre.bell...@free-electrons.com Acked-by: Dmitry Torokhov dmitry.torok...@gmail.com --- MAINTAINERS | 6 - drivers/input/touchscreen

[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 alexandre.bell...@free-electrons.com Cc: Rodolfo Giometti giome...@linux.it --- arch/arm/boot/dts/at91-cosino_mega2560.dts | 5 - 1 file changed, 5

[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 alexandre.bell...@free-electrons.com --- arch/arm/mach-at91/include/mach/at91_adc.h | 120 - drivers/iio/adc

[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 alexandre.bell...@free-electrons.com --- 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

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

2014-03-17 Thread Alexandre Belloni
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- 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

[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 alexandre.bell...@free-electrons.com --- arch/arm/configs

[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 alexandre.bell...@free-electrons.com --- arch/arm/configs

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

2014-03-17 Thread Alexandre Belloni
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- 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

[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 alexandre.bell...@free-electrons.com Acked-by: Jonathan Cameron ji

[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 alexandre.bell...@free-electrons.com Acked

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

2014-03-17 Thread Alexandre Belloni
and this is the 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 alexandre.bell...@free-electrons.com

[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 alexandre.bell...@free-electrons.com --- arch/arm/mach-at91/include/mach/at91_adc.h | 13 ++ drivers/iio/adc/at91_adc.c

[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

[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 alexandre.bell...@free-electrons.com Acked

[PATCH] iio: adc: mxs-lradc: fix warning when buidling on avr32

2014-03-17 Thread Alexandre Belloni
-lradc.c:1558: warning: passing argument 1 of '__div64_32' from incompatible pointer type When building on avr32. Reported-by: fengguang...@intel.com Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- drivers/staging/iio/adc/mxs-lradc.c | 2 +- 1 file changed, 1 insertion

[PATCH] leds: pwm: set polarity on non DT platforms

2014-03-17 Thread Alexandre Belloni
Set inversed polarity when .active_low is set in the platform_data. With device tree, this is taken care of by of_pwm_xlate_with_flags(), called from of_pwm_get(). Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- drivers/leds/leds-pwm.c | 5 + 1 file changed, 5

Re: [PATCHv3 4/9] ARM: at91: dt: sam9rl: Device Tree for the at91sam9rlek

2014-02-24 Thread Alexandre Belloni
Hi, On 21/02/2014 at 20:48:53 +0100, Alexandre Belloni wrote : + ahb { + apb { + mmc0: mmc@fffa4000 { + pinctrl-0 = + pinctrl_board_mmc0

[PATCH 6/7] ARM: at91/dt: at91sam9x5: remove useless adc properties

2014-02-26 Thread Alexandre Belloni
Remove the properties that are not used anymore by the at91_adc driver. Also, stop using unit-addresses for the triggers as suggested by Mark Rutland in http://lists.infradead.org/pipermail/linux-arm-kernel/2014-February/234184.html Signed-off-by: Alexandre Belloni alexandre.bell...@free

[PATCH 7/7] ARM: at91/dt: sama5d3: remove useless adc properties

2014-02-26 Thread Alexandre Belloni
Remove the properties that are not used anymore by the at91_adc driver. Also, stop using unit-addresses for the triggers as suggested by Mark Rutland in http://lists.infradead.org/pipermail/linux-arm-kernel/2014-February/234184.html Signed-off-by: Alexandre Belloni alexandre.bell...@free

[PATCH 2/7] Documentation: dt: iio: move arm/atmel-adc.txt to iio/adc/at91_adc.txt

2014-02-26 Thread Alexandre Belloni
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- .../devicetree/bindings/arm/atmel-adc.txt | 76 -- .../devicetree/bindings/iio/adc/at91_adc.txt | 76 ++ 2 files changed, 76 insertions(+), 76 deletions(-) delete mode

[PATCH 1/7] Documentation: dt: iio: improve atmel-adc documentation

2014-02-26 Thread Alexandre Belloni
-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- .../devicetree/bindings/arm/atmel-adc.txt | 29 +- 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/atmel-adc.txt b/Documentation/devicetree/bindings/arm

[PATCH 4/7] ARM: at91/dt: at91sam9260: remove useless adc properties

2014-02-26 Thread Alexandre Belloni
Remove the properties that are not used anymore by the at91_adc driver. Also, stop using unit-addresses for the triggers as suggested by Mark Rutland in http://lists.infradead.org/pipermail/linux-arm-kernel/2014-February/234184.html Signed-off-by: Alexandre Belloni alexandre.bell...@free

[PATCH 5/7] ARM: at91/dt: at91sam9g45: remove useless adc properties

2014-02-26 Thread Alexandre Belloni
Remove the properties that are not used anymore by the at91_adc driver. Also, stop using unit-addresses for the triggers as suggested by Mark Rutland in http://lists.infradead.org/pipermail/linux-arm-kernel/2014-February/234184.html Signed-off-by: Alexandre Belloni alexandre.bell...@free

[PATCH 3/7] ARM: at91/dt: at91-ariag25: remove useless adc properties

2014-02-26 Thread Alexandre Belloni
Remove the properties that are not used anymore by the at91_adc driver. Also, stop using unit-addresses for the triggers as suggested by Mark Rutland in http://lists.infradead.org/pipermail/linux-arm-kernel/2014-February/234184.html Signed-off-by: Alexandre Belloni alexandre.bell...@free

Re: [PATCH 1/7] Documentation: dt: iio: improve atmel-adc documentation

2014-02-26 Thread Alexandre Belloni
Hi, On 26/02/2014 at 18:39:04 +0100, Maxime Ripard wrote : Hi Alexandre, On Wed, Feb 26, 2014 at 06:01:08PM +0100, Alexandre Belloni wrote: This corrects the example by removing the unit-address, as suggested by Mark Rutland in http://lists.infradead.org/pipermail/linux-arm-kernel/2014

[PATCHv4 4/9] ARM: at91: dt: sam9rl: Device Tree for the at91sam9rlek

2014-02-27 Thread Alexandre Belloni
Add a device tree for the at91sam9rl-ek. For now it supports: - MMC - dbgu - usart1 - watchdog - nand - leds - buttons Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/Makefile | 2 + arch/arm/boot/dts/at91sam9rlek.dts | 151

[PATCHv4 8/9] ARM: at91/dt: define main clk frequency of at91sam9rlek

2014-02-27 Thread Alexandre Belloni
Define the main clock frequency for the new main clock node in at91sam9rlek.dts Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/at91sam9rlek.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9rlek.dts b/arch/arm

[PATCHv4 9/9] ARM: at91: switch sam9rl to common clock framework

2014-02-27 Thread Alexandre Belloni
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-at91/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig index 4f0e800e7e71..7013b7b66a1e 100644 --- a/arch/arm/mach-at91/Kconfig +++ b/arch/arm

[PATCHv4 7/9] ARM: at91/dt: define at91sam9rl clocks

2014-02-27 Thread Alexandre Belloni
Define at91sam9rl clocks in at91sam9rl dtsi file. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/at91sam9rl.dtsi | 227 +- 1 file changed, 226 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts

[PATCHv4 6/9] ARM: at91: prepare common clk transition for sam9rl SoCs

2014-02-27 Thread Alexandre Belloni
This patch encloses sam9rl old clk registration in #if defined(CONFIG_OLD_CLK_AT91)/#endif sections. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-at91/at91sam9rl.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach

[PATCHv4 2/9] ARM: at91: Add at91sam9rl DT SoC support

2014-02-27 Thread Alexandre Belloni
This adds preliminary DT support for the at91sam9rl. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/at91sam9rl.dtsi | 577 ++ 1 file changed, 577 insertions(+) create mode 100644 arch/arm/boot/dts/at91sam9rl.dtsi

[PATCHv4 5/9] ARM: at91: prepare sam9 dt boards transition to common clk

2014-02-27 Thread Alexandre Belloni
-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-at91/board-dt-sam9.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-at91/board-dt-sam9.c b/arch/arm/mach-at91/board-dt-sam9.c index 3dab868b02fa..575b0be66ca8 100644

[PATCHv4 3/9] ARM: at91/defconfig: Add the sam9rl to the list of DT-enabled SOCs

2014-02-27 Thread Alexandre Belloni
at91sam9rl now has a device tree, add it to the at91_dt_defconfig. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/configs/at91_dt_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/at91_dt_defconfig b/arch/arm/configs

[PATCHv4 1/9] ARM: at91: prepare at91sam9rl DT transition

2014-02-27 Thread Alexandre Belloni
Add the new names, coming from DT, for the clock lookups. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-at91/at91sam9rl.c | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/mach-at91/at91sam9rl.c b/arch/arm/mach-at91

[PATCHv4 0/9] Device tree support for the at91sam9rlek

2014-02-27 Thread Alexandre Belloni
. Alexandre Belloni (8): ARM: at91: prepare at91sam9rl DT transition ARM: at91: Add at91sam9rl DT SoC support ARM: at91/defconfig: Add the sam9rl to the list of DT-enabled SOCs ARM: at91: dt: sam9rl: Device Tree for the at91sam9rlek ARM: at91: prepare common clk transition for sam9rl SoCs ARM

[PATCH] usb: gadget: atmel_usba: fix crash when no endpoint are specified

2014-02-27 Thread Alexandre Belloni
for that case and returns an error, not allowing the driver to be loaded with no endpoints. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- drivers/usb/gadget/atmel_usba_udc.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/usb/gadget/atmel_usba_udc.c b/drivers

[PATCH] Doc: USB: gadget: atmel_usba correct atmel,vbus-gpio meaning

2014-02-27 Thread Alexandre Belloni
atmel,at91sam9rl-udc is a USB gadget, it has now means to control vbus. atmel,vbus-gpio is in fact used to detect the presence of vbus. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- Documentation/devicetree/bindings/usb/atmel-usb.txt | 4 ++-- 1 file changed, 2

[PATCHv2 3/7] ARM: at91/dt: at91-ariag25: remove useless adc properties

2014-02-27 Thread Alexandre Belloni
Remove the properties that are not used anymore by the at91_adc driver. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com Cc: Douglas Gilbert dgilb...@interlog.com --- arch/arm/boot/dts/at91-ariag25.dts | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/boot/dts/at91

[PATCHv2 0/7] at91_adc: documentation and device tree cleanups

2014-02-27 Thread Alexandre Belloni
it wrong. Alexandre Belloni (7): Documentation: dt: iio: improve atmel-adc documentation Documentation: dt: iio: move arm/atmel-adc.txt to iio/adc/at91_adc.txt ARM: at91/dt: at91-ariag25: remove useless adc properties ARM: at91/dt: at91sam9260: remove useless adc properties ARM: at91/dt

[PATCHv2 2/7] Documentation: dt: iio: move arm/atmel-adc.txt to iio/adc/at91_adc.txt

2014-02-27 Thread Alexandre Belloni
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- .../devicetree/bindings/arm/atmel-adc.txt | 82 -- .../devicetree/bindings/iio/adc/at91_adc.txt | 82 ++ 2 files changed, 82 insertions(+), 82 deletions(-) delete mode

[PATCHv2 1/7] Documentation: dt: iio: improve atmel-adc documentation

2014-02-27 Thread Alexandre Belloni
propagating them. Also fixes atmel,adc-use-external-triggers property name. Finally, fixes a few typos. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- .../devicetree/bindings/arm/atmel-adc.txt | 33 +++--- 1 file changed, 17 insertions(+), 16

[PATCHv2 6/7] ARM: at91/dt: at91sam9x5: remove useless adc properties

2014-02-27 Thread Alexandre Belloni
Remove the properties that are not used anymore by the at91_adc driver and fix the atmel,adc-use-external-triggers property name. Also, add #address-cells, #size-cells and a reg for each trigger to comply to the ePAPR. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com

[PATCHv2 5/7] ARM: at91/dt: at91sam9g45: remove useless adc properties

2014-02-27 Thread Alexandre Belloni
Remove the properties that are not used anymore by the at91_adc driver. Also, add #address-cells, #size-cells and a reg for each trigger to comply to the ePAPR. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/at91sam9g45.dtsi | 11 ++- 1 file

[PATCHv2 4/7] ARM: at91/dt: at91sam9260: remove useless adc properties

2014-02-27 Thread Alexandre Belloni
Remove the properties that are not used anymore by the at91_adc driver. Also, add #address-cells, #size-cells and a reg for each trigger to comply to the ePAPR. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/at91sam9260.dtsi | 11 ++- 1 file

[PATCHv2 7/7] ARM: at91/dt: sama5d3: remove useless adc properties

2014-02-27 Thread Alexandre Belloni
Remove the properties that are not used anymore by the at91_adc driver and fix the atmel,adc-use-external-triggers property name. Also, add #address-cells, #size-cells and a reg for each trigger to comply to the ePAPR. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com

Re: [PATCH v4 0/8] wilink: add device tree support

2014-02-28 Thread Alexandre Belloni
/2014-February/232185.html I've hit the issue, precisely using those bindings. -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord

  1   2   3   4   5   6   7   8   9   10   >