[PATCH] usb: gadget: atmel_usba_udc: add ep capabilities support on device tree binding

2015-09-18 Thread Nicolas Ferre
device tree as well. Signed-off-by: Sylvain Rochet Fixes: 47bef3865115 ("usb: gadget: atmel_usba_udc: add ep capabilities support") Signed-off-by: Nicolas Ferre --- Felipe, As you've just requested, here is the same patch sent to linux-usb ml. I had added the "Fixes" and my

Re: [PATCH] ARM: at91: debug: use DEBUG_UART_PHYS

2015-09-18 Thread Nicolas Ferre
t; + rm9200, 9260/9g20, 0xf2000xfefff200 DBGU > + 9261/9g10, 9rl > + 9263, 9g45, sama5d3 0xee000xfeffee00 DBGU > + sama5d4 0xfc00c0000xfb00c000 USART3 > +

Re: [PATCH] usb: gadget: at91_udc: move at91_udc_data in at91_udc.h

2015-09-18 Thread Nicolas Ferre
Le 10/08/2015 16:46, Alexandre Belloni a écrit : > struct at91_udc_data is now only used inside the driver, move it to its > include. > > Signed-off-by: Alexandre Belloni Acked-by: Nicolas Ferre Thanks. > --- > drivers/usb/gadget/udc/at91_udc.h | 8 > includ

Re: [PATCH] ARM: at91: remove useless includes in platform_data/atmel.h

2015-09-18 Thread Nicolas Ferre
Le 10/08/2015 16:41, Alexandre Belloni a écrit : > include/linux/platform_data/atmel.h has a lot of useless includes, remove > them. > > Signed-off-by: Alexandre Belloni Acked-by: Nicolas Ferre And I take it in at91-4.4-soc branch. Thanks, bye. > --- > include/linux/pla

Re: [PATCH] usb: gadget: atmel: remove useless include

2015-09-18 Thread Nicolas Ferre
Le 10/08/2015 16:29, Alexandre Belloni a écrit : > Definitions from linux/platform_data/atmel.h are not used, remove the > include. > > Signed-off-by: Alexandre Belloni Acked-by: Nicolas Ferre > --- > drivers/usb/gadget/udc/atmel_usba_udc.c | 1 - > 1 file changed, 1

Re: [PATCH] spi: atmel: remove warning when !CONFIG_PM_SLEEP

2015-09-18 Thread Nicolas Ferre
unused-function] > drivers/spi/spi-atmel.c:1741:12: warning: ‘atmel_spi_resume’ defined but not > used [-Wunused-function] > > Enclose both atmel_spi_suspend and atmel_spi_resume in #ifdef > CONFIG_PM_SLEEP/#endif to solve that. > > Signed-off-by: Alexandre Belloni No problem

Re: [PATCH] MAINTAINERS: explicitly add Atmel SAMA5

2015-09-18 Thread Nicolas Ferre
Le 02/09/2015 18:24, Alexandre Belloni a écrit : > Atmel SAMA5 SoCs are also supported through mach-at91. > > Signed-off-by: Alexandre Belloni Absolutely: Acked-by: Nicolas Ferre Thanks. > --- > MAINTAINERS | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH] tty/serial: at91: move ATMEL_MAX_UART

2015-09-18 Thread Nicolas Ferre
i Okay: Acked-by: Nicolas Ferre > --- > drivers/tty/serial/atmel_serial.c | 6 ++ > include/linux/platform_data/atmel.h | 6 -- > 2 files changed, 6 insertions(+), 6 deletions(-) > > diff --git a/drivers/tty/serial/atmel_serial.c > b/drivers/tty/serial

Re: [PATCH linux-next] usb: gadget: atmel_usba_udc: add ep capabilities support on device tree binding

2015-09-18 Thread Nicolas Ferre
ew capabilities model when driver is > bound to a device tree as well. > > Signed-off-by: Sylvain Rochet Acked-by: Nicolas Ferre With this additional tag: Fixes: 47bef3865115 ("usb: gadget: atmel_usba_udc: add ep capabilities support") Felipe, Greg, It is considered as a fix fo

Re: [PATCH] ARM: at91/dt: ov2640: add hsync/vsync-active property

2015-09-18 Thread Nicolas Ferre
> remote-endpoint = <&ov2640_0>; > bus-width = <8>; > + vsync-active = <1>; > + hsync-active

Re: [PATCH 2/2] ARM: at91: at91sam9n12ek/dts: fix the led labels name

2015-09-18 Thread Nicolas Ferre
Le 10/09/2015 17:24, Alexandre Belloni a écrit : > Hi, > > On 10/09/2015 at 17:09:47 +0200, Nicolas Ferre wrote : >> From: Josh Wu >> >> Correct the led labels in at91sam9n12ek. >> >> Signed-off-by: Josh Wu >> --- >> arch/arm/boot/dts/at91sam9

[PATCH] ARM: at91: at91sam9n12ek: disable i2c1

2015-09-10 Thread Nicolas Ferre
From: Bo Shen No device connect to i2c1, so remove it to keep it as disabled. Signed-off-by: Bo Shen Signed-off-by: Nicolas Ferre --- arch/arm/boot/dts/at91sam9n12ek.dts | 4 1 file changed, 4 deletions(-) diff --git a/arch/arm/boot/dts/at91sam9n12ek.dts b/arch/arm/boot/dts

[PATCH 2/2] ARM: at91: at91sam9n12ek/dts: fix the led labels name

2015-09-10 Thread Nicolas Ferre
From: Josh Wu Correct the led labels in at91sam9n12ek. Signed-off-by: Josh Wu --- 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 efa75064d38a..186a1705f

