ASoC: mediatek: mt8192-mt6359: support audio over DP
authorTzung-Bi Shih <tzungbi@google.com>
Wed, 20 Jan 2021 08:08:50 +0000 (16:08 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 20 Jan 2021 18:46:51 +0000 (18:46 +0000)
commit0d80c48c847842de488e76ae434ccb74397623c3
tree3a9f64d1ae7a645fee3e330d677a0745f249f557
parent9bc20e8076c96a54c9fb20228d12ff35c88447d5
ASoC: mediatek: mt8192-mt6359: support audio over DP

If the DTS property is specified, the DP bridge should populate a
"hdmi-codec" platform device (sound/soc/codecs/hdmi-codec.c).

The "hdmi-codec" device is the communication relayer between the ASoC
machine driver and the DP bridge.  For example:
- Notifies DP bridge when setting hw_param.
- Notifies ASoC when jack detection events.

Signed-off-by: Tzung-Bi Shih <tzungbi@google.com>
Link: https://lore.kernel.org/r/20210120080850.699354-6-tzungbi@google.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c