mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-11-03 22:44:27 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			43 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			43 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
From 0ecb275625447180dd615256d0c324a0c0c6e76a Mon Sep 17 00:00:00 2001
 | 
						|
From: Jyri Sarha <jsarha@ti.com>
 | 
						|
Date: Thu, 19 Sep 2013 13:20:26 +0300
 | 
						|
Subject: [PATCH 215/752] ASoC: davinci-mcasp: Interrupts property to optional
 | 
						|
 and add interrupt-names
 | 
						|
 | 
						|
Makes interrupts property optional as the interrupts are not currently
 | 
						|
used by the driver and adds interrupt-names property to name listed
 | 
						|
interrupts. Currently know interrupt names are "tx" and "rx".
 | 
						|
 | 
						|
Signed-off-by: Jyri Sarha <jsarha@ti.com>
 | 
						|
---
 | 
						|
 Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt |    4 +++-
 | 
						|
 1 file changed, 3 insertions(+), 1 deletion(-)
 | 
						|
 | 
						|
--- a/Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt
 | 
						|
+++ b/Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt
 | 
						|
@@ -11,7 +11,6 @@ Required properties:
 | 
						|
 - reg-names : The mandatory reg-range must be named "mpu" and the optional DMA
 | 
						|
 	      reg-range must be named "dma". For backward compatibility it is
 | 
						|
 	      good to keep "mpu" first in the list.
 | 
						|
-- interrupts : Interrupt number for McASP
 | 
						|
 - op-mode : I2S/DIT ops mode.
 | 
						|
 - tdm-slots : Slots for TDM operation.
 | 
						|
 - num-serializer : Serializers used by McASP.
 | 
						|
@@ -31,6 +30,8 @@ Optional properties:
 | 
						|
 - rx-num-evt : FIFO levels.
 | 
						|
 - sram-size-playback : size of sram to be allocated during playback
 | 
						|
 - sram-size-capture  : size of sram to be allocated during capture
 | 
						|
+- interrupts : Interrupt numbers for McASP, currently not used by the driver
 | 
						|
+- interrupt-names : Known interrupt names are "tx" and "rx"
 | 
						|
 
 | 
						|
 Example:
 | 
						|
 
 | 
						|
@@ -41,6 +42,7 @@ mcasp0: mcasp0@1d00000 {
 | 
						|
 	reg = <0x100000 0x3000>;
 | 
						|
 	reg-names "mpu";
 | 
						|
 	interrupts = <82 83>;
 | 
						|
+	interrupts-names = "tx", "rx";
 | 
						|
 	op-mode = <0>;		/* MCASP_IIS_MODE */
 | 
						|
 	tdm-slots = <2>;
 | 
						|
 	num-serializer = <16>;
 |