]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
arm64: dts: imx8mp: Clarify csis clock frequency
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 13 Aug 2024 23:40:10 +0000 (02:40 +0300)
committerShawn Guo <shawnguo@kernel.org>
Wed, 4 Sep 2024 09:36:18 +0000 (17:36 +0800)
commit7e4030e32a536c47a42bfd7a42b6cb9483ad762c
tree142fbd5ef0e6dedccc0c953f97eea608add05159
parent2b52fd6035b7e8896bad28ed54d183af38bcf570
arm64: dts: imx8mp: Clarify csis clock frequency

The DT nodes for the MIPI CSI-2 receivers (MIPI_CSI) configure the
CAM1_PIX and CAM2_PIX clocks to 266 MHz through the assigned-clock-rates
property, and report that frequency in the clock-frequency property. The
i.MX8MP reference manual and datasheet list 266 MHz as a nominal
frequency when using both CSI-2 receivers, so all looks normal.

In reality, the clock is actually set to 250 MHz, as the selected
parent, IMX8MP_SYS_PLL2_1000M, has a 1/4 output that is selected as the
closest frequency to 266 MHz. This doesn't break operation of the
device, but is clearly misleading.

Clarify the clock configuration by selecting the IMX8MP_SYS_PLL2_250M
parent, dropping the redundant assigned-clock-rates, and setting
clock-frequency to 250 MHz. This doesn't cause any functional change.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Tested-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mp.dtsi