diff mbox

[02/11,RFC] ARM: shmobile: r8a7790: Add Audio DMAC peri peri devices to DT

Message ID 871ttcvlpl.wl%kuninori.morimoto.gx@renesas.com (mailing list archive)
State RFC
Headers show

Commit Message

Kuninori Morimoto July 23, 2014, 2:43 a.m. UTC
Instantiate the Audio DMAC peri peri controllers
in the r8a7790 device tree.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
 arch/arm/boot/dts/r8a7790.dtsi |    7 +++++++
 1 file changed, 7 insertions(+)

Comments

Sergei Shtylyov July 23, 2014, 12:33 p.m. UTC | #1
Hello.

On 07/23/2014 06:43 AM, Kuninori Morimoto wrote:

> Instantiate the Audio DMAC peri peri controllers
> in the r8a7790 device tree.

> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> ---
>   arch/arm/boot/dts/r8a7790.dtsi |    7 +++++++
>   1 file changed, 7 insertions(+)

> diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi
> index 9f4fb9c..853a5d1 100644
> --- a/arch/arm/boot/dts/r8a7790.dtsi
> +++ b/arch/arm/boot/dts/r8a7790.dtsi
> @@ -333,6 +333,13 @@
>   		dma-channels = <13>;
>   	};
>
> +	audmapp: audio-dma-pp@0xec740000 {

    As per the ePAPR standard, the node name must be "dma-controller". Also, 
please drop "0x" from the unit-address part of the name.

> +		compatible = "renesas,rcar-audmapp";
> +		#dma-cells = <1>;
> +
> +		reg = <0 0xec740000 0 0x200>;
> +	};
> +

WBR, Sergei

--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi
index 9f4fb9c..853a5d1 100644
--- a/arch/arm/boot/dts/r8a7790.dtsi
+++ b/arch/arm/boot/dts/r8a7790.dtsi
@@ -333,6 +333,13 @@ 
 		dma-channels = <13>;
 	};
 
+	audmapp: audio-dma-pp@0xec740000 {
+		compatible = "renesas,rcar-audmapp";
+		#dma-cells = <1>;
+
+		reg = <0 0xec740000 0 0x200>;
+	};
+
 	i2c0: i2c@e6508000 {
 		#address-cells = <1>;
 		#size-cells = <0>;