Subject: [PATCH 5/5] ARM: mx28evk: add mxs-dma dt support

From: [email-masked] (Marek Vasut)
Date: Wed, 18 Apr 2012 20:03:42 +0200

Dear Dong Aisheng,

> From: Dong Aisheng <[email-masked]>
> 
> Cc: Grant Likely <[email-masked]>
> Cc: Rob Herring <[email-masked]>
> Cc: Shawn Guo <[email-masked]>
> Cc: Sascha Hauer <[email-masked]>
> Cc: Marek Vasut <[email-masked]>
> Cc: Huang Shijie <[email-masked]>
> Signed-off-by: Dong Aisheng <[email-masked]>

Reviewed-by: Marek Vasut <[email-masked]>

> ---
>  arch/arm/boot/dts/imx28.dtsi   |    4 ++--
>  arch/arm/mach-mxs/clock-mx28.c |    2 ++
>  2 files changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/imx28.dtsi b/arch/arm/boot/dts/imx28.dtsi
> index d1f4f8c..5f61777 100644
> --- a/arch/arm/boot/dts/imx28.dtsi
> +++ b/arch/arm/boot/dts/imx28.dtsi
> @@ -52,8 +52,8 @@
>  			};
> 
>  			dma-apbh at 80004000 {
> +				compatible = "fsl,imx28-dma-apbh";
>  				reg = <0x80004000 2000>;
> -				status = "disabled";
>  			};
> 
>  			perfmon at 80006000 {
> @@ -115,8 +115,8 @@
>  			};
> 
>  			dma-apbx at 80024000 {
> +				compatible = "fsl,imx28-dma-apbx";
>  				reg = <0x80024000 2000>;
> -				status = "disabled";
>  			};
> 
>  			dcp at 80028000 {
> diff --git a/arch/arm/mach-mxs/clock-mx28.c
> b/arch/arm/mach-mxs/clock-mx28.c index cca2cf7..9c926b6 100644
> --- a/arch/arm/mach-mxs/clock-mx28.c
> +++ b/arch/arm/mach-mxs/clock-mx28.c
> @@ -652,6 +652,8 @@ static struct clk_lookup lookups[] = {
>  	_REGISTER_CLOCK("80074000.serial", NULL, uart_clk)
>  	_REGISTER_CLOCK("800f0000.ethernet", NULL, fec_clk)
>  	_REGISTER_CLOCK("800f4000.ethernet", NULL, fec_clk)
> +	_REGISTER_CLOCK("80004000.dma-apbh", NULL, hbus_clk)
> +	_REGISTER_CLOCK("80024000.dma-apbx", NULL, xbus_clk)
>  };
> 
>  static int clk_misc_init(void)

Best regards,
Marek Vasut