You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While trying to integrate max98373-sdw on chrome-environment(coreboot) observe the following error, tried configuring this sub-property as NULL in coreboot but still observe the same issue.
Log: dmesg_DP0_ww18.log
Further to the Query to Maxim-Team about max98373 codec supports SDW_DP0_INT_PORT_READY and SDW_DP0_INT_BRA_FAILURE cmd or not. And also check imp_def_interrupts which is retrieved from “mipi-sdw-imp-def-dp0-interrupts-supported” in ACPI table. Codec vendor assured that DP0 isn't supported in max98373-sdw.
@naveen-manohar you probably have a bad table in Coreboot. I checked the code and I see no case where we read DP0 interrupt registers if slave->dp0_prop is NULL.
BTW no one currently reads those properties from ACPI tables, see the realtek codecs they implement their own _read_prop callback and hard-code the values directly in the codec driver.
Thanks for the quick turn-around @plbossart , Guess you are right.
I rebased the codec driver to latest version and now i'm not observing the 'SDW_DP0_INTMASK read failed' issue. even after removing the hacks - link
@naveen-manohar do you mind submitting the codec driver as an RFC PR against topic/sof-dev? This would help the rest of us provide feedback. It doesn't need to be perfect, but you have a set of people willing to help so don't keep this to yourself :-)
Activity
plbossart commentedon Apr 24, 2020
@naveen-manohar you probably have a bad table in Coreboot. I checked the code and I see no case where we read DP0 interrupt registers if slave->dp0_prop is NULL.
BTW no one currently reads those properties from ACPI tables, see the realtek codecs they implement their own _read_prop callback and hard-code the values directly in the codec driver.
plbossart commentedon Apr 24, 2020
@naveen-manohar also enable dynamic debug for the SoundWire core please. I do this by copying this file to /etc/modprobe.d/sof-debug.conf :
ddebug.txt
naveen-manohar commentedon Apr 24, 2020
Thanks for the quick turn-around @plbossart , Guess you are right.
I rebased the codec driver to latest version and now i'm not observing the 'SDW_DP0_INTMASK read failed' issue. even after removing the hacks - link
Log(with Debug enabled):
dmesg_debug-hack-removed.log
Shall do few more experiments and later close this bug.
plbossart commentedon Apr 24, 2020
@naveen-manohar do you mind submitting the codec driver as an RFC PR against topic/sof-dev? This would help the rest of us provide feedback. It doesn't need to be perfect, but you have a set of people willing to help so don't keep this to yourself :-)
naveen-manohar commentedon Apr 26, 2020
Sure @plbossart Thanks for the support.
Working with codec-author(Ryan), shall post it start-of-week.
naveen-manohar commentedon Apr 28, 2020
Submitted #2062, please help review
naveen-manohar commentedon May 22, 2020
Thnaks to @plbossart, @RanderWang, @bardliao for supporting during this debug and helping with PR#2062