I do want to interface the IMX219 with IMX8MM-MINI controller but i could not able to run Gstreamer pipeline as shown in below image.
I have used IMX219 driver code available from 5.7 version of linux.
I am working on 5.4.70 version in my board.
I do concern about following kernel log:
[ 322.626279] mxc_mipi-csi 32e30000.mipi_csi: format not match
DTS Entry:
imx219_mipi: imx219_mipi@10 {
compatible = "sony,imx219";
reg = <0x10>;
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_csi_pwn>, <&pinctrl_csi_rst>;
clocks = <&clk IMX8MM_CLK_CLKO1>;
clock-names = "xclk";
assigned-clocks = <&clk IMX8MM_CLK_CLKO1>;
assigned-clock-parents = <&clk IMX8MM_CLK_24M>;
assigned-clock-rates = <24000000>;
csi-id = <0>;
reset-gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
pwn-gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
clock-frequency = <24000000>;
mclk_source = <0>;
port {
imx219_mipi1_ep: endpoint {
remote-endpoint = <&mipi1_sensor_ep>;
clock-lanes = <0>;
data-lanes = <1 2>;
clock-noncontinuous;
link-frequencies = /bits/ 64 <456000000>;
};
};
&mipi_csi_1 {
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
port {
mipi1_sensor_ep: endpoint@1 {
remote-endpoint = <&imx219_mipi1_ep>;
data-lanes = <1 2>;
link-frequencies = /bits/ 64 <480000000>;
csis-hs-settle = <13>;
csis-clk-settle = <2>;
csis-wclk;
};
csi1_mipi_ep: endpoint@2 {
remote-endpoint = <&csi1_ep>;
};
};
};
Can you support on this?
yes, current mipi csi only support raw8, if you need raw10, you need add this format in the driver, you can refer to this link as below