Dear Experts,
We are working on a customer board based on imx8 quad max. We are facing issues with the bring up of AR0144AT +DS90UB960+913A(SerDes combo).
We are able to detect the sensor but unable to successfully link the sensor to a CSI interface ( CSI0).
[ 1.930451] mxc-jpeg 58400000.jpegdec: decoder device registered as /dev/video0 (81,0)
[ 1.939243] mxc-jpeg 58450000.jpegenc: encoder device registered as /dev/video1 (81,1)
[ 2.137578] mxc-md bus@58000000:camera: deferring cap_device device registration
[ 2.149188] mxc-isi 58100000.isi: mxc_isi.0 registered successfully
[ 2.160818] mxc-isi 58110000.isi: mxc_isi.1 registered successfully
[ 2.171306] mxc-isi 58120000.isi: mxc_isi.2 registered successfully
[ 2.183117] mxc-isi 58130000.isi: mxc_isi.3 registered successfully
[ 2.195312] mxc-isi 58140000.isi: mxc_isi.4 registered successfully
[ 2.208932] mxc-isi 58150000.isi: mxc_isi.5 registered successfully
[ 2.220525] mxc-isi 58160000.isi: mxc_isi.6 registered successfully
[ 2.234915] mxc-isi 58170000.isi: mxc_isi.7 registered successfully
[ 2.261129] mxc-mipi-csi2 58227000.csi: lanes: 4,name: mxc-mipi-csi2.0
[ 7.000955] mx8-img-md: Registered mxc_isi.0.capture as /dev/video2
[ 7.007471] mx8-img-md: Registered mxc_isi.1.capture as /dev/video3
[ 7.013962] mx8-img-md: Registered mxc_isi.2.capture as /dev/video4
[ 7.020448] mx8-img-md: Registered mxc_isi.3.capture as /dev/video5
[ 7.026936] mx8-img-md: Registered mxc_isi.4.capture as /dev/video6
[ 7.033412] mx8-img-md: Registered mxc_isi.5.capture as /dev/video7
[ 7.039906] mx8-img-md: Registered mxc_isi.6.capture as /dev/video8
[ 7.046389] mx8-img-md: Registered mxc_isi.7.capture as /dev/video9
[ 7.059856] mx8-img-md: created link [mxc_isi.0] => [mxc_isi.0.capture]
[ 7.066481] mx8-img-md: created link [mxc-mipi-csi2.0] => [mxc_isi.0]
[ 7.072955] mx8-img-md: created link [mxc_isi.1] => [mxc_isi.1.capture]
[ 7.079591] mx8-img-md: created link [mxc-mipi-csi2.0] => [mxc_isi.1]
[ 7.086048] mx8-img-md: created link [mxc_isi.2] => [mxc_isi.2.capture]
[ 7.092682] mx8-img-md: created link [mxc-mipi-csi2.0] => [mxc_isi.2]
[ 7.099136] mx8-img-md: created link [mxc_isi.3] => [mxc_isi.3.capture]
[ 7.105755] mx8-img-md: created link [mxc-mipi-csi2.0] => [mxc_isi.3]
[ 7.112212] mx8-img-md: created link [mxc_isi.4] => [mxc_isi.4.capture]
[ 7.118846] mx8-img-md: created link [mxc_isi.5] => [mxc_isi.5.capture]
[ 7.125475] mx8-img-md: created link [mxc_isi.6] => [mxc_isi.6.capture]
[ 7.132100] mx8-img-md: created link [mxc_isi.7] => [mxc_isi.7.capture]
[ 7.144318] mxc-md bus@58000000:camera: Sensor register failed
[ 7.150173] mxc-md: probe of bus@58000000:camera failed with error -515
[ 9.644441] mxc-mipi-csi2.0: mipi_csi2_s_power, No remote pad found!
[ 9.654849] mxc_isi.4: mxc_isi_capture_open, No remote pad found!
[ 9.655427] mxc_isi.5: mxc_isi_capture_open, No remote pad found!
[ 9.664737] mxc-mipi-csi2.0: mipi_csi2_s_power, No remote pad found!
[ 9.681613] mxc-mipi-csi2.0: mipi_csi2_s_power, No remote pad found!
[ 9.694000] mxc_isi.7: mxc_isi_capture_open, No remote pad found!
[ 9.696381] mxc_isi.6: mxc_isi_capture_open, No remote pad found!
[ 9.726059] mxc-mipi-csi2.0: mipi_csi2_s_power, No remote pad found!
[ 25.262059] mxc-mipi-csi2.0: mipi_csi2_s_power, No remote pad found!
[ 25.276519] mxc-mipi-csi2.0: mipi_csi2_s_power, No remote pad found!
[ 25.290490] mxc-mipi-csi2.0: mipi_csi2_s_power, No remote pad found!
[ 25.304446] mxc-mipi-csi2.0: mipi_csi2_s_power, No remote pad found!
[ 25.318352] mxc_isi.4: mxc_isi_capture_open, No remote pad found!
[ 25.324888] mxc_isi.5: mxc_isi_capture_open, No remote pad found!
[ 25.331087] mxc_isi.6: mxc_isi_capture_open, No remote pad found!
[ 2.574690] imx-cdnhdmi sound-hdmi-tx: ASoC: failed to init link imx8 hdmi: -517
[ 7.000955] mx8-img-md: Registered mxc_isi.0.capture as /dev/video2
[ 7.007471] mx8-img-md: Registered mxc_isi.1.capture as /dev/video3
[ 7.013962] mx8-img-md: Registered mxc_isi.2.capture as /dev/video4
[ 7.020448] mx8-img-md: Registered mxc_isi.3.capture as /dev/video5
[ 7.026936] mx8-img-md: Registered mxc_isi.4.capture as /dev/video6
[ 7.033412] mx8-img-md: Registered mxc_isi.5.capture as /dev/video7
[ 7.039906] mx8-img-md: Registered mxc_isi.6.capture as /dev/video8
[ 7.046389] mx8-img-md: Registered mxc_isi.7.capture as /dev/video9
[ 7.052787] mx8-img-md: Registered sensor subdevice: m00_f_ar0144 4-0010 (1)
[ 7.059856] mx8-img-md: created link [mxc_isi.0] => [mxc_isi.0.capture]
[ 7.066481] mx8-img-md: created link [mxc-mipi-csi2.0] => [mxc_isi.0]
[ 7.072955] mx8-img-md: created link [mxc_isi.1] => [mxc_isi.1.capture]
[ 7.079591] mx8-img-md: created link [mxc-mipi-csi2.0] => [mxc_isi.1]
[ 7.086048] mx8-img-md: created link [mxc_isi.2] => [mxc_isi.2.capture]
[ 7.092682] mx8-img-md: created link [mxc-mipi-csi2.0] => [mxc_isi.2]
[ 7.099136] mx8-img-md: created link [mxc_isi.3] => [mxc_isi.3.capture]
[ 7.105755] mx8-img-md: created link [mxc-mipi-csi2.0] => [mxc_isi.3]
[ 7.112212] mx8-img-md: created link [mxc_isi.4] => [mxc_isi.4.capture]
[ 7.118846] mx8-img-md: created link [mxc_isi.5] => [mxc_isi.5.capture]
[ 7.125475] mx8-img-md: created link [mxc_isi.6] => [mxc_isi.6.capture]
[ 7.132100] mx8-img-md: created link [mxc_isi.7] => [mxc_isi.7.capture]
[ 7.138725] mx8-img-md: subdev_notifier_complete error exit
dmesg | grep ar0144
[ 2.679280] i2c-core: driver [ar0144] registered
[ 5.961484] ar0144 4-0010: probe
[ 5.971504] ar0144 4-0010: 4-0010 supply avdd not found, using dummy regulator
[ 5.978809] ar0144 4-0010: 4-0010 supply dovdd not found, using dummy regulator
[ 5.986203] ar0144 4-0010: 4-0010 supply dvdd not found, using dummy regulator
[ 6.004595] ar0144 4-0010: Chip ID of the AR0144 Sensor is :(001356)
[ 6.020864] i2c i2c-4: client [ar0144] registered with bus id 4-0010
[ 7.052787] mx8-img-md: Registered sensor subdevice: m00_f_ar0144 4-0010 (1)
Our Device tree is configured as follows
camera0 : ar0144@10 {
status ="okay";
compatible="aptina,ar0144";
reg=<0x10>;
clocks=<&clk_dummy>;
clock-names = "xvclk";
//reset-gpios = <&lsio_gpio4 19 GPIO_ACTIVE_LOW>;
clock-frequency = <24000000>;
vdddo-supply = <&camera_vdddo_1v8>;
vdda-supply = <&camera_vdda_2v8>;
vddd-supply = <&camera_vddd_1v5>;
port {
ar0144_ep: endpoint {
data-lanes = <1 2 3 4>;
link-frequencies = /bits/ 64 <248000000>;
remote-endpoint = <&mipi_csi0_ep>;
};
};
};
&isi_0 {
status = "okay";
cap_device {
status = "okay";
};
m2m_device {
status = "disabled";
};
};
&isi_1 {
status = "okay";
cap_device {
status = "okay";
};
};
&isi_2 {
status = "okay";
cap_device {
status = "okay";
};
};
&isi_3 {
status = "disabled";
cap_device {
status = "disabled";
};
m2m_device {
status = "disabled";
};
};
&isi_4 {
status = "disabled";
cap_device {
status = "disabled";
};
};
&isi_5 {
status = "disabled";
cap_device {
status = "disabled";
}
};
&mipi_csi_0 {
#address-cells = <1>;
#size-cells = <0>;
virtual-channel;
status = "okay";
/* Camera 1 MIPI CSI-2 (CSIS0) */
port@0 {
reg = <0>;
mipi_csi0_ep: endpoint {
remote-endpoint = <&ar0144_ep>;
data-lanes = <1 2 3 4>;
csis-hs-settle = <13>;
csis-clk-settle = <2>;
csis-wclk;
};
};
};
We tried adding missing callbacks for link_setup in the driver for the "subdev_notifier_complete error exit" still no luck.
Kindly help us in solving the linking issue on the csi interfacing.
Best,
John