clk: imx: imx8mp: Add audiomix block control
authorMarek Vasut <marex@denx.de>
Wed, 1 Mar 2023 16:32:54 +0000 (17:32 +0100)
committerAbel Vesa <abel.vesa@linaro.org>
Fri, 31 Mar 2023 12:03:19 +0000 (15:03 +0300)
commit6cd95f7b151cdd7852ed9f212faeea8f98ecba10
tree7f8771d1d9399c8c99c4ca83d7430349fe49b0d3
parent27fc5ec673b527dbc2f44787246a39c5ecc01de5
clk: imx: imx8mp: Add audiomix block control

Unlike the other block control IPs in i.MX8M, the audiomix is mostly a
series of clock gates and muxes. Model it as a large static table of
gates and muxes with one exception, which is the PLL14xx . The PLL14xx
SAI PLL has to be registered separately.

Reviewed-by: Marco Felsch <m.felsch@pengutronix.de>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Tested-by: Adam Ford <aford173@gmail.com> #imx8mp-beacon-kit
Tested-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Tested-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Marek Vasut <marex@denx.de>
Tested-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Link: https://lore.kernel.org/r/20230301163257.49005-2-marex@denx.de
drivers/clk/imx/Makefile
drivers/clk/imx/clk-imx8mp-audiomix.c [new file with mode: 0644]