Re: [PATCH v2 4/4] at91/avr32/atmel_lcdfb: prepare clk before calling enable

2013-06-25 Thread Nicolas Ferre
On 25/06/2013 10:14, Boris BREZILLON : Replace clk_enable/disable with clk_prepare_enable/disable_unprepare to avoid common clk framework warnings. Signed-off-by: Boris BREZILLON Acked-by: Nicolas Ferre Jean-Christophe, can you take this one? Thanks, best regards, --- drivers/video

Re: [PATCH] ARM: at91/PMC: fix at91sam9n12 USB FS init

2013-06-25 Thread Nicolas Ferre
On 25/06/2013 07:10, Bo Shen : Hi Nicolas, On 06/24/2013 06:57 PM, Nicolas Ferre wrote: at91sam9n12 has Full-speed only USB. So we should add it to the list in at91_pllb_usbfs_clock_init() function. Signed-off-by: Nicolas Ferre --- arch/arm/mach-at91/clock.c | 2 +- 1 file changed, 1

[GIT PULL v2] dmaengine: at_hdmac: updates for 3.11

2013-06-25 Thread Nicolas Ferre
e Ludovic Desroches (2): ARM: at91: dt: add header to define at_hdmac configuration dmaengine: at_hdmac: add FIFO configuration parameter to DMA DT binding Nicolas Ferre (2): dmaengine: at_hdmac: remove unsuded atc_cleanup_descriptors() dmaengine/trivial: at_hdmac: add curly brac

[GIT PULL] at91: Device Tree updates for 3.11 #3

2013-06-26 Thread Nicolas Ferre
: rm9200: add spi support ARM: at91: dt: rm9200ek: add spi support Nicolas Ferre (3): ARM: at91/DT: fix SPI compatibility string ARM: at91/DT: sama5d3: add SPI DMA client infos ARM: at91/DT: at91sam9n12: add SPI DMA client infos arch/arm/boot/dts/at91rm9200.dtsi | 20

Re: [PATCH 0/3] ARM: at91/DT: enable SPI for more SoCs

2013-06-26 Thread Nicolas Ferre
On 26/06/2013 03:59, Yang, Wenyou : > > >> -Original Message----- >> From: Nicolas Ferre [mailto:nicolas.fe...@atmel.com] >> Sent: 2013年6月24日 18:35 >> To: Jean-Christophe PLAGNIOL-VILLARD; Desroches, Ludovic; Yang, Wenyou; >> Shen, Voice; Wu, Josh >>

[PATCH v2 0/2] dmaengine: at_hdmac: dt dma bindings update

2013-06-07 Thread Nicolas Ferre
Vinod, This is the patch series that has already been sent by Ludovic. It is the part of the series that is dedicated to dmaengine. It is based on slave-dma/next. I plan to submit an additional patch through arm-soc as the .dtsi updates are dependent on a "cleanup" branch that is already stacked t

[PATCH v2 1/2] ARM: at91: dt: add header to define at_hdmac configuration

2013-06-07 Thread Nicolas Ferre
From: Ludovic Desroches DMA-cell content is a concatenation of several values. In order to keep this stuff human readable, macros are introduced. The values for the FIFO configuration are not the same as the ones used in the configuration register in order to keep backward compatibility. Most de

[PATCH v2 2/2] at_hdmac: add FIFO configuration parameter to DMA DT binding

2013-06-07 Thread Nicolas Ferre
From: Ludovic Desroches For most devices the FIFO configuration is the same i.e. when half FIFO size is available/filled, a source/destination request is serviced. But USART devices have to do it when there is enough space/data available to perform a single AHB access so the ASAP configuration.

[PATCH] dmaengine: at_hdmac: remove unsuded atc_cleanup_descriptors()

2013-06-07 Thread Nicolas Ferre
Since patch 7c407d3e54dcc0c79119553c8d5ef176c1d5bc3a (DMA: AT91: Get residual bytes in dma buffer), the function atc_cleanup_descriptors() is not used anymore. We remove it to prevent warnings. Reported-by: Arnd Bergmann Signed-off-by: Nicolas Ferre --- drivers/dma/at_hdmac.c | 31

[PATCH] dmaengine/trivial: at_hdmac: add curly brackets to if/else expressions

2013-06-07 Thread Nicolas Ferre
Correct coding style following the patch: 7c407d3e54dcc0c79119553c8d5ef176c1d5bc3a (DMA: AT91: Get residual bytes in dma buffer). Signed-off-by: Nicolas Ferre --- drivers/dma/at_hdmac.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/dma/at_hdmac.c b/drivers

Re: [PATCHv4] ARM: at91: Fix link breakage when !CONFIG_PHYLIB

