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
t; + rm9200, 9260/9g20, 0xf2000xfefff200 DBGU
> + 9261/9g10, 9rl
> + 9263, 9g45, sama5d3 0xee000xfeffee00 DBGU
> + sama5d4 0xfc00c0000xfb00c000 USART3
> +
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
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
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
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
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(-)
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
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
> remote-endpoint = <&ov2640_0>;
> bus-width = <8>;
> + vsync-active = <1>;
> + hsync-active
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
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
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
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/
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
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
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
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
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
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
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,
> ---
>
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
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
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
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
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
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 <
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/
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
,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);
>>
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
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
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 +
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
> 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
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
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
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
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
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
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
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
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;
>
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";
>> +
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
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
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
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
: 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
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
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
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
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
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
>
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
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
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
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
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
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
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
= "atmel,sama5d2-flexcom";
>> +reg = <0xf8034000 0x200>;
>> +clocks = <&flx0_clk>;
>> +#address-cells = <2>;
>> +#size-cells = <1>;
>> +ranges = <1 0 0xf8034200 0x200 /* opmode 1: USART */
>>
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
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
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!
&
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
> ---
>
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:
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:
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
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 +-
>&
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
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
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
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
/
> + 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",
>
.
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
> 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
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
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)
>
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
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
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
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
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
>
> 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,
>> +
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
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
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/
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
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
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
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.
&
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
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
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
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
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
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
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
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
601 - 700 of 1986 matches
Mail list logo