Re: [PATCH] usb: gadget: atmel_usba: Fix crashed during stopping when DEBUG is enabled

2014-02-28 Thread Alexandre Belloni
get rid of that assignment as it is done in usb_gadget_remove_driver() anyway ? return 0; } -- 1.8.1.2 -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com signature.asc Description: Digital signature

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

2014-03-03 Thread Alexandre Belloni
Hi Felipe, On 28/02/2014 at 15:35:42 +0100, Nicolas Ferre wrote : On 27/02/2014 16:42, Alexandre Belloni : If no endpoints are present in the device tree, the kernel will cras hwith the s/cras hwith/crash with/ Do you want me to send a v2 with that typo corrected or could you correct

Re: [PATCH v2] usb: gadget: atmel_usba: Fix crashed during stopping when DEBUG is enabled

2014-03-03 Thread Alexandre Belloni
: gadget: udc-core: fix a regression during gadget driver unbinding) Cc: sta...@vger.kernel.org # v3.2+ Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com Acked-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- Changelog: v1 - v2 Fixed the signature block

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

2014-03-03 Thread Alexandre Belloni
. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- drivers/iio/adc/at91_adc.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/iio/adc/at91_adc.c b/drivers/iio/adc/at91_adc.c index 5b1aa027c034..0b103f905607 100644 --- a/drivers/iio/adc/at91_adc.c

Re: [PATCH v5 6/9] at91: dt: sam9261: Device Tree support for the at91sam9261ek

2014-03-03 Thread Alexandre Belloni
,code = 259; + gpio-key,wakeup; + }; + }; +}; -- 1.9.0 -- 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

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

2014-03-03 Thread Alexandre Belloni
), + CLKDEV_CON_DEV_ID(NULL, f400.gpio, pioA_clk), + CLKDEV_CON_DEV_ID(NULL, f600.gpio, pioB_clk), + CLKDEV_CON_DEV_ID(NULL, f800.gpio, pioC_clk), }; static struct clk_lookup usart_clocks_lookups[] = { -- 1.9.0 -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel

Re: [PATCH v5 0/9] Device Tree support for the at91sam9261ek

2014-03-03 Thread Alexandre Belloni
Apart from my two nitpicks, the whole series is Acked-by: Alexandre Belloni alexandre.bell...@free-electrons.com On 03/03/2014 at 11:05:53 +0100, Jean-Jacques Hiblot wrote : This patch set aims at bringing a device tree support for the sam9261. It's mostly based on the sam9263 and sam9x5 stuff

Re: [PATCH 2/2] ARM: dts: sama5d36ek: add spi pinctrl sleep state

2014-03-05 Thread Alexandre Belloni
would belong to the dtsi as this is generic enough. Also, it was suggested by Mark that list entries should be bracketed separately. But I guess we may not want to mix styles in the same file. Nicolas, what do you think ? -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android

[PATCH 0/3] iio: adc: at91 fixes

2014-03-05 Thread Alexandre Belloni
on the at91sam9g45 and at91sam9260 based boards. It would be great if they could make it in 3.14. But I'm not sure it is worth applying them to 3.13. Alexandre Belloni (3): iio: adc: at91_adc: Repair broken platform_data support ARM: at91: at91sam9g45: change at91_adc name ARM: at91: at91sam9260: change

[PATCH 2/3] ARM: at91: at91sam9g45: change at91_adc name

2014-03-05 Thread Alexandre Belloni
We can't use at91_adc to refer to the at91_adc driver anymore as the name is used to match an id_table. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-at91/at91sam9g45_devices.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm

[PATCH 3/3] ARM: at91: at91sam9260: change at91_adc name

2014-03-05 Thread Alexandre Belloni
We can't use at91_adc to refer to the at91_adc driver anymore as the name is used to match an id_table. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-at91/at91sam9260_devices.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm

[PATCH 1/3] iio: adc: at91_adc: Repair broken platform_data support

2014-03-05 Thread Alexandre Belloni
time calculation changed since at91sam9x5) Cc: sta...@vger.kernel.org # v3.13+ Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- drivers/iio/adc/at91_adc.c | 26 ++ 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/drivers/iio/adc

