This is a cache of https://discuss.96boards.org/t/bring-up-imx327-image-sensor-for-db410c/8571. It is a snapshot of the page at 2024-09-19T11:48:04.470+0000.
Bring up IMX327 image sensor <strong>f</strong>or DB410C - DragonBoard410c - 96Boards <strong>f</strong>orum

Bring up IMX327 image sensor for DB410C

Does anyone bring up successful imx327 image sensor for DB410C from Sony?

INCK input frequency request is 37.125 Mhz.

How can i get this clock? As i know, max clock frequency is 34.28 Mhz.

Thanks,
Hao

Hi @ncoah,

AfAIK dragonboard410c can generate upto 66.67MHz MCLK:
https://git.linaro.org/landing-teams/working/qualcomm/kernel.git/tree/drivers/clk/qcom/gcc-msm8916.c?h=debian-qcom-dragonboard410c-19.01#n831

Sorry, my board is DB820C. Do you have any information for MCLK for CAMERA?

Almost same, 66.67 MHz: mmcc-msm8996.c « qcom « clk « drivers - working/qualcomm/kernel.git - Qualcomm Landing Team kernel

Only thing to note is, you need to calculate whether GCC can exactly deliver the required frequency or not. It depends on the m,n divider settings in the driver. for instance:

f(66666667, P_GPLL0, 1, 1, 9),

Here, m=1 and n=9. You can dig into the RCG part to know how the frequency gets calculated:
https://git.linaro.org/landing-teams/working/qualcomm/kernel.git/tree/drivers/clk/qcom/clk-rcg2.c?h=debian-qcom-dragonboard410c-19.01#n339

Dear Mr Mani,
Could you please share exactly how to get frequency from m,n?

Thanks,
Hao