2013-06-10 Thread Nicolas Ferre
#x27; :(.text+0x11b0): undefined reference to `mdiobus_write' arch/arm/mach-at91/built-in.o: In function `sama5_dt_device_init': :(.init.text+0x1e34): undefined reference to `phy_register_fixup_for_uid' when CONFIG_PHYLIB is not selected. Signed-off-by: Alexandre Belloni Acked-

Re: [PATCH 0/2] ARM: sunxi: Convert DTSI to new CPU bindings

2013-07-02 Thread Nicolas Ferre
arch/arm/boot/dts/sun5i-a10s.dtsi | 2 ++ arch/arm/boot/dts/sun5i-a13.dtsi | 2 ++ 3 files changed, 6 insertions(+) -- 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 majordom

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

2013-07-03 Thread Nicolas Ferre
ble on the product and letting "port A" available for USB gadget usage. Reported-by: Rodolfo Giometti Signed-off-by: Nicolas Ferre Cc: Bo Shen --- arch/arm/boot/dts/at91sam9x5ek.dtsi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/at91sam9x5ek.d

[GIT PULL] at91: non critical fixes (for early 3.11) #2

2013-06-26 Thread Nicolas Ferre
Daniel Lezcano (1): ARM: at91: cpuidle: Fix target_residency Jean-Christophe PLAGNIOL-VILLARD (1): ARM: at91: fix at91_extern_irq usage for non-dt boards Nicolas Ferre (4): ARM: at91/PMC: sama5d3 family doesn't have a PLLB ARM: at91/PMC: at91sam9n12 famil

Re: [GIT PULL] at91: Device Tree updates for 3.11 #3

2013-06-26 Thread Nicolas Ferre
On 26/06/2013 16:57, Arnd Bergmann : On Wednesday 26 June 2013, Nicolas Ferre wrote: Arnd, Olof, One more pull-request for AT91 DT patches. It is focused on SPI on several SoCs and it particular the SPI+DMA addition on newer SAMA5D3 and AT91SAM9N12. Pulled into next/dt, thanks! I&#x

Re: [PATCH v2 2/4] mmc: atmel-mci: prepare clk before calling enable

2013-06-28 Thread Nicolas Ferre
ot[i], i); } - clk_enable(host->mck); + clk_prepare_enable(host->mck); atmci_writel(host, ATMCI_IDR, ~0UL); atmci_writel(host, ATMCI_CR, ATMCI_CR_MCIDIS); atmci_readl(host, ATMCI_SR); - clk_disable(host->mck); + clk_disable_unprepare(host->mck);

[PATCH] ARM: at91/DT: fix at91sam9n12ek memory node

2013-06-28 Thread Nicolas Ferre
Signed-off-by: Nicolas Ferre --- arch/arm/boot/dts/at91sam9n12ek.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/at91sam9n12ek.dts b/arch/arm/boot/dts/at91sam9n12ek.dts index d59b70c..3d77dbe 100644 --- a/arch/arm/boot/dts/at91sam9n12ek.dts +++ b

[PATCH 0/4] ARM: at91: little DT fixes

2013-03-22 Thread Nicolas Ferre
Hi, Here are some little fixes found while adding device tree boards. I plan to request a pull on this material early next week. Nicolas Ferre (4): ARM: at91/dt: fix macb node declaration ARM: at91/trivial: typos in compatible property ARM: at91/trivial: fix model name for SAM9G15-EK

[PATCH 1/4] ARM: at91/dt: fix macb node declaration

2013-03-22 Thread Nicolas Ferre
Macb0 node cannot be activated in generic sam9x5ek.dtsi file as the sam9g15 does not have one. Move the macb0 & macb1 activation in board .dts file that support them. Signed-off-by: Nicolas Ferre --- arch/arm/boot/dts/at91sam9g25ek.dts | 9 + arch/arm/boot/dts/at91sam9g35ek.dts

[PATCH 4/4] ARM: at91: remove partial parameter in bootargs for at91sam9x5ek.dtsi

2013-03-22 Thread Nicolas Ferre
Remove the malformed "mem=" bootargs parameter in at91sam9x5ek.dtsi Signed-off-by: Nicolas Ferre Cc: stable # 3.8+ --- arch/arm/boot/dts/at91sam9x5ek.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/at91sam9x5ek.dtsi b/arch/ar

[PATCH 2/4] ARM: at91/trivial: typos in compatible property

2013-03-22 Thread Nicolas Ferre
- unneeded whitespace - missing double quote Signed-off-by: Nicolas Ferre Cc: stable # 3.8+ --- arch/arm/boot/dts/at91sam9g15.dtsi | 2 +- arch/arm/boot/dts/at91sam9g25.dtsi | 2 +- arch/arm/boot/dts/at91sam9g35.dtsi | 2 +- arch/arm/boot/dts/at91sam9x25.dtsi | 2 +- arch/arm/boot/dts

[PATCH 3/4] ARM: at91/trivial: fix model name for SAM9G15-EK

2013-03-22 Thread Nicolas Ferre
Signed-off-by: Nicolas Ferre Cc: stable # 3.8+ --- arch/arm/boot/dts/at91sam9g15ek.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/at91sam9g15ek.dts b/arch/arm/boot/dts/at91sam9g15ek.dts index 86dd3f6..5427b2d 100644 --- a/arch/arm/boot/dts

[PATCH] ARM: at91/at91sam9x5: add RTC node

2013-03-22 Thread Nicolas Ferre
Signed-off-by: Nicolas Ferre --- arch/arm/boot/dts/at91sam9x5.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b/arch/arm/boot/dts/at91sam9x5.dtsi index d18aff5..7a32a3f 100644 --- a/arch/arm/boot/dts/at91sam9x5.dtsi +++ b/arch/arm/boot/dts

[PATCH] ARM: at91: add Acme Systems Aria G25 board

2013-03-25 Thread Nicolas Ferre
From: Douglas Gilbert Signed-off-by: Douglas Gilbert Signed-off-by: Nicolas Ferre --- arch/arm/boot/dts/ariag25.dts | 168 ++ 1 file changed, 168 insertions(+) create mode 100644 arch/arm/boot/dts/ariag25.dts diff --git a/arch/arm/boot/dts/ariag25.dts

Re: [PATCH] ARM: at91: add Acme Systems Aria G25 board

2013-03-25 Thread Nicolas Ferre
On 03/25/2013 02:48 PM, Douglas Gilbert : > On 13-03-25 08:22 AM, Jean-Christophe PLAGNIOL-VILLARD wrote: >> On 09:49 Mon 25 Mar , Nicolas Ferre wrote: >>> From: Douglas Gilbert >>> >>> Signed-off-by: Douglas Gilbert >>> Signed-off-by: Nicolas F

Re: [PATCH] ARM: at91: add Acme Systems Aria G25 board

2013-03-25 Thread Nicolas Ferre
On 03/25/2013 01:22 PM, Jean-Christophe PLAGNIOL-VILLARD : > On 09:49 Mon 25 Mar , Nicolas Ferre wrote: >> From: Douglas Gilbert >> >> Signed-off-by: Douglas Gilbert >> Signed-off-by: Nicolas Ferre >> --- >&g

Re: [PATCH] ARM: AT91: Fix typo in restart code panic message

2013-03-26 Thread Nicolas Ferre
On 03/23/2013 10:58 AM, Maxime Ripard : > Signed-off-by: Maxime Ripard Acked-by: Nicolas Ferre And queued in at91-3.9-fixes. Thanks Maxime. > --- > arch/arm/mach-at91/setup.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/mach-at91/

[GIT PULL] at91: fixes for 3.9-rc #2

2013-03-26 Thread Nicolas Ferre
start code panic message Nicolas Ferre (4): ARM: at91/dt: fix macb node declaration ARM: at91/trivial: typos in compatible property ARM: at91/trivial: fix model name for SAM9G15-EK ARM: at91: remove partial parameter in bootargs for at91sam9x5ek.dtsi arch/arm/boot/dts/a

Re: [GIT PULL] at91: fixes for 3.9-rc #2

2013-03-26 Thread Nicolas Ferre
On 03/26/2013 11:22 AM, Arnd Bergmann : > On Tuesday 26 March 2013, Nicolas Ferre wrote: >> Another "fixes" pull-request for AT91 on top of material that you have >> already >> taken. Fixes are manly typos but the bad node declaration and some >> misspe

[PATCH v2] ARM: at91: add Acme Systems Aria G25 board

2013-03-26 Thread Nicolas Ferre
From: Douglas Gilbert Signed-off-by: Douglas Gilbert Signed-off-by: Nicolas Ferre --- arch/arm/boot/dts/ariag25.dts | 175 ++ 1 file changed, 175 insertions(+) create mode 100644 arch/arm/boot/dts/ariag25.dts diff --git a/arch/arm/boot/dts/ariag25.dts

Re: [PATCH] ARM: at91/dt: split sam9x5 peripheral definitions

