]> Gentwo Git Trees - linux/.git/commit
clk: imx: imx8qxp: Add clock muxes for MIPI and PHY ref clocks
authorOliver F. Brown <oliver.brown@oss.nxp.com>
Fri, 7 Jun 2024 13:33:44 +0000 (21:33 +0800)
committerAbel Vesa <abel.vesa@linaro.org>
Fri, 21 Jun 2024 06:35:27 +0000 (09:35 +0300)
commit236f32230c243b5f6f5e80730a8133fbded2beed
tree5dbcf9c0c1c221a8637dd484558d88788b7cdff0
parent79124129305fc1eec4050a34d15eda65b103ad20
clk: imx: imx8qxp: Add clock muxes for MIPI and PHY ref clocks

The MIPI Pixel and PHY Reference can use the bypass clock as a source. The
MIPI bypass clock is the Pixel clock from the Display controller via the
pixel link. Using the pixel clock for the PHY reference allows the MIPI bit
clock match the pixel rate exactly.

The MIPI pixel clock is currently set to be source from the bypass clock in
the SCFW. This patch allows the pixel clock parent to be set by the kernel
in the event that the SCFW default clock parent may change in the future.

Signed-off-by: Oliver F. Brown <oliver.brown@oss.nxp.com>
Signed-off-by: Robert Chiras <robert.chiras@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Abel Vesa <abel.vesa@linaro.org>
Link: https://lore.kernel.org/r/20240607133347.3291040-13-peng.fan@oss.nxp.com
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
drivers/clk/imx/clk-imx8qxp.c