mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-10-31 16:54:21 +00:00 
			
		
		
		
	powerpc/p1022ds: fix audio-related properties in the device tree
On the Freescale P1022DS reference board, the SSI audio controller is connected in "asynchronous" mode to the codec's clocks, so the device tree needs an "fsl,ssi-asynchronous" property. Also remove the clock-frequency property from the wm8776 node, because the clock is enabled only if U-Boot enables it, and U-Boot will set the property if the clock is enabled. A future version of the P1022DS audio driver will configure the clock itself, but for now, the driver should not be told that the clock is running when it isn't. Also fix the FIFO depth to 15, instead of 16. Signed-off-by: Timur Tabi <timur@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
This commit is contained in:
		
							parent
							
								
									c02a02ee4d
								
							
						
					
					
						commit
						f3fed682f7
					
				
					 1 changed files with 6 additions and 3 deletions
				
			
		|  | @ -209,8 +209,10 @@ | ||||||
| 			wm8776:codec@1a { | 			wm8776:codec@1a { | ||||||
| 				compatible = "wlf,wm8776"; | 				compatible = "wlf,wm8776"; | ||||||
| 				reg = <0x1a>; | 				reg = <0x1a>; | ||||||
| 				/* MCLK source is a stand-alone oscillator */ | 				/* | ||||||
| 				clock-frequency = <12288000>; | 				 * clock-frequency will be set by U-Boot if | ||||||
|  | 				 * the clock is enabled. | ||||||
|  | 				 */ | ||||||
| 			}; | 			}; | ||||||
| 		}; | 		}; | ||||||
| 
 | 
 | ||||||
|  | @ -280,7 +282,8 @@ | ||||||
| 			codec-handle = <&wm8776>; | 			codec-handle = <&wm8776>; | ||||||
| 			fsl,playback-dma = <&dma00>; | 			fsl,playback-dma = <&dma00>; | ||||||
| 			fsl,capture-dma = <&dma01>; | 			fsl,capture-dma = <&dma01>; | ||||||
| 			fsl,fifo-depth = <16>; | 			fsl,fifo-depth = <15>; | ||||||
|  | 			fsl,ssi-asynchronous; | ||||||
| 		}; | 		}; | ||||||
| 
 | 
 | ||||||
| 		dma@c300 { | 		dma@c300 { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Timur Tabi
						Timur Tabi