2013-08-19 Thread Nicolas Ferre
el,pins = + ; /* PC26 periph B */ + }; + }; + }; + + usart3: serial@f8028000 { + compatible =

Re: [PATCH 1/8] ARM: at91: move peripheral id definitions to dt-bindings include dir

2013-08-19 Thread Nicolas Ferre
do think that the simpler is the best. 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 read the FAQ at http://www.tux.org/lkml/

Re: [RFC PATCH] pwm: atmel-pwm: add pwm controller driver

2013-08-20 Thread Nicolas Ferre
, atmel_pwm); + + dev_info(&pdev->dev, "successfully register pwm\n"); + + return 0; +} + +static int atmel_pwm_remove(struct platform_device *pdev) +{ + struct atmel_pwm_chip *atmel_pwm = platform_get_drvdata(pdev); + + return pwmchip_remove(&atmel_pwm-&g

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

2013-08-21 Thread Nicolas Ferre
On 05/08/2013 17:26, 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 Acked-by: Nicolas Ferre Stacked on at91-3.12-dt. Thanks. --- arch/arm

Re: [PATCH v2 0/3] arm: atmel: at91sam9n12: add i2c pinctrl and qt1070 support

2013-08-21 Thread Nicolas Ferre
On 11/07/2013 05:30, Bo Shen : this patch is based on linux master branch, implementation as following: - add the i2c pinctrl which needed for using at91sam9n12 TWI - enable qt1070 - trival fix for the gpio-key pin number Acked-by: Nicolas Ferre On the whole series. Changes in v2

Re: [PATCH 0/4] Add sound in SAM9x5 DTS

2013-08-21 Thread Nicolas Ferre
have to bother themi, right ?] Yep! On the whole series: Acked-by: Nicolas Ferre Stacked on top of at91-3.12-dt Thanks a lot Richard! Richard Genoud (4): ARM: AT91: DTS: sam9x5: add SSC DMA parameters ARM: AT91: DTS: sam9x5ek: add WM8731 codec ARM: AT91: DTS: sam9x5ek: enable SSC

Re: [PATCH v4 1/5] ARM: at91/tc/clocksource: replace clk_enable/disable with clk_prepare_enable/disable_unprepare.

2013-08-21 Thread Nicolas Ferre
On 18/07/2013 09:58, Boris BREZILLON : Replace clk_enable/disable with clk_prepare_enable/disable_unprepare to avoid common clk framework warnings. Signed-off-by: Boris BREZILLON Acked-by: Nicolas Ferre John, Thomas, Do you want me to re-sent this patch with acked-by collected or you can

[GIT PULL] at91: device tree update for 3.12 #1

2013-08-21 Thread Nicolas Ferre
deletion(-) create mode 100644 arch/arm/boot/dts/at91rm9200_pqfp.dtsi -- 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 P

Re: [PATCH 0/4] arm: atmel: enable kernel uncompress info output

2013-08-22 Thread Nicolas Ferre
On 04/07/2013 09:16, Bo Shen : this patch set enable kernel uncompress info output - sama5d3 - at91sam9n12 Acked-by: Nicolas Ferre Whole series integrated in at91-3.12-soc branch. Thanks, bye, without this patch set, it won't show following information ---8>--- Uncompressi

Re: [PATCH] usb: gadget: at91_udc: add usb_clk for transition to common clk framework

2013-08-12 Thread Nicolas Ferre
BREZILLON Acked-by: Nicolas Ferre --- drivers/usb/gadget/at91_udc.c | 17 - drivers/usb/gadget/at91_udc.h |2 +- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/drivers/usb/gadget/at91_udc.c b/drivers/usb/gadget/at91_udc.c index fce8e4e..ae06585 100644

Re: [PATCH v2] USB: ohci-at91: add usb_clk for transition to common clk framework

2013-08-12 Thread Nicolas Ferre
IS_ENABLED(CONFIG_COMMON_CLK) to isolate new at91 clk support Signed-off-by: Boris BREZILLON Well, for this v2 as well: Acked-by: Nicolas Ferre (even if it is too late) Bye, --- drivers/usb/host/ohci-at91.c | 23 +-- 1 file changed, 21 insertions(+), 2 deletions

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

2013-08-12 Thread Nicolas Ferre
high). In this case we have to use 'handle_level_irq' which mask the interrupt until the handle has treated it. Signed-off-by: Boris BREZILLON Nicolas/Jean-Christophe: any opinion on this patch? Back online: Acked-by: Nicolas Ferre (maybe too late though) Thanks for fixing this.

Re: [PATCH] usb: gadget: at91_udc: add usb_clk for transition to common clk framework