[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 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 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 alexandre.bell...@free-electrons.com --- MAINTAINERS | 6 - drivers/input/touchscreen/Kconfig| 12 -- drivers/input/touchscreen

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

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

2014-03-05 Thread Alexandre Belloni
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 iio

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

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

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

2014-03-05 Thread Alexandre Belloni
and this is the speed used by atmel_tsadcc. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- 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

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

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

2014-03-05 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 c3ea34025749..c47dcbaa56ef 100644 --- a/drivers/iio/adc

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

[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 alexandre.bell...@free-electrons.com --- drivers/iio/adc/at91_adc.c

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

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

[PATCHv3 8/8] ARM: at91/dt: at91-cosino: remove useless adc properties

2014-03-10 Thread Alexandre Belloni
Remove the properties that are not used anymore by the at91_adc driver. Cc: Rodolfo Giometti giome...@linux.it Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/at91-cosino.dtsi | 1 - arch/arm/boot/dts/at91-cosino_mega2560.dts | 1 - 2 files

[PATCHv3 1/8] Documentation: dt: iio: improve atmel-adc documentation

2014-03-10 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

[PATCHv3 5/8] ARM: at91/dt: at91sam9g45: remove useless adc properties

2014-03-10 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

[PATCHv3 6/8] ARM: at91/dt: at91sam9x5: remove useless adc properties

2014-03-10 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

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

2014-03-10 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

[PATCHv3 4/8] ARM: at91/dt: at91sam9260: remove useless adc properties

2014-03-10 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

[PATCHv3 3/8] ARM: at91/dt: at91-ariag25: remove useless adc properties

2014-03-10 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

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

2014-03-10 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

[PATCHv3 0/8] at91_adc: documentation and device tree cleanups

2014-03-10 Thread Alexandre Belloni
name in the documentation and in the device tree that got it wrong. Alexandre Belloni (8): 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

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

2014-03-12 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

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

2014-03-12 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

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

2014-03-12 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

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

2014-03-12 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

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

2014-03-12 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

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

2014-03-12 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

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

2014-03-12 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

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

2014-03-12 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

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

2014-03-12 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 | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm/mach-at91/at91sam9rl.c b/arch/arm/mach-at91

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

2014-03-12 Thread Alexandre Belloni
v3: - reordered nand - removed ADC and USB gadget definition as they were not working. They will come with another set of patches adding proper support. Alexandre Belloni (8): ARM: at91: prepare at91sam9rl DT transition ARM: at91: Add at91sam9rl DT SoC support ARM: at91/defconfig: Add

Re: [PATCH 1/3] iio: adc: at91_adc: Repair broken platform_data support

2014-03-12 Thread Alexandre Belloni
, if it is too late, we'll push for stable. Thanks ! -- 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 0/2] ARM: add initial support for the Marvell BG2-Q DMP

2014-03-12 Thread Alexandre Belloni
://www.marvell.com/digital-entertainment/armada-1500-pro/ I would move that description to the commit logs. Else one would have to lookup the mailing list archive to read it. -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from

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

2014-03-12 Thread Alexandre Belloni
On 12/03/2014 at 12:06:03 +0100, Antoine Ténart wrote : Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- Documentation/arm/Marvell/README | 5 + .../devicetree/bindings/arm/marvell

[PATCH 1/3] iio: mxs-lradc: fix buffer overflow

2014-01-13 Thread Alexandre Belloni
instead. Reported-by: Dan Carpenter dan.carpen...@oracle.com Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- drivers/staging/iio/adc/mxs-lradc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/iio/adc/mxs-lradc.c b/drivers/staging/iio/adc

[PATCH 2/3] iio: mxs-lradc: fix invalid channel number detection

2014-01-13 Thread Alexandre Belloni
16 would be accepted as a channel number but it is invalid. It doesn't really have any effect as mxs_lradc_read_raw is called from a controlled environment so it it only gets values going from 0 to 15. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- drivers/staging/iio

[PATCH 3/3] iio: mxs-lradc: remove useless scale_available files

2014-01-13 Thread Alexandre Belloni
in_voltage8_scale_available and in_voltage9_scale_available are exposed to userspace but useless as in_voltage8_raw and in_voltage9_raw are not available. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- drivers/staging/iio/adc/mxs-lradc.c | 4 1 file changed, 4

[PATCH 0/3] iio: mxs-lradc fixes

2014-01-13 Thread Alexandre Belloni
really have any impact as we control the input but is there for correctness. The last one removes useless scale_available files for channel 8 and 9 as they are read has a temperature channel. I feel it is safe to do as no releases were made with those so we are not really breaking the ABI. Alexandre

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

2014-01-13 Thread Alexandre Belloni
Hi, I still don't see that on mmc.git, Any issue with that patch ? I would prefer not missing the 3.14 merge window. Regards On 18/12/2013 09:16, Ludovic Desroches wrote: Hi Alexandre, On Tue, Dec 17, 2013 at 08:03:12PM +0100, Alexandre Belloni wrote: Hi, It seems that patch never made

Re: [PATCH 2/3] iio: mxs-lradc: fix invalid channel number detection

2014-01-13 Thread Alexandre Belloni
On 13/01/2014 21:25, Marek Vasut wrote: On Monday, January 13, 2014 at 05:02:02 PM, Alexandre Belloni wrote: 16 would be accepted as a channel number but it is invalid. It doesn't really have any effect as mxs_lradc_read_raw is called from a controlled environment so it it only gets values

Re: [PATCH v4 3/8] at91: dt: Add at91sam9261 dt SoC support

2014-02-13 Thread Alexandre Belloni
from the CPU point of view... So I think that Jean-Jacques DT is okay concerning this. Ok, I'm perfectly fine with that. Thanks for the answer ! -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send

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

2014-02-14 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

[PATCH 3/3] ARM: at91: dt: sam9rl: Device Tree for the at91sam9rlek

2014-02-14 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

[PATCH 0/3] Device tree support for the at91sam9rlek

2014-02-14 Thread Alexandre Belloni
- leds - buttons Next: - spi - dataflash - i2c - lcd - touchscreen - usb gadget - audio - common clock framework conversion Alexandre Belloni (3): 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

[PATCH 1/3] ARM: at91: Add at91sam9rl DT SoC support

2014-02-14 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 | 626 ++ arch/arm/mach-at91/at91sam9rl.c | 16 + 2 files changed, 642 insertions(+) create

Re: [PATCH] clk:at91: Fix memory leak in of_at91_clk_master_setup()

2014-02-15 Thread Alexandre Belloni
-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- drivers/clk/at91/clk-master.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/at91/clk-master.c b/drivers/clk/at91/clk-master.c index bd313f7..c1af80b 100644 --- a/drivers/clk/at91/clk-master.c

Re: [PATCH 3/3] ARM: at91: dt: sam9rl: Device Tree for the at91sam9rlek

2014-02-17 Thread Alexandre Belloni
On 17/02/2014 at 11:30:57 +0100, Nicolas Ferre wrote : On 15/02/2014 02:14, 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

Re: [PATCH 1/3] ARM: at91: Add at91sam9rl DT SoC support

2014-02-17 Thread Alexandre Belloni
On 17/02/2014 at 11:20:13 +0100, Thomas Petazzoni wrote : Dear Alexandre Belloni, On Sat, 15 Feb 2014 02:14:18 +0100, Alexandre Belloni wrote: + model = Atmel AT91SAM9RL family SoC; + compatible = atmel,at91sam9rl; Since you have it in your board .dts file, I guess you should add

[PATCHv2 5/8] ARM: at91: prepare common clk transition for sam9rl SoCs

2014-02-19 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

[PATCHv2 0/8] Device tree support for the at91sam9rlek

2014-02-19 Thread Alexandre Belloni
to the watchdog description (new in 3.14) - added CCF conversion Alexandre Belloni (7): 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

[PATCHv2 1/8] ARM: at91: Add at91sam9rl DT SoC support

2014-02-19 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 | 628 ++ arch/arm/mach-at91/at91sam9rl.c | 16 + 2 files changed, 644 insertions(+) create

[PATCHv2 8/8] ARM: at91: switch sam9rl to common clock framework

2014-02-19 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

[PATCHv2 4/8] ARM: at91: prepare sam9 dt boards transition to common clk

2014-02-19 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

[PATCHv2 6/8] ARM: at91/dt: define at91sam9rl clocks

2014-02-19 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 | 231 +- 1 file changed, 229 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts

[PATCHv2 3/8] ARM: at91: dt: sam9rl: Device Tree for the at91sam9rlek

2014-02-19 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

[PATCHv2 2/8] ARM: at91/defconfig: Add the sam9rl to the list of DT-enabled SOCs

2014-02-19 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

[PATCHv2 7/8] ARM: at91/dt: define main clk frequency of at91sam9rlek

2014-02-19 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

Re: [PATCHv2 1/8] ARM: at91: Add at91sam9rl DT SoC support

2014-02-19 Thread Alexandre Belloni
On 19/02/2014 at 17:00:20 +, Mark Rutland wrote : On Wed, Feb 19, 2014 at 03:32:24PM +, Alexandre Belloni wrote: This adds preliminary DT support for the at91sam9rl. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/at91sam9rl.dtsi

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

2014-02-21 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 | 622 ++ 1 file changed, 622 insertions(+) create mode 100644 arch/arm/boot/dts/at91sam9rl.dtsi

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

2014-02-21 Thread Alexandre Belloni
there is not reg property 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

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

2014-02-21 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

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

2014-02-21 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

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

2014-02-21 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

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

2014-02-21 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 | 231 +- 1 file changed, 229 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts

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

2014-02-21 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

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

2014-02-21 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

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

2014-02-21 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

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

2014-02-21 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

Re: [PATCHv2 1/8] ARM: at91: Add at91sam9rl DT SoC support

2014-02-21 Thread Alexandre Belloni
reworking those. So, in light of what Nicolas said, I've sent v3 taking into account all your other comments. I believe we have 3 at91sam9 SoCs that will enter the DT world for 3.15. I suggest that we finish the DT and CCF transition then we'll take some time to rework the pinctrl driver. -- Alexandre

[PATCH 0/3] arm: at91: update defconfigs

2014-02-11 Thread Alexandre Belloni
A few at91 defconfigs where not updated in a long time, refresh the configs for at91sam9rl and at91sam9260/at91sam9g20. Alexandre Belloni (3): arm: at91sam9rl: refresh defconfig arm: at91sam9260_9g20: remove useless configuration arm: at91sam9260_9g20: refresh configuration arch/arm

[PATCH 3/3] arm: at91sam9260_9g20: refresh configuration

2014-02-11 Thread Alexandre Belloni
Select CONFIG_EMBEDDED as it it useful for that board. Also select CONFIG_MTD_UBI to really enable UBIfs (CONFIG_FS_UBIFS depends on it). Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/configs/at91sam9260_9g20_defconfig | 2 ++ 1 file changed, 2 insertions

[PATCH 2/3] arm: at91sam9260_9g20: remove useless configuration

2014-02-11 Thread Alexandre Belloni
A few configuration symbols are deprecated and disappeared a few versions ago, remove them. CONFIG_FPE_NWFPE depends on OABI_COMPAT which was not selected. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/configs/at91sam9260_9g20_defconfig | 7 --- 1 file

[PATCH 1/3] arm: at91sam9rl: refresh defconfig

2014-02-11 Thread Alexandre Belloni
The defconfig for the at91sam9rl is quite old, refresh it: - now uses EABI instead of OABI - add devtmpfs support - add UBI/UBIfs support - remove a few config symbols that disappeared Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/configs

Re: [PATCH] MTD: atmel_nand: POI fall back is not an issue: change log level

2014-02-12 Thread Alexandre Belloni
-kernel -- 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 v4 3/8] at91: dt: Add at91sam9261 dt SoC support

2014-02-12 Thread Alexandre Belloni
= 0xee00 0x200; + }; + Same here, the apb is actually under the bus matrix. I don't know whether it can be represented another way though. -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from

