Tool/software:
Hi,
We've been trying to run our board with IMX327 camera but with no success. Based on this link we've decided to follow installation steps for IMX290 camera, please look into the attached overlay .dtso file which was based on the already existing IMX219 overlay file. First, we tried to compile the file and upload it to the board and next build fresh kernel following Enable A New CSI-2 Sensor instruction. For both cases the board couldn't detect the camera. To clarify, .dtbo file can be found on the board and we changed uEnv.txt file to include it.
// SPDX-License-Identifier: GPL-2.0
/*
* IMX290 Camera Module
*/
/dts-v1/;
/plugin/;
#include <dt-bindings/gpio/gpio.h>
&{/} {
clk_imx290_fixed: imx290-xclk {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <37125000>; /* 37.125 MHz clock */
};
};
&main_i2c2 {
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
i2c-switch@71 {
compatible = "nxp,pca9543";
#address-cells = <1>;
#size-cells = <0>;
reg = <0x71>;
/* CAM port */
i2c@1 {
#address-cells = <1>;
#size-cells = <0>;
reg = <1>;
imx290: camera@1a {
compatible = "sony,imx290lqr";
reg = <0x1a>;
clocks = <&clk_imx290_fixed>;
clock-names = "xclk";
clock-frequency = <37125000>;
reset-gpios = <&exp1 13 GPIO_ACTIVE_HIGH>;
port {
csi2_cam0: endpoint {
remote-endpoint = <&csi2rx0_in_sensor>;
link-frequencies = /bits/ 64 <445500000 297000000>;
clock-lanes = <0>;
data-lanes = <1 2>;
};
};
};
};
};
};
&cdns_csi2rx0 {
ports {
#address-cells = <1>;
#size-cells = <0>;
csi0_port0: port@0 {
reg = <0>;
status = "okay";
csi2rx0_in_sensor: endpoint {
remote-endpoint = <&csi2_cam0>;
bus-type = <4>; /* CSI2 DPHY */
clock-lanes = <0>;
data-lanes = <1 2>;
};
};
};
};
&ti_csi2rx0 {
status = "okay";
};
&dphy0 {
status = "okay";
};
Best regards,
Konrad