2013-08-13 Thread Nicolas Ferre
On 12/08/2013 22:42, boris brezillon : Hello Nicolas, On 12/08/2013 15:52, Nicolas Ferre wrote: On 01/08/2013 08:18, Boris BREZILLON : The AT91 PMC (Power Management Controller) provides an USB clock used by USB Full Speed host (ohci) and USB Full Speed device (udc). The usb drivers (ohci and

Re: [PATCH] ARM: at91: add missing uart clocks DT entries

2013-08-14 Thread Nicolas Ferre
On 07/08/2013 18:52, Douglas Gilbert : On 13-08-07 12:29 PM, Boris BREZILLON wrote: Add clocks to clock lookup table for uart DT entries. Signed-off-by: Boris BREZILLON Tested-by: Douglas Gilbert Acked-by: Nicolas Ferre And stacked on at91-3.11-fixes. I will send it upstream soon (we

[GIT PULL] at91: fixes for 3.11 #1

2013-08-14 Thread Nicolas Ferre
amount of memory was specified for 9n12ek Boris BREZILLON (1): ARM: at91: add missing uart clocks DT entries Nicolas Ferre (2): ARM: at91/DT: at91sam9x5ek: fix USB host property to enable port C ARM: at91/DT: fix

[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 Signed-off-by: Nicolas Ferre --- Documentation/devicetree/bindings/net/macb.txt | 2 ++ drivers/net/ethernet/cadence/macb.c| 15 +-- drivers/net/ethernet/cadence/macb.h| 5 + 3 files

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 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 Cadence MACB/GEM and is

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 wrote: Commit 749a2b6 (net/macb: clear tx/rx completion flags in ISR) introduces clear-on-write on ISR

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

2013-05-14 Thread Nicolas Ferre
actually activate this clear-on-write behavior on ISR. Reported-by: Hein Tibosch Signed-off-by: Nicolas Ferre --- v2: - use DCFG1 bit 23 integration information instead of device tree compatibility string to retreive information about c-o-r vs. c-o-w ISR. - move configuration in

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

2013-05-14 Thread Nicolas Ferre
Signed-off-by: Nicolas Ferre --- 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/devicetree/bindings/net

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

2013-05-15 Thread Nicolas Ferre
g non-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/m

[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 --- 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/net/ethernet/cadence

[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 --- drivers

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

2013-05-15 Thread Nicolas Ferre
pointers and capability mask are immediately after that as they are also used in the hot path. Move the spinlock before regs since they are usually used together. Signed-off-by: Havard Skinnemoen [nicolas.fe...@atmel.com: adapt to newer kernel] Signed-off-by: Nicolas Ferre --- drivers/net

[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: [PATCH] ARM: at91: remove unused dbgu_readl() macro

2013-04-08 Thread Nicolas Ferre
On 04/03/2013 11:25 AM, Nicolas Ferre : > Signed-off-by: Nicolas Ferre I stack this up on at91-3.10-cleanup right now. > --- > arch/arm/mach-at91/include/mach/at91_dbgu.h | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/arch/arm/mach-at91/include/mach/at91_dbgu.h

Re: [PATCH 1/2] ARM: at91/setup: fix trivial typos

2013-04-08 Thread Nicolas Ferre
On 04/07/2013 04:49 PM, Johan Hovold : > Fix a few trivial typos in panic, warning and debug messages. > > Signed-off-by: Johan Hovold Acked-by: Nicolas Ferre > --- > arch/arm/mach-at91/setup.c | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > di

Re: [PATCH 2/2] ARM: at91: remove trailing semicolon from macros

2013-04-08 Thread Nicolas Ferre
On 04/07/2013 04:49 PM, Johan Hovold : > Remove trailing semicolon from register-access macros. > > Signed-off-by: Johan Hovold Acked-by: Nicolas Ferre Now in at91-3.10-cleanup. Thanks, > --- > arch/arm/mach-at91/at91_rstc.h| 2 +- > arch/arm/mach

Re: [GIT PULL] at91: DT changes for 3.10 #3

2013-04-09 Thread Nicolas Ferre
On 04/04/2013 06:59 PM, Nicolas Ferre : > Arnd, Olof, > > Here is the refreshed pull-request for AT91 that is dedicated to Device Tree > modifications. It is stacked on the material that you already have > for 3.10 in your arm-soc/at91/dt branch. > Following our discussion with

[GIT PULL] at91: little cleanup for 3.10 #3

2013-04-09 Thread Nicolas Ferre
) Trivial typos and some macros removal & modification Johan Hovold (2): ARM: at91/setup: fix trivial typos ARM: at91: remove trailing semicolon from macros Nicolas Ferre (1):

[PATCH] mmc: atmel-mci: remove include

2013-04-09 Thread Nicolas Ferre
Header file not needed anymore as we have removed the calls to cpu_is_xxx() macro. Signed-off-by: Nicolas Ferre --- drivers/mmc/host/atmel-mci.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/mmc/host/atmel-mci.c b/drivers/mmc/host/atmel-mci.c index e75774f..08e2b92 100644 --- a

[PATCH] ARM: at91: change "Unknown" qualifier SoC subtype handling

2013-04-09 Thread Nicolas Ferre
An AT91 SoC that doesn't have a subtype is shown as "Unknown" in the Linux log message which is not correct. This was leading to confusion so, add a "none" qualifier to the subtype property and set this one in the appropriate cases. Signed-off-by: Nicolas Ferre --- a

linux-next build error (at91) - use of bool in mach/arch.h

2013-04-30 Thread Nicolas Ferre
e/asm/mach/arch.h @@ -8,6 +8,8 @@ * published by the Free Software Foundation. */ +#include + #ifndef __ASSEMBLY__ struct tag; or if a better option would be to re-arrange the include directives in various at91xxx_devices.c files? Thanks, bye, -- Nicolas Ferre -- To unsubscribe from

[PATCH] ARM: add the "bool" type definition to asm/mach/arch.h

2013-04-30 Thread Nicolas Ferre
/at91sam9260_devices.c:12:0: arch/arm/include/asm/mach/arch.h:46:2: error: expected specifier-qualifier-list before "bool" So, we add the definition of "bool" by including the linux/types.h file to asm/mach/arch.h and make it self-contained. Signed-off-by: Nicolas Ferre --- arch/

Re: linux-next build error (at91) - use of bool in mach/arch.h

2013-04-30 Thread Nicolas Ferre
On 04/30/2013 01:58 PM, Stefano Stabellini : > On Tue, 30 Apr 2013, Geert Uytterhoeven wrote: >> On Tue, Apr 30, 2013 at 11:33 AM, Nicolas Ferre >> wrote: >>> So, I am wondering if the best correction is to add the types.h header file >>> in the asm/mach/arch

Re: [PATCH v6 01/16] spi/spi-atmel: fix probing failure after xfer->speed_hz set

2013-05-02 Thread Nicolas Ferre
d, yes I can find it here: http://git.secretlab.ca/?p=linux.git;a=commit;h=3d3522604a5557e80fdcab61c54bd04eaf15b525 Grant, Mark, Can you tell us if this SPI patch will be merged upstream using one of your paths? Best regards, -- Nicolas Ferre -- To unsubscribe from this list: send the line "unsubscribe linux-ke

Re: [PATCH 1/2] dma: at_hdmac: remove unnecessary platform_set_drvdata()

2013-05-06 Thread Nicolas Ferre
driver data to NULL. Signed-off-by: Jingoo Han Acked-by: Nicolas Ferre --- drivers/dma/at_hdmac.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drivers/dma/at_hdmac.c b/drivers/dma/at_hdmac.c index e923cda..c093ab7 100644 --- a/drivers/dma/at_hdmac.c +++ b/drivers

Re: [PATCH v6 01/16] spi/spi-atmel: fix probing failure after xfer->speed_hz set

2013-05-07 Thread Nicolas Ferre
ker...@lists.infradead.org; >> plagn...@jcrosoft.com; Lin, JM; spi-devel-gene...@lists.sourceforge.net; >> linux-kernel@vger.kernel.org >> Subject: Re: [PATCH v6 01/16] spi/spi-atmel: fix probing failure after >> xfer->speed_hz set >> >> On Thu, May 02, 2013 at 12:3

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

2013-05-10 Thread Nicolas Ferre
map_single' drivers/built-in.o: In function `at91ether_close': drivers/net/ethernet/cadence/at91_ether.c:145: undefined reference to `dma_free_coherent' Signed-off-by: Geert Uytterhoeven Cc: Nicolas Ferre Acked-by: Nicolas Ferre Cc: David S. Miller Cc: net...@vger.kernel.o

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

2013-05-10 Thread Nicolas Ferre
rs/net/ethernet/cadence/macb.c:838: undefined reference to `dma_map_single' Signed-off-by: Geert Uytterhoeven Cc: Nicolas Ferre Acked-by: Nicolas Ferre Cc: David S. Miller Cc: net...@vger.kernel.org --- drivers/net/ethernet/cadence/Kconfig |1 + 1 files changed, 1 insertions(+

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

2013-05-10 Thread Nicolas Ferre
From: Ludovic Desroches Use generic DMA DT helper. Platforms booting with or without DT populated are both supported. Signed-off-by: Ludovic Desroches Acked-by: Jean-Christophe PLAGNIOL-VILLARD Acked-by: Nicolas Ferre --- Hi Chris, This patch is part of a series by Ludovic and is adding the

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

2013-05-10 Thread Nicolas Ferre
From: Ludovic Desroches 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 Signed-off-by: Nicolas Ferre --- arch/arm/boot/dts/sama5d3.dtsi| 10 -- arch/arm/boot/dts

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 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 Signed-off-by: Nicolas Ferre And stacked on at91-3.10-fixes branch

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

2013-05-10 Thread Nicolas Ferre
Signed-off-by: Nicolas Ferre --- 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 +1120,7 @@ static int

[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 --- drivers/dma/at_hdmac.c | 2

[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 --- drivers/dma/at_hdmac.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/dma/at_hdmac.c b/drivers/dma

Re: [PATCH v3 1/6] at_hdmac: move to generic DMA binding

2013-04-29 Thread Nicolas Ferre
On 04/23/2013 05:44 AM, Vinod Koul : > On Mon, Apr 22, 2013 at 12:22:32PM +0200, Nicolas Ferre wrote: >> On 04/19/2013 11:11 AM, ludovic.desroc...@atmel.com : >>> From: Ludovic Desroches > >>> +#ifdef CONFIG_OF >>> +static bool at_dma_filter(struct dma

Re: [rtc-linux] Re: [PATCH v2 0/5] ARM: at91: fix hanged boot

2013-04-12 Thread Nicolas Ferre
if an RTC or RTT-alarm goes >>>> off after a non-clean shutdown. >>>> >>>> To fix this I propose that arch-code should mask the relevant interrupts >>>> before enabling the system interrupt at early boot, and this is what >>>> the fifth

[PATCH] net/macb: fix error return code in macb_probe()

2013-04-15 Thread Nicolas Ferre
Fix to return a negative error code from the error handling case instead of 0, as returned elsewhere in this function. Original-idea-by: Signed-off-by: Nicolas Ferre --- Hi, This fix was written originally for at91_ether.c and I found it interesting to adapt it to macb. Thanks to Wei Yongjun

[PATCH] dmaengine: at_hdmac: fix race condition in atc_advance_work()

2013-04-16 Thread Nicolas Ferre
efore calling atc_complete_all() which makes the BUG_ON() "protection" useless. Signed-off-by: Ludovic Desroches Signed-off-by: Nicolas Ferre --- Linus, We have identified a race condition on the Atmel ARM-based AT91 DMA controller driver that leads to hitting a BUG_ON() directive. T

[GIT PULL] at91: cleanup (pinctrl macros, defconfigs) for 3.11 #1

2013-05-17 Thread Nicolas Ferre
44 include/dt-bindings/pinctrl/at91.h -- 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/lkml/

Re: [PATCH] Change internal SRAM memory type to "MT_MEMORY_SO"

2013-05-21 Thread Nicolas Ferre
type. It tested on sama5d3xek boards. It based on v3.10-rc1. Best Regards, Wenyou Yang Wenyou Yang (1): ARM: at91: Fix: Change internal SRAM memory type to "MT_MEMORY_SO" arch/arm/mach-at91/setup.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Bye, -- Nicolas Ferre --

Re: [PATCH] ARM: at91: Fix: Change internal SRAM memory type to "MT_MEMORY_SO"

2013-05-21 Thread Nicolas Ferre
On 20/05/2013 03:06, Wenyou Yang : Signed-off-by: Wenyou Yang Acked-by: Nicolas Ferre And stacked on at91-3.10-fixes. Best regards, --- arch/arm/mach-at91/setup.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-at91/setup.c b/arch/arm/mach-at91

Re: [PATCH 1/3] ARM: at91: move at91 aic driver to drivers/irqchip

2013-05-23 Thread Nicolas Ferre
forced to play... Anyway, Boris I do like the intention of this patch series and be sure that we will integrate it as soon as it is ready. Bye, -- Nicolas Ferre -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kerne

Re: [PATCH] ARM: at91/dt: fix macb pinctrl_macb_rmii_mii_alt definition

2013-05-24 Thread Nicolas Ferre
On 23/05/2013 18:01, Boris BREZILLON : The PA24 pin is wrongly assigned to peripheral B. In the current config there is 2 ETX3 pins (PA11 and PA24) and no ETXER pin (PA22). Signed-off-by: Boris BREZILLON Nice catch! Acked-by: Nicolas Ferre and stacked on at91-3.10-fixes and add the stable

Re: [PATCH] ARM: at91/dt: add pinctrl definition for at91 tc blocks

2013-05-24 Thread Nicolas Ferre
base on a cleanup I did preset on our git tag at91-3.11-cleanup As we announce Mandaotory for 3.11 as I introduce Macro fro DT Boris, Hold on. I may have the solution for you. Give me some time and we may have the automatic generation for updating your patch. Bye, -- Nicolas Ferre -- To u

[GIT PULL] at91: fixes for 3.10 #2

2013-05-24 Thread Nicolas Ferre
-- arch/arm/mach-at91/include/mach/at91_pmc.h | 6 +++--- 4 files changed, 5 insertions(+), 10 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 inf

Re: [GIT PULL] at91: cleanup (pinctrl macros, defconfigs) for 3.11 #1

2013-05-24 Thread Nicolas Ferre
On 17/05/2013 16:02, Nicolas Ferre : Arnd, Olof, Here is the first AT91 cleanup pull-request for 3.11. I is dominated by a big update of DT files because of the move to macros in pinctrl. As we plan to make this "cleanup" series the base of all our work on AT91 for 3.11, we would like

Re: [PATCH v3] ARM: at91: Fix link breakage when !CONFIG_PHYLIB

2013-05-27 Thread Nicolas Ferre
e("atmel,sama5d3xcm") && IS_BUILTIN(CONFIG_PHYLIB)) phy_register_fixup_for_uid(PHY_ID_KSZ9021, MICREL_PHY_ID_MASK, ksz9021rn_phy_fixup); -- Nicolas Ferre -- To unsubscribe from this list: send the line "unsubscribe linux-kernel"

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

2013-05-28 Thread Nicolas Ferre
whereas the others of the series are not commented. So maybe, I can resend patches 1, 2 for making this big enhancement go forward (as it is in review process for quite a long time...). David, do you want me to resend or can you retrieve these v3 patches in patchwork? Best regards, -- Nicolas

[GIT PULL] at91: soc for 3.10 #2

2013-03-27 Thread Nicolas Ferre
h/arm/mach-at91/include/mach/sama5d3.h create mode 100644 arch/arm/mach-at91/sama5d3.c -- 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/majo

Re: [GIT PULL] at91: fixes for 3.9-rc #2

2013-03-27 Thread Nicolas Ferre
On 03/26/2013 12:05 PM, Arnd Bergmann : > On Tuesday 26 March 2013, Nicolas Ferre wrote: >> Indeed, at first sight its looks like a nice solution. But I wonder if >> we add several nodes in this kind of .dtsi files, we may end up with >> mess between APB peripherals and boa

Re: [GIT PULL] at91: soc for 3.10 #2

2013-03-28 Thread Nicolas Ferre
On 03/27/2013 08:01 PM, Arnd Bergmann : > On Wednesday 27 March 2013, Nicolas Ferre wrote: > >> >> Introduction of new Atmel Cortex-A5: SAMA5D3 family. >> - Modify AT91 Kconfig to plit ARMv4/5 and ARMv7 arc

[GIT PULL v2] at91: soc for 3.10 #2

2013-03-28 Thread Nicolas Ferre
Arnd, Olof, A pull-request for 3.10 that is dedicated to the introduction of Atmel's new Cortex-A5 based product: SAMA5D3. This tag is built on top of the material already provided that resides on your side in at91/cleanup branch. The second revision of this pull-request includes a patch from Arnd

Re: [PATCH] rtc: rtc-at91rm9200: use a variable for storing IMR

2013-03-28 Thread Nicolas Ferre
On 03/28/2013 10:57 AM, Johan Hovold : > On Tue, Mar 26, 2013 at 05:09:59PM -0400, Douglas Gilbert wrote: >> On 13-03-26 03:27 PM, Johan Hovold wrote: >>> On Fri, Mar 15, 2013 at 06:37:12PM +0100, Nicolas Ferre wrote: >>>> On some revisions of AT91 SoCs, the R

[GIT PULL] at91: tiny cleanup for 3.10 #2

2013-03-29 Thread Nicolas Ferre
Arnd, Olof, This is a one-line cleanup patch. I have made a pull-request anyway because I do not want to mix it with my upcoming DT pull-request. I guess that you can simply cherry-pick the patch if you want. It is based on material that you already have in arm-soc/at91/cleanup branch. Thanks, be

[GIT PULL] at91: DT changes for 3.10 #2

2013-03-29 Thread Nicolas Ferre
t/dts/at91sam9x5ek.dtsi | 7 +- 13 files changed, 230 insertions(+), 12 deletions(-) create mode 100644 arch/arm/boot/dts/ariag25.dts -- 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 majordom

Re: [PATCH] rtc: rtc-at91rm9200: use a variable for storing IMR

2013-03-29 Thread Nicolas Ferre
On 03/28/2013 07:20 PM, Douglas Gilbert : > On 13-03-28 05:57 AM, Johan Hovold wrote: >> On Tue, Mar 26, 2013 at 05:09:59PM -0400, Douglas Gilbert wrote: >>> On 13-03-26 03:27 PM, Johan Hovold wrote: >>>> On Fri, Mar 15, 2013 at 06:37:12PM +0100, Nicolas Ferre wro

Re: [PATCH v3 5/7] USB: EHCI: make ehci-atmel a separate driver

2013-03-30 Thread Nicolas Ferre
ost/Kconfig >> index 01c1acb..8c564aa 100644 >> --- a/drivers/usb/host/ehci-atmel.c >> +++ b/drivers/usb/host/ehci-atmel.c I missed the patch itself but I reviewed it on the mailing-list archive. So, here is my: Acked-by: Nicolas Ferre Thanks a lot for having taking c

Re: [PATCH 0/5] at91: atmel_lcdfb: regression fixes and cpu_is removal

2013-03-08 Thread Nicolas Ferre
On 02/10/2013 07:45 PM, Johan Hovold : > On Sun, Feb 10, 2013 at 1:47 AM, Olof Johansson wrote: >> On Fri, Feb 08, 2013 at 05:35:13PM +0100, Nicolas Ferre wrote: >>> These patches fix a regression in 16-bpp support for older SOCs which >>> use IBGR:555 rather than BG

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