All of lore.kernel.org
 help / color / mirror / Atom feed
From: moinejf@free.fr (Jean-Francois Moine)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 1/2] ARM: Dove: Add the audio devices in DT
Date: Tue, 8 Oct 2013 19:41:19 +0200	[thread overview]
Message-ID: <20131008194119.0cebbe26@armhf> (raw)

This patch adds the nodes to instantiate the audio devices of the Dove
boards.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
---
 arch/arm/boot/dts/dove.dtsi | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/arch/arm/boot/dts/dove.dtsi b/arch/arm/boot/dts/dove.dtsi
index cc27916..e177e66 100644
--- a/arch/arm/boot/dts/dove.dtsi
+++ b/arch/arm/boot/dts/dove.dtsi
@@ -505,5 +505,23 @@
 				phy-handle = <&ethphy>;
 			};
 		};
+
+		audio0: audio-controller at b0000 {
+			compatible = "marvell,dove-audio";
+			reg = <0xb0000 0x2210>;
+			interrupts = <19>, <20>;
+			clocks = <&gate_clk 12>;
+			clock-names = "internal";
+			status = "disabled";
+		};
+
+		audio1: audio-controller at b4000 {
+			compatible = "marvell,dove-audio";
+			reg = <0xb4000 0x2210>;
+			interrupts = <21>, <22>;
+			clocks = <&gate_clk 13>;
+			clock-names = "internal";
+			status = "disabled";
+		};
 	};
 };

-- 
Ken ar c'henta?	|	      ** Breizh ha Linux atav! **
Jef		|		http://moinejf.free.fr/

WARNING: multiple messages have this Message-ID (diff)
From: Jean-Francois Moine <moinejf-GANU6spQydw@public.gmane.org>
To: Jason Cooper <jason-NLaQJdtUoK4Be96aLqz0jA@public.gmane.org>
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Russell King <linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org>,
	Ian Campbell
	<ian.campbell-Sxgqhf6Nn4DQT0dZR+AlfA@public.gmane.org>,
	Pawel Moll <pawel.moll-5wv7dgnIgG8@public.gmane.org>,
	Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>,
	Sebastian Hesselbarth
	<sebastian.hesselbarth-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	Rob Herring <rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org>
Subject: [PATCH v2 1/2] ARM: Dove: Add the audio devices in DT
Date: Tue, 8 Oct 2013 19:41:19 +0200	[thread overview]
Message-ID: <20131008194119.0cebbe26@armhf> (raw)

This patch adds the nodes to instantiate the audio devices of the Dove
boards.

Signed-off-by: Jean-Francois Moine <moinejf-GANU6spQydw@public.gmane.org>
---
 arch/arm/boot/dts/dove.dtsi | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/arch/arm/boot/dts/dove.dtsi b/arch/arm/boot/dts/dove.dtsi
index cc27916..e177e66 100644
--- a/arch/arm/boot/dts/dove.dtsi
+++ b/arch/arm/boot/dts/dove.dtsi
@@ -505,5 +505,23 @@
 				phy-handle = <&ethphy>;
 			};
 		};
+
+		audio0: audio-controller@b0000 {
+			compatible = "marvell,dove-audio";
+			reg = <0xb0000 0x2210>;
+			interrupts = <19>, <20>;
+			clocks = <&gate_clk 12>;
+			clock-names = "internal";
+			status = "disabled";
+		};
+
+		audio1: audio-controller@b4000 {
+			compatible = "marvell,dove-audio";
+			reg = <0xb4000 0x2210>;
+			interrupts = <21>, <22>;
+			clocks = <&gate_clk 13>;
+			clock-names = "internal";
+			status = "disabled";
+		};
 	};
 };

-- 
Ken ar c'hentañ	|	      ** Breizh ha Linux atav! **
Jef		|		http://moinejf.free.fr/
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

             reply	other threads:[~2013-10-08 17:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-08 17:41 Jean-Francois Moine [this message]
2013-10-08 17:41 ` [PATCH v2 1/2] ARM: Dove: Add the audio devices in DT Jean-Francois Moine
2013-10-08 18:03 ` Sebastian Hesselbarth
2013-10-08 18:03   ` Sebastian Hesselbarth
2013-10-09 13:12 ` Jason Cooper
2013-10-09 13:12   ` Jason Cooper

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131008194119.0cebbe26@armhf \
    --to=moinejf@free.fr \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.