[PATCH 7/7] serial: at91: add dma support in usart binding descriptions

Ludovic Desroches ludovic.desroches at atmel.com
Tue Jul 9 03:40:59 EDT 2013


On Tue, Jul 09, 2013 at 02:33:46PM +0800, Elen Song wrote:

[...]

>  Example:
> -
> +- use PDC:
>  	usart0: serial at fff8c000 {
>  		compatible = "atmel,at91sam9260-usart";
>  		reg = <0xfff8c000 0x200>;
> @@ -25,3 +31,12 @@ Example:
>  		atmel,use-pdc-tx;
>  	};
>  
> +- use DMA:
> +	usart0: serial at f001c000 {
> +		compatible = "atmel,at91sam9260-usart";
> +		reg = <0xf001c000 0x100>;
> +		interrupts = <12 IRQ_TYPE_LEVEL_HIGH 5>;
> +		dmas = <&dma0 2 AT91_DMA_CFG_PER_ID(3)>,
> +		       <&dma0 2 (AT91_DMA_CFG_PER_ID(4) | AT91_DMA_CFG_FIFOCFG_ASAP)>;

Same comment than patch 1/7. Maybe wait for confirmation by someone else before
correcting it.

> +		dma-names = "tx", "rx";
> +	};
> -- 
> 1.7.9.5
> 



More information about the linux-arm-kernel mailing list