[PATCH 1/2] sama5d33ek: enable led D3

2015-09-10 Thread Nicolas Ferre
From: Josh Wu Signed-off-by: Josh Wu --- arch/arm/boot/dts/sama5d33ek.dts | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/sama5d33ek.dts b/arch/arm/boot/dts/sama5d33ek.dts index cbd6a3ff1545..48d7445828dd 100644 --- a/arch/arm/boot/dts/sama5d33ek.dts +++ b/arch/arm/

[PATCH] ARM: at91/dt: sama5d3 xplained: disable pmic

2015-09-10 Thread Nicolas Ferre
As PMIC act8865 can disturb communication on i2c1, and as it should be setup correctly then its i2c interface disabled by bootloader, we simply disregard it in DT. Signed-off-by: Nicolas Ferre --- arch/arm/boot/dts/at91-sama5d3_xplained.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH 3/3] power: reset: at91-shdwc: add new shutdown controller driver

2015-09-10 Thread Nicolas Ferre
some values are encoded in a configuration structure. Signed-off-by: Nicolas Ferre --- drivers/power/reset/Kconfig | 8 ++ drivers/power/reset/Makefile | 1 + drivers/power/reset/at91-shdwc.c | 263 +++ 3 files changed, 272 insertions(+) create mode

[PATCH 2/3] ARM: at91/dt: shdwc binding: add new shutdown controller documentation

2015-09-10 Thread Nicolas Ferre
The new shutdown controller compatible with sama5d2 has a new binding documentation and properties. Signed-off-by: Nicolas Ferre --- .../devicetree/bindings/arm/atmel-at91.txt | 52 ++ 1 file changed, 52 insertions(+) diff --git a/Documentation/devicetree/bindings

[PATCH 1/3] power: reset: at91-reset/trivial: driver applies to SAMA5 family as well

2015-09-10 Thread Nicolas Ferre
This diver doesn't applies only on SAM9 SoC families but on SAMA5 families as well. Signed-off-by: Nicolas Ferre --- drivers/power/reset/at91-reset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/reset/at91-reset.c b/drivers/power/reset/at91-reset.c

[PATCH] drm: atmel-hlcdc: add support for sama5d2 SoCs

2015-09-09 Thread Nicolas Ferre
As the hardware description for this chip is the same as the sama5d4, we use this SoC structures for layers and DC descriptions. Thus only 2 lines are added to the atmel_hlcdc_of_match table. The compatible string is already documented in the parent MFD driver's binding. Signed-off-by: Ni

[PATCH] pwm: atmel-hlcdc: add sama5d2 SoC support.

2015-09-09 Thread Nicolas Ferre
Add sama5d2 hlcdc backlight PWM support. This chip doesn't have to deal with an errata, so it's a simple addition of the mfd compatible string. Signed-off-by: Nicolas Ferre --- drivers/pwm/pwm-atmel-hlcdc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/pwm/pwm-atmel

Re: [PATCH linux-next v9 2/3] mfd: devicetree: add bindings for Atmel Flexcom

2015-09-03 Thread Nicolas Ferre
t; Acked-by: Boris Brezillon > Acked-by: Alexandre Belloni After all, this approach is far more simple and obvious than the use of the "reg" property, so coming back to this "atmel,flexcom-mode" option make a lot of sense. Acked-by: Nicolas Ferre Bye, > --- >

Re: [PATCH linux-next v9 1/3] mfd: atmel-flexcom: create include file with macros used by DT bindings

2015-09-03 Thread Nicolas Ferre
yrille Pitchen Acked-by: Nicolas Ferre > --- > include/dt-bindings/mfd/atmel-flexcom.h | 16 > 1 file changed, 16 insertions(+) > create mode 100644 include/dt-bindings/mfd/atmel-flexcom.h > > diff --git a/include/dt-bindings/mfd/atmel-flexcom.h > b/include/d

Re: [PATCH] ARM: at91/dt: corrections to i2c1 declaration to sama5d4

