ASoC: rsnd: add sample code of rcar_sound,src irq
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 20 Feb 2015 10:31:55 +0000 (10:31 +0000)
committerMark Brown <broonie@kernel.org>
Sat, 7 Mar 2015 15:04:30 +0000 (15:04 +0000)
cfcefe01265cbaf5ca7209226d043b07bfa8b587
(ASoC: rsnd: add recovery support for under/over flow error on SRC)
added SRC recovery support which needs IRQ.
This patch adds SRC irq sample code on DT bingdings text

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/renesas,rsnd.txt

index 2dd690bc19cc6436914a1d6ccdf03ed6f36b6c0b..87e0fc2ce399f52e1142e2a454e22e04348b9459 100644 (file)
@@ -53,16 +53,36 @@ rcar_sound: rcar_sound@ec500000 {
        };
 
        rcar_sound,src {
-               src0: src@0 { };
-               src1: src@1 { };
-               src2: src@2 { };
-               src3: src@3 { };
-               src4: src@4 { };
-               src5: src@5 { };
-               src6: src@6 { };
-               src7: src@7 { };
-               src8: src@8 { };
-               src9: src@9 { };
+               src0: src@0 {
+                       interrupts = <0 352 IRQ_TYPE_LEVEL_HIGH>;
+               };
+               src1: src@1 {
+                       interrupts = <0 353 IRQ_TYPE_LEVEL_HIGH>;
+               };
+               src2: src@2 {
+                       interrupts = <0 354 IRQ_TYPE_LEVEL_HIGH>;
+               };
+               src3: src@3 {
+                       interrupts = <0 355 IRQ_TYPE_LEVEL_HIGH>;
+               };
+               src4: src@4 {
+                       interrupts = <0 356 IRQ_TYPE_LEVEL_HIGH>;
+               };
+               src5: src@5 {
+                       interrupts = <0 357 IRQ_TYPE_LEVEL_HIGH>;
+               };
+               src6: src@6 {
+                       interrupts = <0 358 IRQ_TYPE_LEVEL_HIGH>;
+               };
+               src7: src@7 {
+                       interrupts = <0 359 IRQ_TYPE_LEVEL_HIGH>;
+               };
+               src8: src@8 {
+                       interrupts = <0 360 IRQ_TYPE_LEVEL_HIGH>;
+               };
+               src9: src@9 {
+                       interrupts = <0 361 IRQ_TYPE_LEVEL_HIGH>;
+               };
        };
 
        rcar_sound,ssi {