-
Notifications
You must be signed in to change notification settings - Fork 321
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alderlake/Amstonlake da7219 support in I2S #9254
Comments
I would start with the "nocodec" configuration, as is, and try to see if there are any signals on the SSP0 pins. If not, check the BIOS settings and possibly the pin-mux configuration. SSPs are typically muxed with other interfaces and they are not the default interface. IIRC you have to use the sof_debug option with the setting 0xC01 to force the nocodec option. #define SOF_DBG_FORCE_NOCODEC BIT(10) /* ignore all codec-related configurations */ options snd-sof sof_debug=0xC01 |
Hi plbossart, Thanks for your feedback, I've been able to experiment with the sof-debug option of nocodec activated, I can identify the codec "nocodec" and the selected topology "sof-adl-nocodec" but I still can't get the correct outputs on the I2S0 link. I also re-checked the bios configuration to activate the different channels ssp0,ssp1,ssp2 for the "nocodec" mode. Regards Romain. |
It's not easy to enable these interfaces, there are multiple things that can go wrong. |
@rhenry-hai the nocodec configurations upstream are all verified by CI so they should work as they do in CI. However, as @plbossart has suggested, there may be BIOS or pinmux configuration that has the SSP pins being configured for another usage and therefore you wont see any I2S signal until this is resolved.. |
For the purposes of my project, we're working on an amstonlake Atom "x7433RE" CPU with a da7219 codec.
So far, I've been able to create a consistent topology like our hardware implementation and rework the codec configuration with ACPI detection.
I've also customized the sof_da7219 file to bypass the hdmi and dmic outputs and remove the ssp1 link for the purposes of our project.
So far, all sof and bios parameters are correctly set to use SSP0 in I2S.
But I still can't get an audio signal from the codec.
I've measured the various signals coming from the SSP0 link and they don't seem to be correctly configured.
-SCLK Pulse of 170ns every 24µs
-MCLK not present
-BCLK ok
-and any signal on I2S0_TX or I2S0_RX
I've also checked the log of dmesg, but there's no trace of errors or warnings.
I don't really know what's wrong with my installation or configuration.
setup:
Intel CRB with dialog da7219 performance board connected trough I2S.
Reproduction Rate
Every times.
Expected behavior
for the moment I looking to validate the audio pileline from kernel side to user.
Impact
This feature is critical for our project because the purpose of the project is closely related to audio transmission.
Environment
Dmesg outputs :
Thank you for your help, Sincerely Romain
The text was updated successfully, but these errors were encountered: