Skip to content

Commit

Permalink
ASoC: mediatek: mt8195: support adda in platform driver
Browse files Browse the repository at this point in the history
This patch adds mt8195 adda dai driver.

audio_h clock is used by ADSP bus and ADDA module.
When ADDA requires audio_h clock, it is switched to APLL1, otherwise
it is switched to Xtal_26m so that APLL1 can be turned off when audio
feature is not used.
ADSP bus only requires that the clock is on, so dynamic reparenting
is used for the purpose of lowering power consumption.

Signed-off-by: Trevor Wu <trevor.wu@mediatek.com>
Link: https://lore.kernel.org/r/20210819084144.18483-5-trevor.wu@mediatek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Trevor Wu authored and Mark Brown committed Aug 24, 2021
1 parent 1de9a54 commit 3de3eba
Showing 1 changed file with 830 additions and 0 deletions.
Loading

0 comments on commit 3de3eba

Please sign in to comment.