mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-09-18 22:14:16 +00:00 
			
		
		
		
	arm64: dts: imx8mn-evk: Add PDM micphone sound card support
Add PDM micphone sound card support, configure the pinmux. This sound card supports recording sound from PDM micphone and convert the PDM format data to PCM data. Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
		
							parent
							
								
									5f7c9c3e69
								
							
						
					
					
						commit
						caf5567b42
					
				
					 1 changed files with 36 additions and 0 deletions
				
			
		|  | @ -110,6 +110,20 @@ | |||
| 		spdif-out; | ||||
| 		spdif-in; | ||||
| 	}; | ||||
| 
 | ||||
| 	sound-micfil { | ||||
| 		compatible = "fsl,imx-audio-card"; | ||||
| 		model = "micfil-audio"; | ||||
| 
 | ||||
| 		pri-dai-link { | ||||
| 			link-name = "micfil hifi"; | ||||
| 			format = "i2s"; | ||||
| 
 | ||||
| 			cpu { | ||||
| 				sound-dai = <&micfil>; | ||||
| 			}; | ||||
| 		}; | ||||
| 	}; | ||||
| }; | ||||
| 
 | ||||
| &easrc { | ||||
|  | @ -285,6 +299,16 @@ | |||
| 	status = "okay"; | ||||
| }; | ||||
| 
 | ||||
| &micfil { | ||||
| 	#sound-dai-cells = <0>; | ||||
| 	pinctrl-names = "default"; | ||||
| 	pinctrl-0 = <&pinctrl_pdm>; | ||||
| 	assigned-clocks = <&clk IMX8MN_CLK_PDM>; | ||||
| 	assigned-clock-parents = <&clk IMX8MN_AUDIO_PLL1_OUT>; | ||||
| 	assigned-clock-rates = <196608000>; | ||||
| 	status = "okay"; | ||||
| }; | ||||
| 
 | ||||
| &mipi_csi { | ||||
| 	status = "okay"; | ||||
| 
 | ||||
|  | @ -522,6 +546,18 @@ | |||
| 		>; | ||||
| 	}; | ||||
| 
 | ||||
| 	pinctrl_pdm: pdmgrp { | ||||
| 		fsl,pins = < | ||||
| 			MX8MN_IOMUXC_SAI5_MCLK_SAI5_MCLK	0xd6 | ||||
| 			MX8MN_IOMUXC_SAI5_RXC_PDM_CLK		0xd6 | ||||
| 			MX8MN_IOMUXC_SAI5_RXFS_SAI5_RX_SYNC	0xd6 | ||||
| 			MX8MN_IOMUXC_SAI5_RXD0_PDM_BIT_STREAM0	0xd6 | ||||
| 			MX8MN_IOMUXC_SAI5_RXD1_PDM_BIT_STREAM1	0xd6 | ||||
| 			MX8MN_IOMUXC_SAI5_RXD2_PDM_BIT_STREAM2	0xd6 | ||||
| 			MX8MN_IOMUXC_SAI5_RXD3_PDM_BIT_STREAM3	0xd6 | ||||
| 		>; | ||||
| 	}; | ||||
| 
 | ||||
| 	pinctrl_pmic: pmicirqgrp { | ||||
| 		fsl,pins = < | ||||
| 			MX8MN_IOMUXC_GPIO1_IO03_GPIO1_IO3	0x141 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Shengjiu Wang
						Shengjiu Wang