We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

Showing results for 
Search instead for 
Did you mean: 
Participant chepner
Registered: ‎10-10-2018

ZCU102 zynqmp - Linux MIPI Camera using VDMA Driver


I have a design that use a camera associated with a MIPI CSI2 Rx Subsystem associated to VDMA IP Core.

I've used the mipi_example from Xilinx in Barematela, it does work fine.

Now, I want to use a Linux OS , I've added a dts insertion and I can see that Xilinx vdma driver is probed.

axi_vdma_0: dma@80100000 {
		#dma-cells = <1>;
		clock-names = "s_axi_lite_aclk", "m_axi_mm2s_aclk", "m_axi_mm2s_aclk", "m_axi_s2mm_aclk", "m_axi_s2mm_aclk";
		clocks = <&misc_clk_0>, <&misc_clk_1>, <&misc_clk_1>, <&misc_clk_1>, <&misc_clk_1>;
		compatible = "xlnx,axi-vdma-1.00.a";
		interrupt-names = "mm2s_introut s2mm_introut";
		interrupt-parent = <&gic>;
		interrupts = <0 106 4 0 107 4>;
		reg = <0x0 0x80100000 0x0 0x10000>;
		xlnx,addrwidth = <0x20>;
		xlnx,flush-fsync = <0x1>;
		xlnx,num-fstores = <0x3>;
		dma-channel@80100000 {
			compatible = "xlnx,axi-vdma-mm2s-channel";
			interrupts = <0 106 4>;
			xlnx,datawidth = <0x30>;
			xlnx,device-id = <0x0>;
			xlnx,genlock-mode ;
			xlnx,include-dre ;
		dma-channel@80100030 {
			compatible = "xlnx,axi-vdma-s2mm-channel";
			interrupts = <0 107 4>;
			xlnx,datawidth = <0x10>;
			xlnx,device-id = <0x0>;
			xlnx,include-dre ;

We can see that VDMA Driver is probed and initialised correctly.


[    4.424409] xilinx-vdma 80100000.dma: Xilinx AXI VDMA Engine Driver Probed!!

But, I don't know haw to use this driver to configure my VDMA to store frames in DDR .


The driver doens't create any character device to be used from usersapce.


Any help !


0 Kudos