2015-08-26 Thread Nicolas Ferre
Le 26/08/2015 10:45, Nicolas Ferre a écrit : > From: Holger Busse > > Correcting the dma declaration for i2c1 dma. > > Signed-off-by: Holger Busse > Signed-off-by: Nicolas Ferre Oh, and I forgot to add: Fixes: 4cc7cdf35c5f ("ARM: at91/dt: add i2c1 declarati

[PATCH] ARM: at91/dt: corrections to i2c1 declaration to sama5d4

2015-08-26 Thread Nicolas Ferre
From: Holger Busse Correcting the dma declaration for i2c1 dma. Signed-off-by: Holger Busse Signed-off-by: Nicolas Ferre --- arch/arm/boot/dts/sama5d4.dtsi | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/sama5d4.dtsi b/arch/arm/boot/dts/sama5d4

[PATCH] clk: at91: add audio pll clock driver

2015-07-31 Thread Nicolas Ferre
have different enable bits and different dividers and divider formula, they are handled by two different drivers. Each of them would modify the rate of the main audio pll parent. Signed-off-by: Nicolas Ferre --- .../devicetree/bindings/clock/at91-clock.txt | 38 +++ drivers/clk/at91/Makefile

[PATCH v5] clk: at91: add generated clock driver

2015-07-31 Thread Nicolas Ferre
asynchronous part or having more options in frequency. Signed-off-by: Nicolas Ferre --- Changes in v5: - remove the protection of parent_id: won't happen with correct DT - update DT documentation to add the 6th clock - remove the Ack from Boris: better to add it again after latest modifications Ch

Re: [PATCH v3 5/5] mtd: atmel-quadspi: add driver for Atmel QSPI controller

2015-07-31 Thread Nicolas Ferre
prepare_enable(aq->clk); > + if (err) { > + dev_err(&pdev->dev, "failed to enable the peripheral clock\n"); > + goto exit; > + } > + > + /* Request the IRQ */ > + irq = platform_get_irq(pdev, 0); > + if (irq <

Re: [PATCH v3 4/5] Documentation: atmel-quadspi: add binding file for Atmel QSPI driver

2015-07-31 Thread Nicolas Ferre
Le 27/07/2015 10:59, Cyrille Pitchen a écrit : > This patch documents the DT bindings for the driver of the Atmel QSPI > controller embedded inside sama5d2x SoCs. > > Signed-off-by: Cyrille Pitchen Yes, it seems good: Acked-by: Nicolas Ferre > --- > .../devicetree/

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

2015-07-31 Thread Nicolas Ferre
ot;) > > from the arm-soc tree and commit: > > a6e41317b9b8 ("ARM: at91/soc: add basic support for new sama5d2 SoC") > > from the at91 tree. > > I fixed it up (see below) and can carry the fix as necessary (no action > is required). The merge is correct. Tha

Re: [PATCH linux-next 1/1] tty/serial: at91: fix I/O accesses on RHR and THR for AVR32

2015-07-31 Thread Nicolas Ferre
,7 +2311,7 @@ static int atmel_poll_get_char(struct uart_port *port) >> while (!(atmel_uart_readl(port, ATMEL_US_CSR) & ATMEL_US_RXRDY)) >> cpu_relax(); >> >> -return atmel_uart_readb(port, ATMEL_US_RHR); >> +return atmel_uart_read_char(port); >>

[PATCH] ARM: at91: at91_dt_defconfig: enable ISI and ov2640 support

2015-07-30 Thread Nicolas Ferre
From: Josh Wu Add Atmel-isi and ov2640 driver in defconfig Signed-off-by: Josh Wu [nicolas.fe...@atmel.com: make SOC_CAMERA_OV2640 selected as a module] Signed-off-by: Nicolas Ferre --- Arnd, Olof, Kevin, This is the only "defconfig" patch that I have for now. Can you please take

[PATCH v3] ARM: at91/soc: add basic support for new sama5d2 SoC

2015-07-30 Thread Nicolas Ferre
Add Kconfig entries, header file changes and addition to the documentation. The early debug infrastructure is also added for easy development. Signed-off-by: Ludovic Desroches Signed-off-by: Nicolas Ferre Acked-by: Alexandre Belloni --- Arnd, Olof, Kevin, I'm re-sending this patch as a s

[GIT PULL] at91: dt for 4.3 #1

2015-07-30 Thread Nicolas Ferre
des for at91sam9m10g45ek board ARM: at91/dt: sama5: update rstc to correct compatible string Ludovic Desroches (1): ARM: at91/dt: add basic dtsi for sama5d2 SoC Nicolas Ferre (1): ARM: at91/dt: add minimal sama5d2 Xplained board arch/arm/boot/dts/Makefile | 1 +

Re: [PATCH v2 2/2] ARM: at91: sama5/dt: update rstc to correct compatible string

2015-07-30 Thread Nicolas Ferre
Le 20/07/2015 14:37, Nicolas Ferre a écrit : > Le 20/07/2015 11:32, Josh Wu a écrit : >> They'll use "atmel,sama5d3-rstc" for reset function. >> >> Cc: devicet...@vger.kernel.org >> Signed-off-by: Josh Wu > > Acked-by: Nicolas Ferre > > And

Re: [PATCH linux-next 1/1] tty/serial: at91: fix I/O accesses on RHR and THR for AVR32

2015-07-30 Thread Nicolas Ferre
> Fixes: commit b5199d468177 ("tty/serial: at91: add support to FIFOs") In fact, this commit ID is in linux-next, so It might not apply to Linus' tree... > Signed-off-by: Cyrille Pitchen Now that Andy tested the patch: Acked-by: Nicolas Ferre Bye, > --- > Hi

Re: [PATCH v3 2/3] ARM: at91/dt: add basic dtsi for sama5d2 SoC

2015-07-30 Thread Nicolas Ferre
Le 30/07/2015 13:55, Nicolas Ferre a écrit : > From: Ludovic Desroches > > Only the basic support for this new Atmel Cortex-A5 SoC. A subset of the > peripherals is setup to allow booting. > IRQ, clocks, USB, crypto, timers, rtc, ethernet, spi/i2c and > uart/usart peripher

Re: [PATCH v2 2/2] ARM: at91: at91_dt_defconfig: enable ISI and ov2640 support

2015-07-30 Thread Nicolas Ferre
Le 28/07/2015 10:15, Josh Wu a écrit : > On 7/28/2015 3:37 PM, Nicolas Ferre wrote: >> Le 16/06/2015 12:08, Josh Wu a écrit : >>> Add Atmel-isi and ov2640 driver in defconfig >>> >>> Signed-off-by: Josh Wu >>> --- >>> >>> Chang

Re: [PATCH v2 1/2] ARM: at91: dts: add isi & ov2640 dt nodes for at91sam9m10g45ek board

2015-07-30 Thread Nicolas Ferre
gt; > I would say that the pinctrl is board specific so both pinctrl-names and > pinctrl-0 should go to at91sam9m10g45ek.dts I move it in the board file. Otherwise: Acked-by: Nicolas Ferre and stacked on top of at91-4.3-dt. Bye, -- Nicolas Ferre -- To unsubscribe from this list: send the line

[PATCH v3 3/3] ARM: at91/dt: add minimal sama5d2 Xplained board

2015-07-30 Thread Nicolas Ferre
Add minimal support for the new sama5d2 Xplained board. Only USB, spi/i2c, ethernet and uart/usart peripherals added. With this DTS file you can boot the board and begin to play with it. Rootfs on NFS and sd card have successfully been tested. Signed-off-by: Nicolas Ferre Acked-by: Alexandre

[PATCH v3 2/3] ARM: at91/dt: add basic dtsi for sama5d2 SoC

2015-07-30 Thread Nicolas Ferre
From: Ludovic Desroches Only the basic support for this new Atmel Cortex-A5 SoC. A subset of the peripherals is setup to allow booting. IRQ, clocks, USB, crypto, timers, rtc, ethernet, spi/i2c and uart/usart peripheral nodes are added. Signed-off-by: Ludovic Desroches Signed-off-by: Nicolas

[PATCH v3 0/3] ARM: at91: introducing Atmel sama5d2 SoC

2015-07-30 Thread Nicolas Ferre
i and i2c nodes - enable sdmmc0 - move to stdout-path for console Ludovic Desroches (1): ARM: at91/dt: add basic dtsi for sama5d2 SoC Nicolas Ferre (2): ARM: at91/soc: add basic support for new sama5d2 SoC ARM: at91/dt: add minimal sama5d2 Xplained board Documentation/arm/Atmel/R

[PATCH v3 1/3] ARM: at91/soc: add basic support for new sama5d2 SoC

2015-07-30 Thread Nicolas Ferre
Add Kconfig entries, header file changes and addition to the documentation. The early debug infrastructure is also added for easy development. Signed-off-by: Ludovic Desroches Signed-off-by: Nicolas Ferre Acked-by: Alexandre Belloni --- Changes in v3: - collect Ack by Alexandre Changes in v2

Re: [PATCH v4] clk: at91: add generated clock driver

2015-07-30 Thread Nicolas Ferre
Le 29/07/2015 09:15, Boris Brezillon a écrit : > Hi Nicolas, > > On Tue, 28 Jul 2015 18:08:05 +0200 > Nicolas Ferre wrote: > > >> +static void clk_generated_startup(struct clk_generated *gck) >> +{ >> +struct at91_pmc *pmc = gck->pmc; >

Re: [PATCH v2 2/3] ARM: at91/dt: add basic dtsi for sama5d2 SoC

2015-07-30 Thread Nicolas Ferre
Le 29/07/2015 17:02, Alexandre Belloni a écrit : > Hi, > > On 28/07/2015 at 12:25:50 +0200, Nicolas Ferre wrote : >> + >> +sdmmc0: sdio-host@a000 { >> +compatible = "atmel,sama5d2-sdhci"; >> +

Re: [PATCH 1/5] rtc: at91sam9: properly handle error case

2015-07-30 Thread Nicolas Ferre
Le 30/07/2015 02:24, Alexandre Belloni a écrit : > In case of a probe error, it is possible to abort after issuing > clk_prepare_enable(). Ensure the clock is disabled and unprepared in that > case. > > Signed-off-by: Alexandre Belloni To the whole series: Acked-by: Nicolas

[PATCH v4] clk: at91: add generated clock driver

2015-07-28 Thread Nicolas Ferre
asynchronous part or having more options in frequency. Signed-off-by: Nicolas Ferre Acked-by: Boris Brezillon --- Changes in v4: - protect stored parent_id from incoherency - use of of_count_phandle_with_args() - collect Ack tag from Boris Changes in v3: - rebase on top of next-20150727 - make use of

[PATCH v2 3/3] ARM: at91/dt: add minimal sama5d2 Xplained board

2015-07-28 Thread Nicolas Ferre
Add minimal support for the new sama5d2 Xplained board. Only USB, sd/mmc, spi/i2c, ethernet and uart/usart peripherals added. With this DTS file you can boot the board and begin to play with it. Rootfs on NFS and sd card have successfully been tested. Signed-off-by: Nicolas Ferre --- Changes in

[PATCH v2 1/3] ARM: at91/soc: add basic support for new sama5d2 SoC

2015-07-28 Thread Nicolas Ferre
Add Kconfig entries, header file changes and addition to the documentation. The early debug infrastructure is also added for easy development. Signed-off-by: Ludovic Desroches Signed-off-by: Nicolas Ferre --- Changes in v2: - change the meaningless config HAVE_AT91_GENERATED to

[PATCH v2 2/3] ARM: at91/dt: add basic dtsi for sama5d2 SoC

2015-07-28 Thread Nicolas Ferre
: Nicolas Ferre --- Changes in v2: - fix sdmmc clocks and memory range - add flexcom and audio Class D amplifier peripheral clock definitions - add qspi peripheral clock definitions - add more generated clock definitions - fix DMA definitions for crypto peripherals - add spi, i2c and rtc nodes arch

[PATCH v2 0/3] ARM: at91: introducing Atmel sama5d2 SoC

2015-07-28 Thread Nicolas Ferre
91/dt: add basic dtsi for sama5d2 SoC Nicolas Ferre (2): ARM: at91/soc: add basic support for new sama5d2 SoC ARM: at91/dt: add minimal sama5d2 Xplained board Documentation/arm/Atmel/README | 5 + .../devicetree/bindings/arm/atmel-at91.txt | 2 + arc

Re: [PATCH 1/3] ARM: at91/soc: add basic support for new sama5d2 SoC

2015-07-28 Thread Nicolas Ferre
Le 28/07/2015 10:54, Nicolas Ferre a écrit : > Le 29/06/2015 17:04, Alexandre Belloni a écrit : >> On 29/06/2015 at 14:46:51 +0200, Nicolas Ferre wrote : >>> Le 18/06/2015 17:21, Alexandre Belloni a écrit : >>>> Hi, >>>> >>>> On 18/06/2015 at

Re: [PATCH 1/3] ARM: at91/soc: add basic support for new sama5d2 SoC

2015-07-28 Thread Nicolas Ferre
Le 29/06/2015 17:04, Alexandre Belloni a écrit : > On 29/06/2015 at 14:46:51 +0200, Nicolas Ferre wrote : >> Le 18/06/2015 17:21, Alexandre Belloni a écrit : >>> Hi, >>> >>> On 18/06/2015 at 15:18:28 +0200, Nicolas Ferre wrote : >>>> dif

Re: [RESEND PATCH] pinctrl: at91: fix null pointer dereference

2015-07-28 Thread Nicolas Ferre
51.14] [] (vfs_read) from [] (SyS_read+0x40/0x94) > [ 51.14] [] (SyS_read) from [] > (ret_fast_syscall+0x0/0x3c) > [ 51.14] Code: eb010ec2 e30a0d08 e34c005a eb0ae5a7 (e5993000) > [ 51.15] ---[ end trace fb3c370da3ea4794 ]--- > > Signed-off-by: David Duec

Re: [PATCH v2 2/2] ARM: at91: at91_dt_defconfig: enable ISI and ov2640 support

2015-07-28 Thread Nicolas Ferre
X_WATCHDOG=y > CONFIG_SSB=m > +CONFIG_MEDIA_SUPPORT=y > +CONFIG_MEDIA_CAMERA_SUPPORT=y > +CONFIG_V4L_PLATFORM_DRIVERS=y > +CONFIG_SOC_CAMERA=y > +CONFIG_VIDEO_ATMEL_ISI=y > +CONFIG_SOC_CAMERA_OV2640=y I would select this camera driver as a module. Your thoughts? Bye, > CONFIG_FB=y >

Re: [PATCH 2/2] ARM: at91/dt: sama5d4: move ADC pinctrl to board device trees

2015-07-28 Thread Nicolas Ferre
Le 22/06/2015 09:45, Alexandre Belloni a écrit : > The ADC pinctrl is board specific, move it to the board device trees. > > Signed-off-by: Alexandre Belloni To the series: Acked-by: Nicolas Ferre > --- > arch/arm/boot/dts/at91-sama5d4_xplained.dts | 9 + > arch

Re: [PATCH v2 1/2] power: reset: at91: add sama5d3 reset function

2015-07-28 Thread Nicolas Ferre
in this patch: >>1. the sama5d3 reset function only need to write the rstc register >> and return. >>2. we can remove the code related with sama5d3 DDR controller as >> we don't use it at all. >> >> Signed-off-by: Josh Wu >> Acked-by: Nicolas Fer

Re: [RFCv2 2/3] dts: zynq: Add devicetree entry for Xilinx Zynq reset controller.

2015-07-28 Thread Nicolas Ferre
r example MACB/GEM is one example. Adding names to this node and >> extending driver to work properly with reset means that all others MACB >> users will be affected. Definitely this patch should be ACKed by Nicolas. Actually, I don't know why a reset property should be added to t

[PATCH v3] clk: at91: add generated clock driver

2015-07-27 Thread Nicolas Ferre
asynchronous part or having more options in frequency. Signed-off-by: Nicolas Ferre --- Changes in v3: - rebase on top of next-20150727 - make use of of_clk_parent_fill helper function - change determine_rate() according to new prototype Changes in v2: - adapt to new xxx_determine_rate() callback prototype

Re: [PATCH] video: fbdev: atmel: fix warning for const return value

2015-07-27 Thread Nicolas Ferre
ith avr32 builds with CONFIG_OF enabled, but > it doesn't seem to generate warnings for other arches. > > Reported-by: Fengguang Wu > Signed-off-by: Rob Herring > Cc: Nicolas Ferre Sure: Acked-by: Nicolas Ferre Thanks Rob! > Cc: Jean-Christophe Plagniol-Villard > C

Re: [PATCH v7 2/2] mfd: atmel-flexcom: add a driver for Atmel Flexible Serial Communication Unit

2015-07-24 Thread Nicolas Ferre
PTR_ERR(clk); >> + >> +err = clk_prepare_enable(clk); >> +if (err) >> +return err; >> + >> +/* >> + * Set the Operating Mode in the Mode Register: only the selected device >> + * is clocked. Hence, registers of the other serial device

Re: [PATCH v7 2/2] mfd: atmel-flexcom: add a driver for Atmel Flexible Serial Communication Unit

2015-07-24 Thread Nicolas Ferre
s. > > Also the Flexcom embeds FIFOs: the latest patches of the SPI, I2C and > USART drivers take advantage of this new feature. Acked-by: Nicolas Ferre Thank you. Bye, > Signed-off-by: Cyrille Pitchen > --- > drivers/mfd/Kconfig | 11 + > drivers/mfd/Ma

Re: [PATCH v7 1/2] mfd: devicetree: add bindings for Atmel Flexcom

2015-07-24 Thread Nicolas Ferre
= "atmel,sama5d2-flexcom"; >> +reg = <0xf8034000 0x200>; >> +clocks = <&flx0_clk>; >> +#address-cells = <2>; >> +#size-cells = <1>; >> +ranges = <1 0 0xf8034200 0x200 /* opmode 1: USART */ >>

Re: [NET-NEXT PATCH] net: macb: Change capability mask for jumbo support

2015-07-23 Thread Nicolas Ferre
Le 23/07/2015 12:14, Harini Katakam a écrit : > JUMBO and NO_GIGABIT_HALF have the same capability masks. > Change one of them. > > Signed-off-by: Harini Katakam Yes, indeed: Acked-by: Nicolas Ferre > --- > drivers/net/ethernet/cadence/macb.h |2 +- > 1 file chang

Re: [PATCH v2 2/2] ARM: at91: sama5/dt: update rstc to correct compatible string

2015-07-20 Thread Nicolas Ferre
Le 20/07/2015 11:32, Josh Wu a écrit : > They'll use "atmel,sama5d3-rstc" for reset function. > > Cc: devicet...@vger.kernel.org > Signed-off-by: Josh Wu Acked-by: Nicolas Ferre And we'll have to synchronize with the other patches. The best way to deal with

Re: [PATCH v4 4/5] tty/serial: at91: add support to FIFOs

2015-07-20 Thread Nicolas Ferre
ur consecutive data from RX FIFO. Also a 32bit access to THR > now allows to write four consecutive data into TX FIFO. So we MUST > use 8bit access whenever only one data have to be read/written at a > time. > > Signed-off-by: Cyrille Pitchen Acked-by: Nicolas Ferre Thanks! &

Re: [PATCH v4 3/5] tty/serial: at91: remove bunch of macros to access UART registers

2015-07-20 Thread Nicolas Ferre
Le 02/07/2015 15:18, Cyrille Pitchen a écrit : > This patch replaces the UART_PUT_*, resp. UART_GET_*, macros by > atmel_uart_writel(), resp. atmel_uart_readl(), inline function calls. > > Signed-off-by: Cyrille Pitchen Ok with this move: Acked-by: Nicolas Ferre > --- >

Re: [PATCH 1/2] power: reset: at91: add sama5d3 reset function

2015-07-20 Thread Nicolas Ferre
Le 20/07/2015 10:35, Josh Wu a écrit : > Hi, Maxime > > On 7/20/2015 3:52 PM, Maxime Ripard wrote: >> Hi Josh, >> >> On Mon, Jul 13, 2015 at 11:21:44AM +0800, Josh Wu wrote: >>> On 7/11/2015 12:12 AM, Nicolas Ferre wrote: >>>> Le 10/07/2015 14:

Re: [PATCH v3] mfd: atmel-hlcdc: implement config synchronization

2015-07-17 Thread Nicolas Ferre
resulting in unpredictable behavior. > > Hide the config synchronization stuff in a regmap implementation and use > this implementation instead of the generic mmio one. > > Signed-off-by: Boris Brezillon Yes, that implements the needed behavior for these registers... Acked-by:

Re: [PATCH 1/2] power: reset: at91: add sama5d3 reset function

2015-07-10 Thread Nicolas Ferre
Have you looked at the implementation of of_match_device? If that's > really a concern to you, you should actually avoid it. I agree: let's keep it simple and use of_match_device(). Bye, -- Nicolas Ferre -- To unsubscribe from this list: send the line "unsubscribe linux-kernel

Re: [PATCH 1/2] power: reset: at91: add sama5d3 reset function

2015-07-09 Thread Nicolas Ferre
ion for sama5d3 and >> later chips. As we don't use sama5d3 ddr controller, so remove it as >> well. >> >> Signed-off-by: Josh Wu >> Acked-by: Nicolas Ferre >> --- >> >> drivers/power/reset/at91-reset.c | 30 +- >&

Re: [PATCH 5/5] usb: gadget: atmel_usba_udc: add missing ret value check

2015-07-08 Thread Nicolas Ferre
Le 07/07/2015 16:02, Robert Baldyga a écrit : > Add missing return value check. In case of error print debug message > and return error code. > > Signed-off-by: Robert Baldyga Yes, it's indeed missing: Acked-by: Nicolas Ferre Thanks, bye. > --- > drivers/usb/gadget/u

Re: [PATCH] net: macb: Add SG support for Zynq SOC family

2015-07-06 Thread Nicolas Ferre
Le 06/07/2015 06:32, Punnaiah Choudary Kalluri a écrit : > Enable SG support for Zynq SOC family devices. > > Signed-off-by: Punnaiah Choudary Kalluri Acked-by: Nicolas Ferre > --- > drivers/net/ethernet/cadence/macb.c |6 ++ > 1 files changed, 2 insertio

Re: [RESEND PATCH 2/2] ARM: at91/dt: update udc compatible strings

2015-07-02 Thread Nicolas Ferre
Le 01/07/2015 22:35, Kevin Hilman a écrit : > Nicolas Ferre writes: > >> From: Boris Brezillon >> >> at91sam9g45, at91sam9x5 and sama5 SoCs should not use >> "atmel,at91sam9rl-udc" for their USB device compatible property since >> this compati

Re: [PATCH v2 1/1] dmaengine: at_xdmac: fix transfer data width in at_xdmac_prep_slave_sg()

2015-06-30 Thread Nicolas Ferre
ied, > the actual number of writes into THR must be set accordingly. > > Signed-off-by: Cyrille Pitchen > Fixes: 6d3a7d9e3ada ("dmaengine: at_xdmac: allow muliple dwidths when doing > slave transfers") > Cc: sta...@vger.kernel.org #4.0 and later Acked-by: Nicolas Fe

Re: [PATCH 1/1] dmaengine: at_xdmac: fix transfer data width in at_xdmac_prep_slave_sg()

2015-06-30 Thread Nicolas Ferre
/ > + desc->lld.mbr_cfg = (atchan->cfg & ~AT_XDMAC_CC_DWIDTH_MASK) | > + AT_XDMAC_CC_DWIDTH(fixed_dwidth); > dev_dbg(chan2dev(chan), >"%s: lld: mbr_sa=%pad, mbr_da=%pad, mbr_ubc=0x%08x\n", >

Re: [RESEND PATCH 1/2] pinctrl: change function behavior for per pin muxing controllers

2015-06-30 Thread Nicolas Ferre
. So Linus, do you confirm that we won't go further with this approach? We are pretty disappointed by the way this interaction with the pinctrl sub-system went. Best regards, -- Nicolas Ferre -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

Re: [PATCH linux-next v2 1/1] dmaengine: at_hdmac: fix residue computation

2015-06-29 Thread Nicolas Ferre
> transfer reaches the second (and last) period of the transfer, no more > data were received by the USART driver till the cyclic DMA transfer loops > back to the first period. > > Signed-off-by: Cyrille Pitchen Yes: Acked-by: Nicolas Ferre It turns out that some information that

Re: [PATCH linux-next v2 1/1] dmaengine: at_hdmac: fix residue computation

2015-06-29 Thread Nicolas Ferre
Le 19/06/2015 16:36, Jiří Prchal a écrit : > > > On 19.6.2015 15:21, Nicolas Ferre wrote: >> Le 18/06/2015 14:09, Jiří Prchal a écrit : >>> >>> >>> On 18.6.2015 13:25, Cyrille Pitchen wrote: >>>> >>>> Signed-off-by: Cyril

Re: [PATCH linux-next v2 4/4] tty/serial: at91: use 32bit writes into TX FIFO when DMA is enabled

2015-06-29 Thread Nicolas Ferre
DMA_SLAVE_BUSWIDTH_4_BYTES : > + DMA_SLAVE_BUSWIDTH_1_BYTE; > config.dst_addr = port->mapbase + ATMEL_US_THR; > config.dst_maxburst = 1; > > @@ -1823,6 +1856,9 @@ static int atmel_startup(struct uart_port *port) >

Re: [PATCH linux-next v2 3/4] tty/serial: at91: add support to FIFOs

2015-06-29 Thread Nicolas Ferre
define ATMEL_US_FIMR0xb0/* FIFO Interrupt Mask Register > */ > +#define ATMEL_US_FESR 0xb4/* FIFO Event Status Register */ > +#define ATMEL_US_TXFEF BIT(0) /* Transmit FIFO Empty Flag */ > +#define ATMEL_US_TXFFF

Re: [PATCH linux-next v2 2/4] tty/serial: at91: fix some macro definitions to fit coding style

2015-06-29 Thread Nicolas Ferre
ter chips. > > The patch also fix macro definitions in atmel_serial.c to replace > (port,v) by (port, v). > > Signed-off-by: Cyrille Pitchen Acked-by: Nicolas Ferre > --- > drivers/tty/serial/atmel_serial.c | 52 +- > include/linux/atmel_serial.h | 204 &g

Re: [PATCH linux-next v2 1/4] ARM: at91/dt: add a new DT property to support FIFOs on Atmel USARTs

2015-06-29 Thread Nicolas Ferre
n the programmer datasheet. > > Finally, on a given SoC, there can be several instances of USART with > different FIFO sizes. This explain why we'd rather use a dedicated DT > property than use the "compatible" property. > > Signed-off-by: Cyrille Pitchen Acked-by: Nico

Re: [PATCH 1/3] ARM: at91/soc: add basic support for new sama5d2 SoC

2015-06-29 Thread Nicolas Ferre
Le 18/06/2015 17:21, Alexandre Belloni a écrit : > Hi, > > On 18/06/2015 at 15:18:28 +0200, Nicolas Ferre wrote : >> diff --git a/Documentation/arm/Atmel/README b/Documentation/arm/Atmel/README >> index c53a19b4aab2..6650a8ffaa64 100644 >> --- a/Documentatio

[PATCH v2] clk: at91: add generated clock driver

2015-06-29 Thread Nicolas Ferre
asynchronous part or having more options in frequency. Signed-off-by: Nicolas Ferre --- Changes in v2: - adapt to new xxx_determine_rate() callback prototype - fix checkpatch errors and use __func__ - fix handling of clocks without clk-output-range property specified. Test if range.max is present before

Re: [PATCH] clk: at91: add generated clock driver

2015-06-22 Thread Nicolas Ferre
> > On Wed, 17 Jun 2015 15:23:29 +0200 > Nicolas Ferre wrote: > > > > >> + >> +static long clk_generated_determine_rate(struct clk_hw *hw, >> + unsigned long rate, >> +

Re: [PATCH linux-next v2 1/1] dmaengine: at_hdmac: fix residue computation

2015-06-19 Thread Nicolas Ferre
Le 18/06/2015 14:09, Jiří Prchal a écrit : > > > On 18.6.2015 13:25, Cyrille Pitchen wrote: >> >> Signed-off-by: Cyrille Pitchen > > Tested-by: Jiří Prchal > > Manually applied to 4.1-rc7 and it WORKS! Good piece of new indeed. Can you add your "T

[PATCH v2 3/4] net/macb: bindings doc: add sama5d2 compatibility sting

2015-06-18 Thread Nicolas Ferre
Add sama5d2 to the biding documentation for this use of the GEM IP. Signed-off-by: Nicolas Ferre --- Documentation/devicetree/bindings/net/macb.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/net/macb.txt b/Documentation/devicetree/bindings/net

[PATCH v2 2/4] net/macb: bindings doc/trivial: fix sama5d4 comment

2015-06-18 Thread Nicolas Ferre
On sama5d4, we only have a GEM IP that is configured to do 10/100 Mbits. So the use of "Gigabit" can be confusing. Signed-off-by: Nicolas Ferre --- Documentation/devicetree/bindings/net/macb.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/

[PATCH v2 4/4] net/macb: add config for Atmel sama5d2 SoCs

2015-06-18 Thread Nicolas Ferre
From: Cyrille Pitchen Add the compatible string for Atmel sama5d2 SoC family as the configuration options differ from other instances of the GEM. Signed-off-by: Cyrille Pitchen Signed-off-by: Nicolas Ferre --- drivers/net/ethernet/cadence/macb.c | 8 1 file changed, 8 insertions

[PATCH v2 0/4] net/macb: add sama5d2 support

2015-06-18 Thread Nicolas Ferre
binding documentation Cyrille Pitchen (1): net/macb: add config for Atmel sama5d2 SoCs Nicolas Ferre (3): net/macb: bindings doc: fix compatibility string net/macb: bindings doc/trivial: fix sama5d4 comment net/macb: bindings doc: add sama5d2 compatibility sting Documentation/devicetree

[PATCH v2 1/4] net/macb: bindings doc: fix compatibility string

2015-06-18 Thread Nicolas Ferre
In the driver and the DT bindings we use the "atmel" prefix. Fix it in the binding documentation. Signed-off-by: Nicolas Ferre --- Documentation/devicetree/bindings/net/macb.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bi

Re: [PATCH] net/macb: add config for Atmel sama5d2 SoCs

2015-06-18 Thread Nicolas Ferre
Le 18/06/2015 15:30, Alexandre Belloni a écrit : > On 18/06/2015 at 12:18:19 +0200, Nicolas Ferre wrote : >> From: Cyrille Pitchen >> >> Add the compatible string for Atmel sama5d2 SoC family as the configuration >> options differ from other instances of the GEM. &

[tip:irq/core] irqchip: atmel-aic5: Add sama5d2 support

2015-06-18 Thread tip-bot for Nicolas Ferre
Commit-ID: 62a993df31f795d87bcb4c6cb005d36f32f6ad55 Gitweb: http://git.kernel.org/tip/62a993df31f795d87bcb4c6cb005d36f32f6ad55 Author: Nicolas Ferre AuthorDate: Thu, 18 Jun 2015 15:07:35 +0200 Committer: Thomas Gleixner CommitDate: Thu, 18 Jun 2015 15:29:52 +0200 irqchip: atmel-aic5

Re: [PATCH] clk: at91: add generated clock driver

2015-06-18 Thread Nicolas Ferre
lly belive that you can't blame Nicolas to get the > drivers first then the SoC in. > > Also, Atmel has a good track record and their SocS are almost fully > supported in mainline, you can trust that sama5d2 support is going to > land there soon. I've just posted it BTW. And

[PATCH 3/3] ARM: at91/dt: add minimal sama5d2 Xplained board

2015-06-18 Thread Nicolas Ferre
Add minimal support for the new sama5d2 Xplained board. Only USB, sd/mmc, ethernet and uart/usart peripherals added. With this DTS file you can boot the board and begin to play with it. Rootfs on NFS and sd card have successfully been tested. Signed-off-by: Nicolas Ferre --- arch/arm/boot/dts

[PATCH 2/3] ARM: at91/dt: add basic dtsi for sama5d2 SoC

2015-06-18 Thread Nicolas Ferre
From: Ludovic Desroches Only the basic support for this new Atmel Cortex-A5 SoC. A subset of the peripherals is setup to allow booting. IRQ, clocks, USB, sd/mmc, crypto, timers, ethernet and uart/usart peripheral nodes are added. Signed-off-by: Ludovic Desroches Signed-off-by: Nicolas Ferre

[PATCH 1/3] ARM: at91/soc: add basic support for new sama5d2 SoC

2015-06-18 Thread Nicolas Ferre
Add Kconfig entries, header file changes and addition to the documentation. The early debug infrastructure is also added for easy development. Signed-off-by: Ludovic Desroches Signed-off-by: Nicolas Ferre --- Documentation/arm/Atmel/README | 6 ++ Documentation

[PATCH 0/3] introducing Atmel sama5d2 SoC

2015-06-18 Thread Nicolas Ferre
eview (like the flexcom for instance). Stay tunned for more fun! Ludovic Desroches (1): ARM: at91/dt: add basic dtsi for sama5d2 SoC Nicolas Ferre (2): ARM: at91/soc: add basic support for new sama5d2 SoC ARM: at91/dt: add minimal sama5d2 Xplained board Documentation/arm/Atmel/R

[PATCH] irqchip: atmel-aic5: Add sama5d2 support

2015-06-18 Thread Nicolas Ferre
Add sama5d2 support to irq-atmel-aic5. Signed-off-by: Nicolas Ferre --- .../devicetree/bindings/interrupt-controller/atmel,aic.txt | 2 +- drivers/irqchip/irq-atmel-aic5.c | 9 + 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a

[PATCH] clk: at91: add PMC sama5d2 support

2015-06-18 Thread Nicolas Ferre
Add support for the new sama5d2 SoC and adapt capabilities. Signed-off-by: Nicolas Ferre --- drivers/clk/at91/pmc.c | 15 +++ include/dt-bindings/clock/at91.h | 1 + include/linux/clk/at91_pmc.h | 1 + 3 files changed, 17 insertions(+) diff --git a/drivers/clk/at91

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