Hello NXP team,
I am working on imx8mq platform to integrate ON Semi camera sensor using AP1302 ISP (CAM1 – Shiratech Solutions (shiratech-solutions.com)). I am working on following On Semi camera sensor where i am getting Base address switching change err during streaming time and when this error comes, at that time streaming is not coming.
- ARX3A0 - I have configured AP1302 to stream on 4 data lanes and I am setting 560x560@120fps and with this resolution, streaming is not working.
I am using NXP latest Yocto hardknot release and 5.10 linux kernel. And I am using following DTS configuration for MIPI CSI:
Can someone please check my configuration and suggest solution for it.
# AP1302 configuration:
&i2c3 {
ap1302_mipi: ap1302@3d {
compatible = "onnn,ap1302";
reg = <0x3d>;
pinctrl-0 = <&pinctrl_csi>;
clocks = <&clk IMX8MQ_CLK_CLKO2>;
clock-names = "xclk";
assigned-clocks = <&clk IMX8MQ_CLK_CLKO2>,
<&clk IMX8MQ_CLK_CLKO2>;
assigned-clock-parents = <&clk IMX8MQ_SYS2_PLL_200M>;
assigned-clock-rates = <0>, <20000000>;
reset-gpios = <&gpio3 24 GPIO_ACTIVE_LOW>;
standby-gpios = <&gpio2 7 GPIO_ACTIVE_HIGH>;
i2csel-gpios = <&gpio2 8 GPIO_ACTIVE_HIGH>;
isptrig-gpios = <&gpio3 12 GPIO_ACTIVE_HIGH>;
status = "okay";
port {
ap1302_ep: endpoint {
remote-endpoint = <&mipi1_sensor_ep>;
data-lanes = <1 2 3 4>;
};
};
sensors {
#address-cells = <1>;
#size-cells = <0>;
onnn,model = "onnn,arx3a0";
sensor@0 {
reg = <0>;
};
};
};
};
&mipi1_sensor_ep {
remote-endpoint = <&ap1302_ep>;
data-lanes = <1 2 3 4>;
csis-wclk;
};
# MIPI CSI Host configuration:
mipi_csi_1: mipi_csi1@30a70000 {
compatible = "fsl,mxc-mipi-csi2_yav";
reg = <0x30a70000 0x1000>;
interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk IMX8MQ_CLK_CSI1_CORE>,
<&clk IMX8MQ_CLK_CSI1_ESC>,
<&clk IMX8MQ_CLK_CSI1_PHY_REF>;
clock-names = "clk_core", "clk_esc", "clk_pxl";
assigned-clocks = <&clk IMX8MQ_CLK_CSI1_CORE>,
<&clk IMX8MQ_CLK_CSI1_PHY_REF>,
<&clk IMX8MQ_CLK_CSI1_ESC>;
assigned-clock-rates = <266000000>, <333000000>, <66000000>;
power-domains = <&pgc_mipi_csi1>;
csis-phy-reset = <&src 0x4c 7>;
phy-gpr = <&iomuxc_gpr 0x88>;
status = "disabled";
};
csi1_bridge: csi1_bridge@30a90000 {
compatible = "fsl,imx8mq-csi", "fsl,imx6s-csi";
reg = <0x30a90000 0x10000>;
interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk IMX8MQ_CLK_DUMMY>,
<&clk IMX8MQ_CLK_CSI1_ROOT>,
<&clk IMX8MQ_CLK_DUMMY>;
clock-names = "disp-axi", "csi_mclk", "disp_dcic";
status = "disabled";
};