![]() Here is the snapshot of my dts for simple audio card ![]() I am working on getting simple_audio_card work for imx8mq and pcm3060 codec, I am on kernel version 5.05 and it appears both the the platform driver (fsl_sai) and the codec driver (pcm3060) support the ASOC design and the simple audio card. I have got a sound card through the simple-audio-card, but when I try to play back a WAV file using aplay, it fails in hw_params check inside fsl_sai driver. Using imx8mq and ti, pcm3060, specially from the clocks perspective. But value assigned to I2S1_TCR2 and I2S1_TCSR cannot be saved, I always get 0x00000000 except in IOMUXC_GPR_GPR1 register.I want to know a working example of DTS for sai, codec and simple-audio-card in kernel 5.0.5 I also tried to modify IOMUXC_GPR_GPR1 SAI_MCLK_DIR, I2S1_TCR2 MSEL and I2S1_TCSR DBGE registers from uboot and also using devmem2. Imx-pcm179x sound2: snd_soc_register_card failed (-517) ![]() Imx-pcm179x sound2: ASoC: CPU DAI 202800.sai not registered In addition, I've modified my ALSA driver for PCM179x, in order to set MCLK as output: snd_soc_dai_set_sysclk(codec_dai, 0, data->sysclk, SND_SOC_CLOCK_OUT) But fails in probe function when try to do snd_soc_register_card(&data->card) get the next error from soc_core.c: But cannot get MCLK output in MX6UL_PAD_CSI_DATA01 neither MX6UL_PAD_LCD_DATA00. ![]() This patch enables IOMUXC_GPR_GPR1 SAI_MCLK_DIR using the property fsl,sai-mclk-direction-output. I've patched the kernel according to Applied "ASoC: fsl_sai: Allow setting the SAI MCLK direction" to the asoc tree. I'm still having this trouble, so please admin, remove the assumed answered tag. ![]() This is my configuration:Ĭlock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3" I've printed out princtrl-map and this signal is defined as part of SAI1. I've tried to enabled this signal in my dtsi (MX6UL_PAD_CSI_DATA01_SAI1_MCLK) but is not posible to display the signal in the osciloscope. This device can be used just as slave and needs a MCLK signal to be enabled. I'm trying to use iMX6UL's SAI1 as master in order to connect it to an ADC. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |