refresh/rename patches
[openwrt/openwrt.git] / target / linux / omap / patches-3.12 / 404-ASoC-davinci-mcasp-Interrupts-property-to-optional-a.patch
1 From 0ecb275625447180dd615256d0c324a0c0c6e76a Mon Sep 17 00:00:00 2001
2 From: Jyri Sarha <jsarha@ti.com>
3 Date: Thu, 19 Sep 2013 13:20:26 +0300
4 Subject: [PATCH 215/752] ASoC: davinci-mcasp: Interrupts property to optional
5 and add interrupt-names
6
7 Makes interrupts property optional as the interrupts are not currently
8 used by the driver and adds interrupt-names property to name listed
9 interrupts. Currently know interrupt names are "tx" and "rx".
10
11 Signed-off-by: Jyri Sarha <jsarha@ti.com>
12 ---
13 Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt | 4 +++-
14 1 file changed, 3 insertions(+), 1 deletion(-)
15
16 --- a/Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt
17 +++ b/Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt
18 @@ -11,7 +11,6 @@ Required properties:
19 - reg-names : The mandatory reg-range must be named "mpu" and the optional DMA
20 reg-range must be named "dma". For backward compatibility it is
21 good to keep "mpu" first in the list.
22 -- interrupts : Interrupt number for McASP
23 - op-mode : I2S/DIT ops mode.
24 - tdm-slots : Slots for TDM operation.
25 - num-serializer : Serializers used by McASP.
26 @@ -31,6 +30,8 @@ Optional properties:
27 - rx-num-evt : FIFO levels.
28 - sram-size-playback : size of sram to be allocated during playback
29 - sram-size-capture : size of sram to be allocated during capture
30 +- interrupts : Interrupt numbers for McASP, currently not used by the driver
31 +- interrupt-names : Known interrupt names are "tx" and "rx"
32
33 Example:
34
35 @@ -41,6 +42,7 @@ mcasp0: mcasp0@1d00000 {
36 reg = <0x100000 0x3000>;
37 reg-names "mpu";
38 interrupts = <82 83>;
39 + interrupts-names = "tx", "rx";
40 op-mode = <0>; /* MCASP_IIS_MODE */
41 tdm-slots = <2>;
42 num-serializer = <16>;