Skip to content

Commit f02b533

Browse files
Fabio EstevamShawn Guo
authored andcommitted
arm64: dts: imx8mm: Drop CSI1 PHY reference clock configuration
The CSI1 PHY reference clock is limited to 125 MHz according to: i.MX 8M Mini Applications Processor Reference Manual, Rev. 3, 11/2020 Table 5-1. Clock Root Table (continued) / page 307 Slice Index n = 123 . Currently the IMX8MM_CLK_CSI1_PHY_REF clock is configured to be fed directly from 1 GHz PLL2 , which overclocks them. Instead, drop the configuration altogether, which defaults the clock to 24 MHz REF clock input, which for the PHY reference clock is just fine. Based on a patch from Marek Vasut for the imx8mn. Fixes: e523b7c ("arm64: dts: imx8mm: Add CSI nodes") Signed-off-by: Fabio Estevam <festevam@denx.de> Reviewed-by: Marek Vasut <marex@denx.de> Reviewed-by: Marco Felsch <m.felsch@pengutronix.de> Reviewed-by: Adam Ford <aford173@gmail.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
1 parent 926c733 commit f02b533

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

arch/arm64/boot/dts/freescale/imx8mm.dtsi

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1221,10 +1221,9 @@
12211221
compatible = "fsl,imx8mm-mipi-csi2";
12221222
reg = <0x32e30000 0x1000>;
12231223
interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
1224-
assigned-clocks = <&clk IMX8MM_CLK_CSI1_CORE>,
1225-
<&clk IMX8MM_CLK_CSI1_PHY_REF>;
1226-
assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_1000M>,
1227-
<&clk IMX8MM_SYS_PLL2_1000M>;
1224+
assigned-clocks = <&clk IMX8MM_CLK_CSI1_CORE>;
1225+
assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_1000M>;
1226+
12281227
clock-frequency = <333000000>;
12291228
clocks = <&clk IMX8MM_CLK_DISP_APB_ROOT>,
12301229
<&clk IMX8MM_CLK_CSI1_ROOT>,

0 commit comments

Comments
 (0)