[alsa-devel] [PATCH 21/24 v2] ASoC: rsnd: add sample code of rcar_sound, src irq
Kuninori Morimoto
kuninori.morimoto.gx at renesas.com
Fri Feb 20 11:31:55 CET 2015
From: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
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 at renesas.com>
---
v1 -> v2
- tidyup for subnode dma-engine
.../devicetree/bindings/sound/renesas,rsnd.txt | 40 +++++++++++++++-----
1 file changed, 30 insertions(+), 10 deletions(-)
diff --git a/Documentation/devicetree/bindings/sound/renesas,rsnd.txt b/Documentation/devicetree/bindings/sound/renesas,rsnd.txt
index 2dd690b..87e0fc2 100644
--- a/Documentation/devicetree/bindings/sound/renesas,rsnd.txt
+++ b/Documentation/devicetree/bindings/sound/renesas,rsnd.txt
@@ -53,16 +53,36 @@ rcar_sound: rcar_sound at ec500000 {
};
rcar_sound,src {
- src0: src at 0 { };
- src1: src at 1 { };
- src2: src at 2 { };
- src3: src at 3 { };
- src4: src at 4 { };
- src5: src at 5 { };
- src6: src at 6 { };
- src7: src at 7 { };
- src8: src at 8 { };
- src9: src at 9 { };
+ src0: src at 0 {
+ interrupts = <0 352 IRQ_TYPE_LEVEL_HIGH>;
+ };
+ src1: src at 1 {
+ interrupts = <0 353 IRQ_TYPE_LEVEL_HIGH>;
+ };
+ src2: src at 2 {
+ interrupts = <0 354 IRQ_TYPE_LEVEL_HIGH>;
+ };
+ src3: src at 3 {
+ interrupts = <0 355 IRQ_TYPE_LEVEL_HIGH>;
+ };
+ src4: src at 4 {
+ interrupts = <0 356 IRQ_TYPE_LEVEL_HIGH>;
+ };
+ src5: src at 5 {
+ interrupts = <0 357 IRQ_TYPE_LEVEL_HIGH>;
+ };
+ src6: src at 6 {
+ interrupts = <0 358 IRQ_TYPE_LEVEL_HIGH>;
+ };
+ src7: src at 7 {
+ interrupts = <0 359 IRQ_TYPE_LEVEL_HIGH>;
+ };
+ src8: src at 8 {
+ interrupts = <0 360 IRQ_TYPE_LEVEL_HIGH>;
+ };
+ src9: src at 9 {
+ interrupts = <0 361 IRQ_TYPE_LEVEL_HIGH>;
+ };
};
rcar_sound,ssi {
--
1.7.9.5
More information about the Alsa-devel
mailing list