summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/sound/mvebu-audio.txt
diff options
context:
space:
mode:
authorJean-Francois Moine2013-08-14 12:27:33 +0200
committerMark Brown2013-08-22 20:58:14 +0200
commiteb63231830360f5acfea5dd2b545d7a14476bc3a (patch)
tree977dfa41e24df445afb6341d9341003fc96f2cbd /Documentation/devicetree/bindings/sound/mvebu-audio.txt
parentASoC: kirkwood: move calculation of max buffer size to kirkwood.h (diff)
downloadkernel-qcow2-linux-eb63231830360f5acfea5dd2b545d7a14476bc3a.tar.gz
kernel-qcow2-linux-eb63231830360f5acfea5dd2b545d7a14476bc3a.tar.xz
kernel-qcow2-linux-eb63231830360f5acfea5dd2b545d7a14476bc3a.zip
ASoc: kirkwood: add DT support to the mvebu audio subsystem
This patch adds DT support to the audio subsystem of the mvebu family (Kirkwood, Dove, Armada 370). Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/mvebu-audio.txt')
-rw-r--r--Documentation/devicetree/bindings/sound/mvebu-audio.txt29
1 files changed, 29 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/mvebu-audio.txt b/Documentation/devicetree/bindings/sound/mvebu-audio.txt
new file mode 100644
index 000000000000..7e5fd37c1b3f
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/mvebu-audio.txt
@@ -0,0 +1,29 @@
+* mvebu (Kirkwood, Dove, Armada 370) audio controller
+
+Required properties:
+
+- compatible: "marvell,mvebu-audio"
+
+- reg: physical base address of the controller and length of memory mapped
+ region.
+
+- interrupts: list of two irq numbers.
+ The first irq is used for data flow and the second one is used for errors.
+
+- clocks: one or two phandles.
+ The first one is mandatory and defines the internal clock.
+ The second one is optional and defines an external clock.
+
+- clock-names: names associated to the clocks:
+ "internal" for the internal clock
+ "extclk" for the external clock
+
+Example:
+
+i2s1: audio-controller@b4000 {
+ compatible = "marvell,mvebu-audio";
+ reg = <0xb4000 0x2210>;
+ interrupts = <21>, <22>;
+ clocks = <&gate_clk 13>;
+ clock-names = "internal";
+};