Re: [PATCH v4 3/8] at91: dt: Add at91sam9261 dt SoC support

2014-02-12 Thread Alexandre Belloni
,at91rm9200-pinctrl, simple-bus; + ranges = 0xf400 0xf400 0xa00; + I believe you got the range wrong, shouldn't it be: ranges = 0xf400 0xf400 0x600; -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android

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

2014-03-18 Thread Alexandre Belloni
On 18/03/2014 at 16:02:51 -0700, Bryan Wu wrote : On Mon, Mar 17, 2014 at 11:38 AM, Alexandre Belloni alexandre.bell...@free-electrons.com wrote: 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

[PATCH 3/3] ARM: at91/dt: at91sam9m10g45ek PWM leds polarity is inversed

2014-03-18 Thread Alexandre Belloni
The real polarity of the LEDs is inversed. The led is between 3.3v and the PWM. It was working before because the driver was getting the duty cycle calculation wrong. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/at91sam9m10g45ek.dts | 5 +++-- 1

[PATCH 0/3] ARM: at91: improve at91sam9m10g45ek support

2014-03-18 Thread Alexandre Belloni
PWM: atmel-pwm: Fix polarity handling Alexandre Belloni (3): ARM: at91/dt: sam9g45: improve ADC/touchscreen support ARM: at91/dt: at91sam9m10g45ek: add ADC and touchscreen support ARM: at91/dt: at91sam9m10g45ek PWM leds polarity is inversed arch/arm/boot/dts/at91sam9g45.dtsi | 33

[PATCH 1/3] ARM: at91/dt: sam9g45: improve ADC/touchscreen support

2014-03-18 Thread Alexandre Belloni
Fixes the compatible string, adds the pinmuxing for the ADC pins. Also, removes atmel,adc-use-external-triggers as it is not possible to remove it unless redefining the whole adc node Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/at91sam9g45.dtsi

[PATCH 2/3] ARM: at91/dt: at91sam9m10g45ek: add ADC and touchscreen support

2014-03-18 Thread Alexandre Belloni
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/at91sam9m10g45ek.dts | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9m10g45ek.dts b/arch/arm/boot/dts/at91sam9m10g45ek.dts index 7ff665a8c708..7800931a4b16

[PATCH] Documentation: dt: list all compatible strings for at91

2014-03-19 Thread Alexandre Belloni
string documentation checks Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- Documentation/devicetree/bindings/arm/atmel-aic.txt | 3 +-- Documentation/devicetree/bindings/arm/atmel-at91.txt | 10 -- Documentation/devicetree/bindings/dma/atmel-dma.txt

Re: [PATCH] Documentation: dt: list all compatible strings for at91

2014-03-19 Thread Alexandre Belloni
On 19/03/2014 at 11:33:34 +0100, Nicolas Ferre wrote : On 19/03/2014 11:26, Alexandre Belloni : Avoids getting the newly introduced warning: WARNING: DT compatible string atmel,at91sam9g45-adc appears un-documented -- check ./Documentation/devicetree/bindings

[PATCH v2] Documentation: dt: list all compatible strings for at91

2014-03-19 Thread Alexandre Belloni
string documentation checks Cc: Rob Herring r...@kernel.org Cc: Joe Perches j...@perches.com Cc: Grant Likely grant.lik...@linaro.org Cc: Andy Whitcroft a...@canonical.com Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com --- Changes

<    1   2   3   4   5   6   7   8   9   10   >