ASoC: mediatek: mt8188: support audsys clock
authorTrevor Wu <trevor.wu@mediatek.com>
Mon, 16 Jan 2023 03:41:21 +0000 (11:41 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 16 Jan 2023 11:16:22 +0000 (11:16 +0000)
commitfdd4e1a28d69648c35bea020c0df3735ddc74889
treec892c9442664c126f6f56ae65de540b91126694b
parentf90f0dd809e6600cf20ab74f07237241925f5cf8
ASoC: mediatek: mt8188: support audsys clock

Add mt8188 audio cg clock control. Audio clock gates are registered to CCF
for reference count and clock parent management.

Signed-off-by: Trevor Wu <trevor.wu@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20230116034131.23943-4-trevor.wu@mediatek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/mt8188/mt8188-audsys-clk.c [new file with mode: 0644]
sound/soc/mediatek/mt8188/mt8188-audsys-clk.h [new file with mode: 0644]
sound/soc/mediatek/mt8188/mt8188-audsys-clkid.h [new file with mode: 0644]