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-10-31T11:47:21.051+0000.
Bring up IMX327 image sensor for DB410C - DragonBoard410c - 96Boards Forum

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