clk: imx8mp: Add audio shared gate
authorAbel Vesa <abel.vesa@nxp.com>
Mon, 7 Nov 2022 08:50:07 +0000 (16:50 +0800)
committerAbel Vesa <abel.vesa@linaro.org>
Mon, 21 Nov 2022 22:04:49 +0000 (00:04 +0200)
commitb1f12a685d459c3fc898b12d0b052acfab2e3018
tree9486d1d324c0c14299729e85bcc63c033f193938
parent36759c4fe217263a4688aabf384302afbe1004fa
clk: imx8mp: Add audio shared gate

According to the RM, the CCGR101 is shared for the following root clocks:
- AUDIO_AHB_CLK_ROOT
- AUDIO_AXI_CLK_ROOT
- SAI1_CLK_ROOT
- SAI2_CLK_ROOT
- SAI3_CLK_ROOT
- SAI5_CLK_ROOT
- SAI6_CLK_ROOT
- SAI7_CLK_ROOT
- PDM_CLK_ROOT

IMX8MP_CLK_AUDIO_ROOT is same as AUDIO_AHB_CLK_ROOT
which can avoid break any users.

Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Link: https://lore.kernel.org/r/1667811007-19222-3-git-send-email-shengjiu.wang@nxp.com
drivers/clk/imx/clk-imx8mp.c