Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Difference between this driver and the driver in the linux kernel #323

Open
free43 opened this issue Feb 20, 2025 · 1 comment
Open

Difference between this driver and the driver in the linux kernel #323

free43 opened this issue Feb 20, 2025 · 1 comment

Comments

@free43
Copy link

free43 commented Feb 20, 2025

Hello,

I came across the driver in the Linux kernel (https://github.com/torvalds/linux/blob/master/drivers/dma/xilinx/xdma.c) and Im wondering whats the difference between these two. The one in the kernel is a platform driver, which uses a different interface to load the driver (matching over device trees).
But what about the implementation differences? Do they work the same way or are they for different usecases? Are there related reference, which maybe answer my questions (I dont came across something in my research)?

Thanks in advance!

@dmitrym1
Copy link

Hi @free43 , that's an interesting question. In my understanding, the driver in /drivers/dma/xilinx is a driver for a SoC that has built-in hard IP from Xilinx, that's why it is instantiated in device tree, just like any other driver for SoC. There is a file that mentions ZynqMP, I guess that's what the driver for. As an opposite, XDMA driver in dma_ip_drivers repo (this one) is for PCIe device (FPGA with XDMA IP) that could be connected to your SoC's PCIe bus.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants