-
Notifications
You must be signed in to change notification settings - Fork 349
topology: Add a tgl-max98357a-rt5682 tplg with DMIC16k on PDM1 #4228
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
Conversation
|
@cujomalainey looks like we have a conflict with a recent intelligo update. |
May I know what the conflict is about? |
No need to worry, it's a git merge conflict - this is common. It's needs to be fixed in this PR and not your code. |
@plbossart google hotword needs exactly one channel and KPB needs 2. Selector is not functional enough to select 2 channels from 4 channels. Therefore when we have a board that is only using PDM1 we have to select the active PDM in the SSP until we can patch selector to be more functional. Make sense? |
There are TGL devices using either PDM0 or PDM1 port for the DMIC16k DAI for hotword detection. This patch adds the DMIC_DAI_LINK_16k_PDM parameter and builds both versions. Signed-off-by: Ben Zhang <benzh@chromium.org>
|
@lgirdwood thanks for the notification, its fixed now. Would be nice if github generated a notification to the PR owner on that state change. |
|
@plbossart @singalsu good now ? |
|
@cujomalainey @lgirdwood I am not really happy about the different approach taken between the 48k and 16k interfaces. The 48k case assumes there is always 4 ch, and there are board-specific controls in UCM to figure out what channels are valid. I don't understand what limitations are part of the selector that lead us to spin yet another topology file. Can we not fix the selector and use the same approach of specifying valid channels through controls? |
@plbossart I agree, and that is our long term plan along with reverting this change once the upgrade is complete. The issue is our roadmap for next 1-2Q is quite heavy with little room for upstream work other than bug fixing. We are hoping to implement a generic format similar to what CRAS uses where we pass in an array of values, the index being the output channel and the value being the source. So on devices with 2 DMIC on PDM1 the selector config would be "2 3 -1 -1" |
ok, if this is a temporary solution I am good with the approach, I just didn't want to see this become the regular way of dealing with mics. thanks for the details @cujomalainey |
plbossart
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
conditional approval if this is only a temporary fix and we see a better support for the selector long-term
|
Filed above mentioned bug for tracking. |
|
looks good to me, but let's still wait for @singalsu 's confirmation. |
|
SOFCI TEST |
|
Logger appear dead - rerun CI. |
|
all checks passed, 5 approvals, no feedback outstanding, merging |
There are TGL devices using either PDM0 or PDM1 port for the DMIC16k
DAI for hotword detection. This patch adds the DMIC_DAI_LINK_16k_PDM
parameter and builds both versions.
Signed-off-by: Ben Zhang benzh@chromium.org