[PATCH 2/2] tty/serial: at91: add a fallback option to determine uart/usart property

2013-10-10 Thread Nicolas Ferre
On older SoC, the name field is not filled in the register map. Fix the way to figure out if the serial port is an uart or an usart for these older products (with corresponding properties). Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- drivers/tty/serial/atmel_serial.c | 19

[PATCH] ARM: at91: remove init_machine() as default is suitable

2013-10-11 Thread Nicolas Ferre
Since 883a106b0866ca8d75b5520bdb3ca1cf8e3730ba (ARM: default machine descriptor for multiplatform) we can remove the SoC-specific callback init_machine() to use the default code. This cleans up the code and reduces the number of lines. Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com

Re: [PATCH 07/12] net/ethernet: ARM_AT91_ETHER should depend on HAS_DMA

2013-05-10 Thread Nicolas Ferre
: In function `at91ether_close': drivers/net/ethernet/cadence/at91_ether.c:145: undefined reference to `dma_free_coherent' Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org Cc: Nicolas Ferre nicolas.fe...@atmel.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com Cc: David S. Miller da

Re: [PATCH 08/12] net/ethernet: MACB should depend on HAS_DMA

2013-05-10 Thread Nicolas Ferre
to `dma_map_single' Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org Cc: Nicolas Ferre nicolas.fe...@atmel.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com Cc: David S. Miller da...@davemloft.net Cc: net...@vger.kernel.org --- drivers/net/ethernet/cadence/Kconfig |1 + 1 files

[PATCH] mmc: atmel-mci: convert to dma_request_slave_channel_compat()

2013-05-10 Thread Nicolas Ferre
From: Ludovic Desroches ludovic.desroc...@atmel.com Use generic DMA DT helper. Platforms booting with or without DT populated are both supported. Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com Acked-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com Acked-by: Nicolas Ferre

[PATCH] ARM: at91: dts: request only spi cs-gpios used on sama5d3x cpu module

2013-05-10 Thread Nicolas Ferre
From: Ludovic Desroches ludovic.desroc...@atmel.com Instead of requesting all available spi cs-gpios, request only the ones used on the board, in our case on the cpu module. Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com

Re: [PATCH] ARM: at91: dts: request only spi cs-gpios used on sama5d3x cpu module

2013-05-10 Thread Nicolas Ferre
On 10/05/2013 12:30, Nicolas Ferre : From: Ludovic Desroches ludovic.desroc...@atmel.com Instead of requesting all available spi cs-gpios, request only the ones used on the board, in our case on the cpu module. Signed-off-by: Ludovic Desroches ludovic.desroc...@atmel.com Signed-off-by: Nicolas

[PATCH 1/3] dmaengine: at_hdmac/trivial: correct typo in comment

2013-05-10 Thread Nicolas Ferre
Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- drivers/dma/at_hdmac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/at_hdmac.c b/drivers/dma/at_hdmac.c index e923cda..cd49420 100644 --- a/drivers/dma/at_hdmac.c +++ b/drivers/dma/at_hdmac.c @@ -1120,7

[PATCH 2/3] dmaengine: at_hdmac: extend hardware handshaking interface identification

2013-05-10 Thread Nicolas Ferre
Peripheral handshaking identification numbers can be bigger than 15, so new fields have been created in the CFG register. Add macros to take this modification into account and use them in at_dma_xlate() function. Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- drivers/dma/at_hdmac.c

[PATCH 3/3] dmaengine: at_hdmac/trivial: rearrange CFG register bits assignment

2013-05-10 Thread Nicolas Ferre
No modification in CFG register configuration, just rearrange bits directives to group logically and make it more readable. Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- drivers/dma/at_hdmac.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/dma

[PATCH] net/macb: fix ISR clear-on-write behavior only for some SoC

2013-05-13 Thread Nicolas Ferre
activate this clear-on-write behavior on ISR. Reported-by: Hein Tibosch hein_tibo...@yahoo.es Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- Documentation/devicetree/bindings/net/macb.txt | 2 ++ drivers/net/ethernet/cadence/macb.c| 15 +-- drivers/net/ethernet

Re: [PATCH] net/macb: fix ISR clear-on-write behavior only for some SoC

2013-05-14 Thread Nicolas Ferre
On 13/05/2013 18:05, Jean-Christophe PLAGNIOL-VILLARD : On May 14, 2013, at 12:05 AM, Nicolas Ferre nicolas.fe...@atmel.com wrote: Commit 749a2b6 (net/macb: clear tx/rx completion flags in ISR) introduces clear-on-write on ISR register. This behavior is not always implemented when using

Re: [PATCH] net/macb: fix ISR clear-on-write behavior only for some SoC

2013-05-14 Thread Nicolas Ferre
On 14/05/2013 13:38, Michal Simek : On 05/14/2013 11:16 AM, Nicolas Ferre wrote: On 13/05/2013 18:05, Jean-Christophe PLAGNIOL-VILLARD : On May 14, 2013, at 12:05 AM, Nicolas Ferre nicolas.fe...@atmel.com wrote: Commit 749a2b6 (net/macb: clear tx/rx completion flags in ISR) introduces clear

[PATCH v2] net/macb: fix ISR clear-on-write behavior only for some SoC

2013-05-14 Thread Nicolas Ferre
to actually activate this clear-on-write behavior on ISR. Reported-by: Hein Tibosch hein_tibo...@yahoo.es Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- v2: - use DCFG1 bit 23 integration information instead of device tree compatibility string to retreive information about c-o-r vs. c-o

[PATCH] ARM: at91/trivial: typo in GEM compatible string

2013-05-14 Thread Nicolas Ferre
Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- Documentation/devicetree/bindings/net/macb.txt | 2 +- arch/arm/boot/dts/sama5d3.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/net/macb.txt b/Documentation

[PATCH 0/3 v3] net/macb: RX path enhancement

2013-05-15 Thread Nicolas Ferre
-coherent memory for rx buffers - addition of the struct macb layout optimization Havard Skinnemoen (1): net/macb: Try to optimize struct macb layout Nicolas Ferre (2): net/macb: increase RX buffer size for GEM net/macb: change RX path for GEM drivers/net/ethernet/cadence/macb.c

[PATCH 1/3 v3] net/macb: increase RX buffer size for GEM

2013-05-15 Thread Nicolas Ferre
in DMA Configuration Register specification. Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- drivers/net/ethernet/cadence/macb.c | 45 ++--- drivers/net/ethernet/cadence/macb.h | 1 + 2 files changed, 38 insertions(+), 8 deletions(-) diff --git a/drivers

[PATCH 2/3 v3] net/macb: change RX path for GEM

2013-05-15 Thread Nicolas Ferre
GEM is able to adapt its DMA buffer size, so change the RX path to take advantage of this possibility and remove all kind of memcpy in this path. This modification introduces function pointers for managing differences between MACB and GEM adapter type. Signed-off-by: Nicolas Ferre nicolas.fe

[PATCH 3/3 v3] net/macb: Try to optimize struct macb layout

2013-05-15 Thread Nicolas Ferre
-by: Nicolas Ferre nicolas.fe...@atmel.com --- drivers/net/ethernet/cadence/macb.h | 29 +++-- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/drivers/net/ethernet/cadence/macb.h b/drivers/net/ethernet/cadence/macb.h index f407615..6c8e38a2 100644

[GIT PULL] at91: fixes for 3.10 #1

2013-05-15 Thread Nicolas Ferre
support Ludovic Desroches (1): ARM: at91: dts: request only spi cs-gpios used on sama5d3x cpu module Nicolas Ferre (1): ARM: at91/trivial: typo in GEM compatible string Documentation/devicetree/bindings/net/macb.txt | 2 +- arch/arm/boot/dts/at91sam9x25ek.dts| 2 +- arch/arm

Re: [GIT PULL] at91: soc update for 3.12 #1

2013-08-29 Thread Nicolas Ferre
On 29/08/2013 03:09, Bo Shen : Hi Olof, On 08/29/2013 07:58 AM, Olof Johansson wrote: On Mon, Aug 26, 2013 at 05:55:43PM +0200, Nicolas Ferre wrote: Arnd, Olof, Kevin, Here is AT91 SoC updates for 3.12 kernel. It is the first pull-request for this topic and it is based on 3.11-rc5 like your

[GIT PULL v2] at91: soc update for 3.12 #1

2013-08-29 Thread Nicolas Ferre
/mach/uncompress.h | 13 + 4 files changed, 25 insertions(+), 1 deletion(-) -- Nicolas Ferre -- 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/majordomo-info.html

[PATCH] ARM: at91/DT: at91sam9x5ek: fix USB host property to enable port C

2013-07-03 Thread Nicolas Ferre
on the product and letting port A available for USB gadget usage. Reported-by: Rodolfo Giometti giome...@enneenne.com Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com Cc: Bo Shen voice.s...@atmel.com --- arch/arm/boot/dts/at91sam9x5ek.dtsi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff

Re: [PATCH v2 0/5] Sound support for at91sam9x5-wm8731 based boards

2013-07-08 Thread Nicolas Ferre
snd_soc_card and snd_soc_dai_link structures. Best regards, Richard. Nicolas Ferre (1): sound: sam9x5_wm8731: machine driver for at91sam9x5 wm8731 boards Richard Genoud (4): ARM: AT91: DTS: sam9x5: add SSC DMA parameters ARM: AT91: DTS: sam9x5ek: add WM8731 codec ARM: AT91: DTS: sam9x5ek

Re: [PATCH v3 3/7] Documentation: DT: update atmel SSC with DMA binding

2013-07-09 Thread Nicolas Ferre
; + status = disabled; +}; + -- 1.7.10.4 -- Nicolas Ferre -- 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/majordomo-info.html Please read the FAQ at http://www.tux.org

Re: [PATCH] net/cadence/macb: fix bug/typo in extracting gem_irq_read_clear bit

2013-07-09 Thread Nicolas Ferre
On 09/07/2013 10:36, Jongsung Kim : Signed-off-by: Jongsung Kim neidhard@lge.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com Cc: stable sta...@vger.kernel.org # 3.10+ Thanks for having spotted that. Best regards, --- drivers/net/ethernet/cadence/macb.c |2 +- 1 files changed

Re: [PATCH 3/10] iio: at91_adc: Cocci spatch noderef

2013-09-20 Thread Nicolas Ferre
On 19/09/2013 23:42, Thomas Meyer : sizeof when applied to a pointer typed expression gives the size of the pointer. Found by coccinelle spatch misc/noderef.cocci Signed-off-by: Thomas Meyer tho...@m3y3r.de Acked-by: Nicolas Ferre nicolas.fe...@atmel.com --- diff -u -p a/drivers/iio/adc

Re: [PATCH] phy/micrel: Add suspend/resume support to Micrel PHYs

2013-09-20 Thread Nicolas Ferre
On 19/09/2013 20:08, David Miller : From: Nicolas Ferre nicolas.fe...@atmel.com Date: Thu, 19 Sep 2013 19:40:48 +0200 From: Patrice Vilchez patrice.vilc...@atmel.com All supported Micrel PHYs implement the standard power down bit 11 of BMCR, so this patch adds support using the generic

Re: [PATCH 3/10] iio: at91_adc: Cocci spatch noderef

2013-09-23 Thread Nicolas Ferre
On 20/09/2013 20:42, Jonathan Cameron : On 09/20/13 19:36, Jonathan Cameron wrote: On 09/20/13 08:26, Nicolas Ferre wrote: On 19/09/2013 23:42, Thomas Meyer : sizeof when applied to a pointer typed expression gives the size of the pointer. Found by coccinelle spatch misc/noderef.cocci Signed

Re: [PATCH v3] PWM: at91: add Atmel PWM controller driver

2013-09-23 Thread Nicolas Ferre
); + +MODULE_ALIAS(platform:atmel-pwm); +MODULE_AUTHOR(Bo Shen voice.s...@atmel.com); +MODULE_DESCRIPTION(Atmel PWM driver); +MODULE_LICENSE(GPL v2); -- Nicolas Ferre -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo

Re: [PATCH 4/7] pcmcia: at91_cf: fix deferred probe from __init

2013-09-23 Thread Nicolas Ferre
-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com Cc: Nicolas Ferre nicolas.fe...@atmel.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com Thanks Johan. Signed-off-by: Johan Hovold jhov...@gmail.com --- drivers/pcmcia/at91_cf.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions

[GIT PULL] at91: fixes for 3.12 #1

2013-09-24 Thread Nicolas Ferre
): ARM: at91: serial: fix wrong pinctrl_usart2_rts Michael Opdenacker (1): ARM: at91: remove IRQF_DISABLED Nicolas Ferre (1): ARM: at91: at91sam9x5: set default mmc[01] pinctrl-names arch/arm/boot/dts/at91sam9x5.dtsi | 6 -- arch/arm/mach-at91/at91rm9200_time.c | 2 +- arch

Re: [PATCH] ARM: at91: sama5d: add the PWM clock

2013-09-25 Thread Nicolas Ferre
I modify the subject: s/sama5d/sama5d3/ and push it to our at91-3.13-soc branch on: https://github.com/at91linux/linux-at91/commits/at91-3.13-soc With: Acked-by: Nicolas Ferre nicolas.fe...@atmel.com Thanks, bye, On 24/09/2013 19:30, Alexandre Belloni : Signed-off-by: Alexandre Belloni

Re: [PATCH v4] PWM: atmel-pwm: add PWM controller driver

2013-09-25 Thread Nicolas Ferre
PWM driver); +MODULE_LICENSE(GPL v2); -- Nicolas Ferre -- 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/majordomo-info.html Please read the FAQ at http://www.tux.org

Re: [PATCH v2] ARM: at91: cam60: fix incorrect placement of __initdata tag

2013-09-30 Thread Nicolas Ferre
-by: Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Anyway, no need to resend it: Acked-by: Nicolas Ferre nicolas.fe...@atmel.com --- v2: - use __initdata as it is OK to do it arch/arm/mach-at91/board-cam60.c | 4 +--- 1 file changed, 1

[GIT PULL] at91: fixes for 3.12 #2

2013-09-30 Thread Nicolas Ferre
| 10 +- 2 files changed, 13 insertions(+), 5 deletions(-) -- Nicolas Ferre -- 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/majordomo-info.html Please read the FAQ

Re: [PATCH 2/2] ARM: at91/sama5_defconfig: enable sound support

2014-06-10 Thread Nicolas Ferre
On 06/06/2014 11:37, Bo Shen : Signed-off-by: Bo Shen voice.s...@atmel.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com Added to at91-3.17-defconfig. Thanks. --- arch/arm/configs/sama5_defconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/configs/sama5_defconfig

Re: [PATCH 1/2] ARM: at91/at91_dt_defconfig: enable sound support

2014-06-10 Thread Nicolas Ferre
On 06/06/2014 11:37, Bo Shen : As sound support depends on ssc, i2c and dma, so also enable them. Signed-off-by: Bo Shen voice.s...@atmel.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com Added to at91-3.17-defconfig. Thanks. --- arch/arm/configs/at91_dt_defconfig | 10 ++ 1

Re: [PATCH] rtc: rtc-at91rm9200: fix infinite wait for ACKUPD irq

2014-05-07 Thread Nicolas Ferre
. On the other hand, I let Boris add the stable tag to his original patch. Thanks to all of you for this fix. Bye, -- Nicolas Ferre -- 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

[GIT PULL] at91: cleanup for 3.16 #1

2014-05-07 Thread Nicolas Ferre
ARM: at91/dt: move at91sam9rl SoC to the new slow/main clock models ARM: at91/dt: define sam9rlek crystal frequencies Linus Walleij (1): ARM: at91: localize GPIO header Nicolas Ferre (1): ASoC: sam9g20_wm8731: remove useless mach/gpio.h .../devicetree/bindings/clock/at91

Re: [GIT PULL] at91: cleanup for 3.16 #1

2014-05-07 Thread Nicolas Ferre
On 07/05/2014 19:34, Nicolas Ferre : Arnd, Olof, Kevin, This is the first cleanup pull-request for 3.16. It is pretty big because it integrates the work from Boris about CCF and Alexandre about IIO/ADC. I integrated them in this cleanup topic because they both touch the core at91 code

Re: [PATCH 2/2] iio:adc: at91 requires the input subsystem

2014-05-09 Thread Nicolas Ferre
tristate Atmel AT91 ADC depends on ARCH_AT91 + depends on INPUT select IIO_BUFFER select IIO_TRIGGERED_BUFFER select SYSFS -- Nicolas Ferre -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord

Re: [PATCH] misc: atmel_pwm: only build for supported platforms

2014-05-09 Thread Nicolas Ferre
Bergmann a...@arndb.de Cc: Greg Kroah-Hartman gre...@linuxfoundation.org Acked-by: Nicolas Ferre nicolas.fe...@atmel.com Thanks, --- drivers/misc/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index fe2230c..ce29342

Re: [PATCH v3 00/11] ARM: at91: rework main and slow clk implementation

2014-05-09 Thread Nicolas Ferre
On 30/04/2014 21:07, Mike Turquette : Quoting Nicolas Ferre (2014-04-30 11:12:51) On 22/04/2014 06:12, Boris BREZILLON : Hello, This series introduce the real clock model (as described in atmel datasheets) for slow and main clocks. The modifications introduced by this series break the DT

Re: [PATCH] usb: gadget: atmel_usba: always test udc-driver

2014-05-09 Thread Nicolas Ferre
...@free-electrons.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com Thanks, --- drivers/usb/gadget/atmel_usba_udc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/gadget/atmel_usba_udc.c b/drivers/usb/gadget/atmel_usba_udc.c index 9f65324f9ae0

Re: [PATCH v2 2/2] iio:adc: at91 requires the input subsystem

2014-05-09 Thread Nicolas Ferre
On 09/05/2014 13:43, Arnd Bergmann : On Friday 09 May 2014 12:01:48 Nicolas Ferre wrote: On 08/05/2014 16:56, Arnd Bergmann : Building the at91 adc driver with CONFIG_INPUT disabled results in this build error: ERROR: input_event [drivers/iio/adc/at91_adc.ko] undefined! ERROR

Re: [PATCH v3] ARM: at91: fix startup rtc irq mask for sam9g25 and sam9g35 SoCs

2014-05-09 Thread Nicolas Ferre
puzzle some users): Acked-by: Nicolas Ferre nicolas.fe...@atmel.com Thanks, bye, -- Nicolas Ferre -- 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/majordomo-info.html Please

[PATCH 1/2] ARM: at91: add PWM pinctrl to SAMA5D3

2014-05-09 Thread Nicolas Ferre
Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- arch/arm/boot/dts/sama5d3.dtsi | 82 ++ 1 file changed, 82 insertions(+) diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi index 9caa06b3641e..ed7943745f23 100644

[PATCH 2/2] ARM: at91: add 2 PWM outputs to SAMA5D3 Xplained

2014-05-09 Thread Nicolas Ferre
Add PWM high output of channels 0 and 1 to PA20 PA22 pins. Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- arch/arm/boot/dts/at91-sama5d3_xplained.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts b/arch/arm/boot/dts/at91

Re: [PATCH v4] ARM: at91: fix at91_sysirq_mask_rtc for sam9x5 SoCs

2014-05-09 Thread Nicolas Ferre
BREZILLON boris.brezil...@free-electrons.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com --- Changes since v3: - fix commit message and comment Changes since v2: - removed unused variable 'mask' Changes since v1: - use a macro to define IRQs bitmask - read IMR register to ensure

Re: [PATCH] ARM: dts: at91-sama5d3_xplained: add the regulator device node

2014-05-09 Thread Nicolas Ferre
on this node. Do you agree and allow me to take your first revision of the patch? Bye, -- Nicolas Ferre -- 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/majordomo-info.html Please

Re: [PATCH] spi: atmel: fix typo in dev_err

2014-05-20 Thread Nicolas Ferre
On 20/05/2014 09:41, Raphaël Poggi : Fix typo in dev_err. Signed-off-by: Raphaël Poggi poggi.r...@gmail.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com --- drivers/spi/spi-atmel.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi-atmel.c b

Re: [GIT PULL] at91: DT for 3.16 #2

2014-05-20 Thread Nicolas Ferre
On 20/05/2014 07:50, Olof Johansson : On Wed, May 14, 2014 at 11:19:22AM +0200, Nicolas Ferre wrote: Arnd, Olof, Kevin, More DT material for AT91. Some fixes that apply on what was merged for 3.15 but that are not very critical. The other patches are feature additions to old or very recent

Re: [GIT PULL] at91: DT for 3.16 #2

2014-05-21 Thread Nicolas Ferre
On 20/05/2014 18:47, Olof Johansson : Hi, On Tue, May 20, 2014 at 05:19:24PM +0200, Nicolas Ferre wrote: On 20/05/2014 07:50, Olof Johansson : On Wed, May 14, 2014 at 11:19:22AM +0200, Nicolas Ferre wrote: Arnd, Olof, Kevin, More DT material for AT91. Some fixes that apply on what

Re: [GIT PULL] at91: DT for 3.16 #2

2014-05-22 Thread Nicolas Ferre
rename the resulting dtbs. As long as we don't keep adding random names beyond those, we should be OK. I okay with all you said Olof. I'll try to keep this file naming sensible even with all the legacy that we already have. Bye, -- Nicolas Ferre -- To unsubscribe from this list: send the line

[GIT PULL] at91: DT for 3.16 at91-dt3 #3

2014-05-22 Thread Nicolas Ferre
, 842 insertions(+), 7 deletions(-) create mode 100644 arch/arm/boot/dts/at91sam9x5_can.dtsi create mode 100644 arch/arm/boot/dts/at91sam9x5_isi.dtsi create mode 100644 arch/arm/boot/dts/at91sam9x5_lcd.dtsi -- Nicolas Ferre -- To unsubscribe from this list: send the line unsubscribe linux-kernel

[GIT PULL] at91: fixes for 3.15 #2

2014-05-22 Thread Nicolas Ferre
files changed, 5 insertions(+), 5 deletions(-) -- Nicolas Ferre -- 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/majordomo-info.html Please read the FAQ at http://www.tux.org

[PATCH 2/2] ARM: at91/dt: add NAND + DMA property for at91sam9rl

2014-05-15 Thread Nicolas Ferre
Add the atmel,nand-has-dma property to NAND node Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- arch/arm/boot/dts/at91sam9rl.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/at91sam9rl.dtsi b/arch/arm/boot/dts/at91sam9rl.dtsi index 412617084cfd..f21163c7dc2b

[PATCH 1/2] ARM: at91/dt: add DMA controller node to at91sam9rl

2014-05-15 Thread Nicolas Ferre
Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- arch/arm/boot/dts/at91sam9rl.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9rl.dtsi b/arch/arm/boot/dts/at91sam9rl.dtsi index 6e6e87dd0c92..412617084cfd 100644 --- a/arch/arm/boot/dts

Re: [GIT PULL] at91: cleanup for 3.16 #1

2014-05-19 Thread Nicolas Ferre
On 17/05/2014 01:31, Olof Johansson : On Fri, May 16, 2014 at 04:26:35PM -0700, Olof Johansson wrote: On Wed, May 07, 2014 at 07:39:35PM +0200, Nicolas Ferre wrote: On 07/05/2014 19:34, Nicolas Ferre : Arnd, Olof, Kevin, This is the first cleanup pull-request for 3.16. It is pretty big

Re: [PATCH] MAINTAINERS: add AT91 Clock Support entry

2014-05-27 Thread Nicolas Ferre
On 27/05/2014 13:39, Boris BREZILLON : Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com Of course Boris, that will be good: Acked-by: Nicolas Ferre nicolas.fe...@atmel.com --- MAINTAINERS | 5 + 1 file changed, 5 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS

[PATCH] ARM: at91/defconfig: sama5_defconfig: updated

2014-05-27 Thread Nicolas Ferre
From: Wenyou Yang wenyou.y...@atmel.com due to enabling -- CONFIG_REGULATOR -- CONFIG_REGULATOR_ACT8865 Signed-off-by: Wenyou Yang wenyou.y...@atmel.com [nicolas.fe...@atmel.com: move added entries to proper location within file] Signed-off-by: Nicolas Ferre nicolas.fe

Re: [PATCH 1/2] ARM: at91: add PWM pinctrl to SAMA5D3

2014-05-12 Thread Nicolas Ferre
On 10/05/2014 11:10, Alexandre Belloni : Hi Nicolas, On 09/05/2014 at 15:44:27 +0200, Nicolas Ferre wrote : Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- arch/arm/boot/dts/sama5d3.dtsi | 82 ++ 1 file changed, 82 insertions(+) diff

[PATCH v2 1/2] ARM: at91: add PWM pinctrl to SAMA5D3

2014-05-12 Thread Nicolas Ferre
Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- v1 - v2: - removed useless comment part, kept the conflicts with... part - grouped high and low signal definitions together for each channel arch/arm/boot/dts/sama5d3.dtsi | 78

Re: [PATCH] ARM: dts: at91-sama5d3_xplained: add the regulator device node

2014-05-12 Thread Nicolas Ferre
On 21/04/2014 06:29, Wenyou Yang : Signed-off-by: Wenyou Yang wenyou.y...@atmel.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com Stacked on the at91-3.16-dt2 branch. Thanks, bye, --- arch/arm/boot/dts/at91-sama5d3_xplained.dts | 42 +++ 1 file changed, 42

Re: [PATCH Resend] defconfig: sama5_defconfig: updated

2014-05-12 Thread Nicolas Ferre
On 22/04/2014 05:32, Wenyou Yang : due to enabling -- CONFIG_REGULATOR -- CONFIG_REGULATOR_ACT8865 Signed-off-by: Wenyou Yang wenyou.y...@atmel.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com With little modification: I didn't pushed these configuration options at the end

Re: [PATCH 1/3] ARM: at91/dt: sam9261: Fix PLL output ranges and other clocks divisors

2014-05-12 Thread Nicolas Ferre
Hi, To the whole series: Acked-by: Nicolas Ferre nicolas.fe...@atmel.com and pushed on at91-3.16-dt2 Thanks, bye, On 23/04/2014 10:53, Alexandre Belloni : Argument 3 (OUT) and 4 (ICPLL) of the atmel,pll-clk-output-ranges were missing. Also, the at91sam9261 doesn't really have a by 3

Re: [PATCH 2/2] input: atmel-wm97xx: only build for AVR32

2014-05-12 Thread Nicolas Ferre
prevent it in Kconfig. If we ever want to use it on another platform, we should also pass proper resources for GPIO, IRQ and memory, which are hardcoded to AT32AP700X at the moment. Yes it seems so: Acked-by: Nicolas Ferre nicolas.fe...@atmel.com Signed-off-by: Arnd Bergmann a...@arndb.de Cc

Re: [PATCHv2] ARM: at91/dt: sam9261: Fix PLL output ranges and other clocks divisors

2014-05-12 Thread Nicolas Ferre
; +atmel,clk-divisors = 1 2 4 0; clocks = pllb; }; -- Nicolas Ferre -- 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] ARM: at91: sam9260: fix compilation issues

2014-05-12 Thread Nicolas Ferre
these files will disappear at some point... Acked-by: Nicolas Ferre nicolas.fe...@atmel.com Added to at91-3.16-cleanup2. Thanks, --- I believe that at some point, we may want to reintroduce defines for those values but we should probably do that in a dt-bindings include and choose better

Re: [PATCH] ARM: at91/dt: sam9260: correct external trigger value

2014-05-13 Thread Nicolas Ferre
On 12/05/2014 18:32, Alexandre Belloni : The external trigger value is 0b1101 which is 13 but 0xd. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com and pushed on our at91-3.15-fixes branch. I will try to push it for 3.15

[GIT PULL] at91: DT for 3.16 #2

2014-05-14 Thread Nicolas Ferre
: sam9rl: Fix PLL output range and mck divisors Nicolas Ferre (3): ARM: at91: add pull-up to i2c[02] on SAMA5D3 Xplained ARM: at91: add PWM pinctrl to SAMA5D3 ARM: at91: add 2 PWM outputs to SAMA5D3 Xplained Wenyou Yang (1): ARM: at91/dt: at91-sama5d3_xplained: add the regulator

Re: [PATCH] net/cadence/macb: clear interrupts simply and correctly

2014-06-17 Thread Nicolas Ferre
performance figures than in the past. Best regards, -- Nicolas Ferre -- 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/majordomo-info.html Please read the FAQ at http

[GIT PULL] at91: fixes for 3.16 (drivers) #1

2014-06-17 Thread Nicolas Ferre
-pwm.c delete mode 100644 drivers/misc/atmel_pwm.c delete mode 100644 drivers/video/backlight/atmel-pwm-bl.c delete mode 100644 include/linux/atmel-pwm-bl.h delete mode 100644 include/linux/atmel_pwm.h -- Nicolas Ferre -- To unsubscribe from this list: send the line unsubscribe linux-kernel

[GIT PULL] at91: drivers for 3.16 #1

2014-06-02 Thread Nicolas Ferre
delete mode 100644 drivers/misc/atmel_pwm.c delete mode 100644 drivers/video/backlight/atmel-pwm-bl.c delete mode 100644 include/linux/atmel-pwm-bl.h delete mode 100644 include/linux/atmel_pwm.h -- Nicolas Ferre -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: [PATCH v2] at91: pmc: Fixed irq's name allocation for programmable clocks

2014-02-04 Thread Nicolas Ferre
On 04/02/2014 09:21, Jean-Jacques Hiblot : The name provided to request_irq() must be valid until the irq is released. This patch stores the name in the internal data structure. Signed-off-by: Jean-Jacques Hiblot jjhib...@traphandler.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com

Re: [PATCH 1/3] clk: at91: fix programmable clk irq handling

2014-02-04 Thread Nicolas Ferre
...@overkiz.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com --- drivers/clk/at91/clk-programmable.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/clk/at91/clk-programmable.c b/drivers/clk/at91/clk-programmable.c index fd792b2..02f62a0 100644

Re: [PATCH 2/3] clk: at91: replace prog clk round_rate with determine_rate

2014-02-04 Thread Nicolas Ferre
On 03/02/2014 12:25, Boris BREZILLON : Implement the determine_rate callback to choose the best parent clk that fulfills the requested rate. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com Nice feature, thanks! --- drivers/clk/at91

Re: [PATCH 3/3] clk: at91: propagate rate change on system clks

2014-02-04 Thread Nicolas Ferre
On 03/02/2014 12:25, Boris BREZILLON : System clks are just gates, and thus do not provide any rate operations. Authorize clk rate change to be propagated to system clk parents. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com

[PATCH] ARM: at91: add Atmel's SAMA5D3 Xplained board

2014-02-04 Thread Nicolas Ferre
Add DT file for new SAMA5D3 Xpained board. This board is based on Atmel's SAMA5D36 Cortex-A5 SoC. Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- arch/arm/boot/dts/at91-sama5d3_xplained.dts | 233 1 file changed, 233 insertions(+) create mode 100644 arch

[PATCH v2] ARM: at91: add Atmel's SAMA5D3 Xplained board

2014-02-05 Thread Nicolas Ferre
Add DT file for new SAMA5D3 Xpained board. This board is based on Atmel's SAMA5D36 Cortex-A5 SoC. Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/at91-sama5d3_xplained.dts | 233 2 files

Re: [PATCH 1/2] USB: at91: fix the number of endpoint parameter

2014-01-21 Thread Nicolas Ferre
)) { if (ep_is_control(udc-usba_ep[i])) usba_control_irq(udc, udc-usba_ep[i]); -- 1.8.5.2 Best Regards, Bo Shen Best Regards, Bo Shen -- Nicolas Ferre -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

[PATCH] pinctrl: at91: use locked variant of irq_set_handler

2014-01-21 Thread Nicolas Ferre
When setting the gpio irq type, use the __irq_set_handler_locked() variant instead of the irq_set_handler() to prevent false spinlock recursion warning. Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com Cc: stable sta...@vger.kernel.org # v3.12 --- drivers/pinctrl/pinctrl-at91.c | 10

[PATCH] tty/serial: atmel_serial: remove dev_dbg in atmel_set_termios

2014-01-22 Thread Nicolas Ferre
This fixes a driver bug which stopped the whole system (in case of serial console). This log message is not useful anyway as this information is printed elsewhere. Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- drivers/tty/serial/atmel_serial.c | 3 --- 1 file changed, 3 deletions

Re: linux-next: manual merge of the renesas tree with the arm-soc tree

2014-01-06 Thread Nicolas Ferre
On 04/01/2014 06:11, Olof Johansson : On Mon, Dec 16, 2013 at 2:00 AM, Nicolas Ferre nicolas.fe...@atmel.com wrote: On 16/12/2013 00:47, Stephen Rothwell : Hi Simon, Today's linux-next merge of the renesas tree got a conflict in drivers/clk/Makefile between commit 0ad6125b1579 (clk: at91

[PATCH 0/4] tty/serial: at91: fixes dealing with port shutdown

2014-01-07 Thread Nicolas Ferre
including these patches for 3.13? Thanks, best regards, Nicolas Ferre Marek Roszko (3): tty/serial: at91: Handle shutdown more safely tty/serial: at91: fix race condition in atmel_serial_remove tty/serial: at91: prevent null dereference in tasklet function Mark Deneen (1): tty/serial: at91

[PATCH 2/4] tty/serial: at91: fix race condition in atmel_serial_remove

2014-01-07 Thread Nicolas Ferre
for atmel_tasklet_func. Simply putting the tasklet_kill at the start of the function will prevent this conflict. Signed-off-by: Marek Roszko mark.ros...@gmail.com Acked-by: Leilei Zhao leilei.z...@atmel.com Cc: sta...@vger.kernel.org # v3.12 Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com

[PATCH 1/4] tty/serial: at91: Handle shutdown more safely

2014-01-07 Thread Nicolas Ferre
) from [c0205e8c] (uart_port_shutdown+0x2c/0x38) Signed-off-by: Marek Roszko mark.ros...@gmail.com Acked-by: Leilei Zhao leilei.z...@atmel.com Cc: sta...@vger.kernel.org # v3.12 Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- drivers/tty/serial/atmel_serial.c | 20 +--- 1

[PATCH 3/4] tty/serial: at91: prevent null dereference in tasklet function

2014-01-07 Thread Nicolas Ferre
...@vger.kernel.org # v3.12 Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- drivers/tty/serial/atmel_serial.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/tty/serial/atmel_serial.c b/drivers/tty/serial/atmel_serial.c index c421d11b3d4c..6e68486c83cb 100644 --- a/drivers

[PATCH 4/4] tty/serial: at91: reset rx_ring when port is shutdown

2014-01-07 Thread Nicolas Ferre
buffer and flip it, you can then log in. Signed-off-by: Mark Deneen mden...@gmail.com Acked-by: Leilei Zhao leilei.z...@atmel.com [nicolas.fe...@atmel.com: adapt to mainline kernel, handle !DMA case] Cc: sta...@vger.kernel.org # v3.12 Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- drivers

Re: [PATCH 0/4] tty/serial: at91: fixes dealing with port shutdown

2014-01-07 Thread Nicolas Ferre
On 07/01/2014 11:41, Nicolas Ferre : Hi, Sorry for the noise: I messed up with git-send-email... I re-sent the whole series. Bye, These four fixes are pretty important for our atmel_serial driver as they deal with closing/re-opening of ports. They fix race condition and null pointers

[RFC PATCH] tty/serial: at91: disable uart timer at start of shutdown

2014-01-08 Thread Nicolas Ferre
to the beginning of the function stops a tasklet from being scheduled unexpectedly. Signed-off-by: Marek Roszko mark.ros...@gmail.com Cc: stable sta...@vger.kernel.org # v3.12 [nicolas.fe...@atmel.com: modify commit message, call setup_timer() in any case] Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com

[GIT PULL] at91: cleanup for 3.14 #2

2014-01-08 Thread Nicolas Ferre
-a9260.c| 266 drivers/clk/at91/pmc.c | 2 +- 7 files changed, 187 insertions(+), 275 deletions(-) create mode 100644 arch/arm/boot/dts/at91-qil_a9260.dts delete mode 100644 arch/arm/mach-at91/board-qil-a9260.c -- Nicolas Ferre

[PATCH] ARM: at91: smc: bug fix in sam9_smc_cs_read()

2014-01-09 Thread Nicolas Ferre
From: Jean-Jacques Hiblot jjhib...@traphandler.com There was a copy/paste error when reading the nwe_pulse value. Signed-off-by: Jean-Jacques Hiblot jjhib...@traphandler.com Acked-by: Boris BREZILLON b.brezil...@overkiz.com Cc: stable sta...@vger.kernel.org # 3.3 Signed-off-by: Nicolas Ferre

Re: [PATCH v2 06/12] at91: smc: Adds helper functions to validate and clip the smc timings.

2014-01-15 Thread Nicolas Ferre
); + __CLIP_CFG(config, AT91_SMC_TDF, tdf_cycles); + +} + static void sam9_smc_cs_write_mode(void __iomem *base, struct sam9_smc_config *config) { -- Nicolas Ferre -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: [PATCH v2 01/12] at91: dt: Add at91sam9261 dt SoC support

2014-01-15 Thread Nicolas Ferre
On 15/01/2014 11:08, Jean-Jacques Hiblot : 2014/1/14 Nicolas Ferre nicolas.fe...@atmel.com: On 09/01/2014 13:31, Jean-Jacques Hiblot : This patch adds the basics to support the Device Tree on a sam9261-based platform Signed-off-by: Jean-Jacques Hiblot jjhib...@traphandler.com --- arch

Re: [PATCH v2 06/12] at91: smc: Adds helper functions to validate and clip the smc timings.

2014-01-15 Thread Nicolas Ferre
On 15/01/2014 10:54, Jean-Jacques Hiblot : 2014/1/15 Nicolas Ferre nicolas.fe...@atmel.com: On 09/01/2014 13:31, Jean-Jacques Hiblot : This patchs implememnts 2 functions to help with the configuration of a chip-select's timing: * sam9_smc_check_cs_configuration : checks that the values would

Re: [PATCH] at91: dt: i2c: add a new compatibility string for the at91sam9261

2014-01-15 Thread Nicolas Ferre
On 15/01/2014 11:24, Jean-Jacques Hiblot : Signed-off-by: Jean-Jacques Hiblot jjhib...@traphandler.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com Thanks Jean-Jacques. Side note: do not forget i2c maintainer and ml. --- drivers/i2c/busses/i2c-at91.c | 3 +++ 1 file changed, 3

Re: [PATCH 2/3] ASoC: atmel_wm8904: make it available to choose clock

2014-01-15 Thread Nicolas Ferre
= snd_soc_of_parse_card_name(card, atmel,model); if (ret) { dev_err(pdev-dev, failed to parse card name\n); -- Nicolas Ferre -- 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

Re: [PATCH 3/3] Binding: atmel-wm8904: add option to choose clock

2014-01-15 Thread Nicolas Ferre
design, clk privide on rk pin typo + more description is needed: Please tell that it is a boolean property, that by default it is using the TK pin (like in the commit message in fact). Bye, +to ssc device Example: sound { -- Nicolas Ferre -- To unsubscribe from this list: send

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