Hi TIC weidong sun,
we appreciated your quick support.
We have identify one other pin(GPIO1_IO6) which we can use for clock source.So we have configured it as following.
pinctrl_csi2: csi2grp {
fsl,pins = <
MX8MQ_IOMUXC_GPIO1_IO05_GPIO1_IO5 0x19
MX8MQ_IOMUXC_GPIO1_IO06_CCMSRCGPCMIX_EXT_CLK3 0x59
>;
};
&i2c2 {
ov5640_mipi: ov5640_mipi@3c {
compatible = "ovti,ov5640_mipi";
reg = <0x3c>;
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_csi2>;
clocks = <&clk IMX8MQ_CLK_EXT3>;
clock-names = "csi_mclk";
assigned-clock-rates = <0>, <20000000>;
csi_id = <0>;
pwn-gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
rst-gpios = <&gpio3 13 GPIO_ACTIVE_LOW>;
mclk = <20000000>;
mclk_source = <0>;
port {
ov5640_mipi2_ep: endpoint {
remote-endpoint = <&mipi2_sensor_ep>;
};
};
};
};
But we can't get the clock on GPIO1_IO06.
Can you please help us to work this clock for me?
Please let me know if you need further information.
Thanks,
Parth