Linux Drivers

Linux Drivers



Linux Drivers

This page is intended to give more details on the Xilinx drivers for Linux, such as testing, how to use the drivers, known issues, etc. The drivers included in the kernel tree are intended to run on the ARM (Zynq, Ultrascale+ MPSoC, Versal) and MicroBlaze Linux.


Driver Information

There are a number of drivers in the kernel tree due to history and they may work, but the following list of drivers are currently what's tested and users are encouraged to use these rather than others. Any other drivers, not in the mainline and only in the Xilinx tree, may be old and that they could be removed at any time.


Component

Platform/IP Core

Link

In Mainline

Location

Comment

Analog to Digital Converter

Zynq-7000 SoC, axi_xadc, xadc_wiz

XADC Driver

Yes

drivers/iio/adc/xilinx-xadc-core.c



AI Engine Driver

Versal

AI Engine Driver

Yes

drivers/misc/xilinx-ai-engine/

AI Engine SSW Driver

System Monitor

Ultrascale+ MPSoC

AMS

No

drivers/iio/adc/xilinx-ams.c



CAN Controller

Zynq-7000 SoC , axi_can
Ultrascale+ MPSoC

LinuxCAN Driver

Yes

drivers/net/can/xilinx_can.c

Alternative CAN4Linux project: can4linux

CANFD Controller

axi_canfd

LinuxCAN Driver

Yes

drivers/net/can/xilinx_can.c



Common Clock Framework

Zynq-7000 SoC


CCF

Yes

drivers/clk/zynq/




cpufreq

Zynq-7000 SoC and
Ultrascale+ MPSoC

Cpufreq

Yes

drivers/cpufreq/cpufreq-dt.c



cpuidle

Zynq-7000 SoC and
Ultrascale+ MPSoC

cpuidle

Yes

drivers/cpuidle/cpuidle-zynq.c



Devcfg

Zynq-7000 SoC

PL Programming

No

drivers/char/xilinx_devcfg.c

xilinx_devcfg.c driver got deprecated in 2018.1 release. So this driver is not part of mainline tree.

DFX Decoupler

DFX Axi Shutdown  manager

Zynq Ultrascale+ MPSoC, Versal

PL Programming

Yes

drivers/fpga/xilinx-pr-decoupler.c



DMA Controller

Zynq-7000 SoC (PL330)

N/A

Yes

drivers/dma/pl330.c

PL330 driver is owned/maintained by linux open source community.

DMA Controller

Platform: Zynq-7000 SoC/Zynq Ultrascale+ MPSoC/Versal
and Microblaze

IP: axi_dma

DMA drivers

Yes

drivers/dma/xilinx/xilinx_dma.c



DMA Controller

Platform:Zynq-7000 SoC/Zynq Ultrascale+ MPSoC/Versal and Microblaze

IP: axi_cdma

DMA drivers

Yes

drivers/dma/xilinx/xilinx_dma.c



DMA Controller

Platform: Zynq-7000 SoC/Zynq Ultrascale+ MPSoC/Versal and Microblaze

IP: axi_vdma

DMA drivers

Yes

drivers/dma/xilinx/xilinx_dma.c



DMA Controller

Platform: Zynq-7000 SoC/Zynq Ultrascale+ MPSoC/Versal and Microblaze

IP: axi_mcdma

DMA drivers

Yes

drivers/dma/xilinx/xilinx_dma.c



DMA Controller

Platform: Zynq Ultrascale+ MPSoC, Versal

IP: ZynqMP DMA

Zynqmp and Versal DMA

Yes

drivers/dma/xilinx/zynqmp_dma.c



DMA Controller

Platform: Zynq Ultrascale+ MPSoC

IP: Video Framebuffer Write
IP: Video Framebuffer Read

Video Framebuffer Write
Video Framebuffer Read

No

drivers/dma/xilinx/xilinx_frmbuf.c