# Driver development

> Driver foundations and subsystem programming interfaces.

All of Driver development as one markdown file: [/kernel/hardware/driver-api/print.md](/kernel/hardware/driver-api/print.md)

## Driver fundamentals

- [Driver development](/kernel/hardware/driver-api/fundamentals/index.md): Start with the driver model, then find the subsystem API you need.
- [Managing Ownership of the Framebuffer Aperture](/kernel/hardware/driver-api/fundamentals/aperture.md): Reference for Managing Ownership of the Framebuffer Aperture.
- [Driver Basics](/kernel/hardware/driver-api/fundamentals/basics.md): Reference for Driver Basics.
- [Component Helper for Aggregate Drivers](/kernel/hardware/driver-api/fundamentals/component.md): Reference for Component Helper for Aggregate Drivers.
- [Kernel Connector](/kernel/hardware/driver-api/fundamentals/connector.md): Kernel connector - new netlink based userspace <-> kernel space easy to use communication module.
- [Console Drivers](/kernel/hardware/driver-api/fundamentals/console.md): The Linux kernel has 2 general types of console drivers. The first type is assigned by the kernel to all the virtual consoles during the boot process. This type will be called 'system driver', and only one system driver is allowed to…
- [Device links](/kernel/hardware/driver-api/fundamentals/device-link.md): By default, the driver core only enforces dependencies between devices that are borne out of a parent/child relationship within the device hierarchy: When suspending, resuming or shutting down the system, devices are ordered based on this…
- [Frame Buffer Library](/kernel/hardware/driver-api/fundamentals/frame-buffer.md): The frame buffer drivers depend heavily on four data structures. These structures are declared in include/linux/fb.h. They are fb_info, fb_var_screeninfo, fb_fix_screeninfo and fb_monospecs. The last three can be made available to and from…
- [Device drivers infrastructure](/kernel/hardware/driver-api/fundamentals/infrastructure.md): Reference for Device drivers infrastructure.
- [Message-based devices](/kernel/hardware/driver-api/fundamentals/message-based.md): Reference for Message-based devices.
- [Miscellaneous Devices](/kernel/hardware/driver-api/fundamentals/misc-devices.md): Reference for Miscellaneous Devices.
- [Parallel Port Devices](/kernel/hardware/driver-api/fundamentals/miscellaneous.md): See serial/driver.rst for related APIs.
- [MTD NAND Driver Programming Interface](/kernel/hardware/driver-api/fundamentals/mtdnand.md): The generic NAND driver supports almost all NAND and AG-AND based chips and connects them to the Memory Technology Devices (MTD) subsystem of the Linux Kernel.
- [Writing s390 channel device drivers](/kernel/hardware/driver-api/fundamentals/s390-drivers.md): This document describes the interfaces available for device drivers that drive s390 based channel attached I/O devices. This includes interfaces for interaction with the hardware and interfaces for interacting with the common driver core.…
- [SM501 Driver](/kernel/hardware/driver-api/fundamentals/sm501.md): The Silicon Motion SM501 multimedia companion chip is a multifunction device which may provide numerous interfaces including USB host controller USB gadget, asynchronous serial ports, audio functions, and a dual display video interface.…
- [The Userspace I/O HOWTO](/kernel/hardware/driver-api/fundamentals/uio-howto.md): If you know of any translations for this document, or you are interested in translating it, please email me hjk@hansjkoch.de.
- [VFIO Mediated devices](/kernel/hardware/driver-api/fundamentals/vfio-mediated-device.md): The number of use cases for virtualizing DMA devices that do not have built-in SR_IOV capability is increasing. Previously, to virtualize such devices, developers had to create their own management interfaces and APIs, and then integrate…
- [Acceptance criteria for vfio-pci device specific driver variants](/kernel/hardware/driver-api/fundamentals/vfio-pci-device-specific-driver-acceptance.md): The vfio-pci driver exists as a device agnostic driver using the system IOMMU and relying on the robustness of platform fault handling to provide isolated device access to userspace. While the vfio-pci driver does include some device…
- [VFIO - "Virtual Function I/O" 1](/kernel/hardware/driver-api/fundamentals/vfio.md): Many modern systems now provide DMA and interrupt remapping facilities to help ensure I/O devices behave within the boundaries they've been allotted. This includes x86 hardware with AMD-Vi and Intel VT-d, POWER systems with Partitionable…

## Device I/O and shared memory

- [Bus-Independent Device Accesses](/kernel/hardware/driver-api/io-and-dma/device-io.md): Linux provides an API which abstracts performing IO across all buses and devices, allowing device drivers to be written independently of bus type.
- [Buffer Sharing and Synchronization (dma-buf)](/kernel/hardware/driver-api/io-and-dma/dma-buf.md): The dma-buf subsystem provides the framework for sharing buffers for hardware (DMA) access across multiple device drivers and subsystems, and for synchronizing asynchronous hardware access.
- [Generic Radix Page Table](/kernel/hardware/driver-api/io-and-dma/generic-pt.md): Generic PT is structured as a multi-compilation system. Since each format provides an API using a common set of names there can be only one format active within a compilation unit. This design avoids function pointers around the low level…
- [The io_mapping functions](/kernel/hardware/driver-api/io-and-dma/io-mapping.md): The io_mapping functions in linux/io-mapping.h provide an abstraction for efficiently mapping small regions of an I/O device to the CPU. The initial usage is to support the large graphics aperture on 32-bit processors where ioremap_wc…
- [Ordering I/O writes to memory-mapped addresses](/kernel/hardware/driver-api/io-and-dma/io-ordering.md): On some platforms, so-called memory-mapped I/O is weakly ordered. On such platforms, driver writers are responsible for ensuring that I/O writes to memory-mapped addresses on their device arrive in the order intended. This is typically…
- [ioctl based interfaces](/kernel/hardware/driver-api/io-and-dma/ioctl.md): ioctl() is the most common way for applications to interface with device drivers. It is flexible and easily extended by adding new commands and can be passed through character devices, block devices as well as sockets and other special…
- [Sync File API Guide](/kernel/hardware/driver-api/io-and-dma/sync-file.md): This document serves as a guide for device drivers writers on what the sync_file API is, and how drivers can support it. Sync file is the carrier of the fences(struct dma_fence) that are needed to synchronize between drivers or across…

## Bus programming reference

- [Auxiliary Bus](/kernel/hardware/driver-api/buses/auxiliary-bus.md): Reference for Auxiliary Bus.
- [EISA bus support](/kernel/hardware/driver-api/buses/eisa.md): This document groups random notes about porting EISA drivers to the new EISA/sysfs API.
- [Firewire (IEEE 1394) driver Interface Guide](/kernel/hardware/driver-api/buses/firewire.md): use/maintain+any resource on IEEE 1394 bus.
- [High Speed Synchronous Serial Interface (HSI)](/kernel/hardware/driver-api/buses/hsi.md): High Speed Synchronous Interface (HSI) is a full duplex, low latency protocol, that is optimized for die-level interconnect between an Application Processor and a Baseband chipset. It has been specified by the MIPI alliance in 2003 and…
- [I2C and SMBus Subsystem](/kernel/hardware/driver-api/buses/i2c.md): I2C (or without fancy typography, "I2C") is an acronym for the "Inter-IC" bus, a simple bus protocol which is widely used where low data rate communications suffice. Since it's also a licensed trademark, some vendors use another name (such…
- [InfiniBand and Remote DMA (RDMA) Interfaces](/kernel/hardware/driver-api/buses/infiniband.md): TBD
- [ISA Drivers](/kernel/hardware/driver-api/buses/isa.md): The following text is adapted from the commit message of the initial commit of the ISA bus driver authored by Rene Herman.
- [libATA Developer's Guide](/kernel/hardware/driver-api/buses/libata.md): libATA is a library used inside the Linux kernel to support ATA host controllers and devices. libATA provides an ATA driver API, class transports for ATA and ATAPI devices, and SCSI<->ATA translation for ATA devices according to the T10…
- [MEN Chameleon Bus](/kernel/hardware/driver-api/buses/men-chameleon-bus.md): This document describes the architecture and implementation of the MEN Chameleon Bus (called MCB throughout this document).
- [NTB Drivers](/kernel/hardware/driver-api/buses/ntb.md): NTB (Non-Transparent Bridge) is a type of PCI-Express bridge chip that connects the separate memory systems of two or more computers to the same PCI-Express fabric. Existing NTB hardware supports a common feature set: doorbell registers…
- [PARPORT interface documentation](/kernel/hardware/driver-api/buses/parport-lowlevel.md): Described here are the following functions:
- [SCSI Interfaces Guide](/kernel/hardware/driver-api/buses/scsi.md): Once upon a time, the Small Computer Systems Interface defined both a parallel I/O bus and a data protocol to connect a wide variety of peripherals (disk drives, tape drives, modems, printers, scanners, optical drives, test equipment, and…
- [Linux kernel SLIMbus support](/kernel/hardware/driver-api/buses/slimbus.md): SLIMbus (Serial Low Power Interchip Media Bus) is a specification developed by MIPI (Mobile Industry Processor Interface) alliance. The bus uses master/slave configuration, and is a 2-wire multi-drop implementation (clock, and data).
- [Serial Peripheral Interface (SPI)](/kernel/hardware/driver-api/buses/spi.md): SPI is the "Serial Peripheral Interface", widely used with embedded systems because it is a simple and efficient interface: basically a multiplexed shift register. Its three signal wires hold a clock (SCK, often in the range of 1-20 MHz),…
- [Linux Switchtec Support](/kernel/hardware/driver-api/buses/switchtec.md): Microsemi's "Switchtec" line of PCI switch devices is already supported by the kernel with standard PCI switch drivers. However, the Switchtec device advertises a special management endpoint which enables some additional functionality.…
- [target and iSCSI Interfaces Guide](/kernel/hardware/driver-api/buses/target.md): TBD
- [VME Device Drivers](/kernel/hardware/driver-api/buses/vme.md): As with other subsystems within the Linux kernel, VME device drivers register with the VME subsystem, typically called from the devices init routine. This is achieved via a call to vme_register_driver().
- [W1: Dallas' 1-wire bus](/kernel/hardware/driver-api/buses/w1.md): W1 kernel API functions.
- [Xillybus driver for generic FPGA interface](/kernel/hardware/driver-api/buses/xillybus.md): An FPGA (Field Programmable Gate Array) is a piece of logic hardware, which can be programmed to become virtually anything that is usually found as a dedicated chipset: For instance, a display adapter, network interface card, or even a…
- [Writing Device Drivers for Zorro Devices](/kernel/hardware/driver-api/buses/zorro.md): The Zorro bus is the bus used in the Amiga family of computers. Thanks to AutoConfig(tm), it's 100% Plug-and-Play.

## Clocks, signals and platform services

- [The Common Clk Framework](/kernel/hardware/driver-api/services/clk.md): This document endeavours to explain the common clk framework details, and how to port a platform over to this framework. It is not yet a detailed explanation of the clock api in include/linux/clk.h, but perhaps someday it will include that…
- [Device Frequency Scaling](/kernel/hardware/driver-api/services/devfreq.md): This framework provides a standard kernel interface for Dynamic Voltage and Frequency Switching on arbitrary devices.
- [The Linux kernel dpll subsystem](/kernel/hardware/driver-api/services/dpll.md): PLL - Phase Locked Loop is an electronic circuit which syntonizes clock signal of a device with an external clock signal. Effectively enabling device to run on the same clock signal beat as provided on a PLL input.
- [Error Detection And Correction (EDAC) Devices](/kernel/hardware/driver-api/services/edac.md): There are several things to be aware of that aren't at all obvious, like sockets, *socket sets, banks, rows, chip-select rows, channels, etc...
- [Extcon Device Subsystem](/kernel/hardware/driver-api/services/extcon.md): The Extcon (External Connector) subsystem provides a unified framework for managing external connectors in Linux systems. It allows drivers to report the state of external connectors and provides a standardized interface for userspace to…
- [Generic Counter Interface](/kernel/hardware/driver-api/services/generic-counter.md): Counter devices are prevalent among a diverse spectrum of industries. The ubiquitous presence of these devices necessitates a common interface and standard of interaction and exposure. This driver API attempts to resolve the issue of…
- [Recoverable Hardware Error Tracking in vmcoreinfo](/kernel/hardware/driver-api/services/hw-recoverable-errors.md): This feature provides a generic infrastructure within the Linux kernel to track and log recoverable hardware errors. These are hardware recoverable errors visible that might not cause immediate panics but may influence health, mainly…
- [Input Subsystem](/kernel/hardware/driver-api/services/input.md): Reference for Input Subsystem.
- [Generic System Interconnect Subsystem](/kernel/hardware/driver-api/services/interconnect.md): This framework is designed to provide a standard kernel interface to control the settings of the interconnects on an SoC. These settings can be throughput, latency and priority between multiple interconnected devices or functional blocks.…
- [IPMB Driver for a Satellite MC](/kernel/hardware/driver-api/services/ipmb.md): The Intelligent Platform Management Bus or IPMB, is an I2C bus that provides a standardized interconnection between different boards within a chassis. This interconnection is between the baseboard management (BMC) and chassis electronics.…
- [The Linux IPMI Driver](/kernel/hardware/driver-api/services/ipmi.md): The Intelligent Platform Management Interface, or IPMI, is a standard for controlling intelligent devices that monitor a system. It provides for dynamic discovery of sensors in the system and the ability to monitor the sensors and be…
- [The Common Mailbox Framework](/kernel/hardware/driver-api/services/mailbox.md): This document aims to help developers write client and controller drivers for the API. But before we start, let us note that the client (especially) and controller drivers are likely going to be very platform specific because the remote…
- [NVMEM Subsystem](/kernel/hardware/driver-api/services/nvmem.md): Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
- [PINCTRL (PIN CONTROL) subsystem](/kernel/hardware/driver-api/services/pin-control.md): This document outlines the pin control subsystem in Linux
- [PPS - Pulse Per Second](/kernel/hardware/driver-api/services/pps.md): Copyright (C) 2007 Rodolfo Giometti <giometti@enneenne.com>
- [PTP hardware clock infrastructure for Linux](/kernel/hardware/driver-api/services/ptp.md): This patch set introduces support for IEEE 1588 PTP clocks in Linux. Together with the SO_TIMESTAMPING socket options, this presents a standardized method for developing PTP user space programs, synchronizing Linux with external clocks,…
- [Pulse Width Modulation (PWM) interface](/kernel/hardware/driver-api/services/pwm.md): This provides an overview about the Linux PWM interface
- [Power Sequencing API](/kernel/hardware/driver-api/services/pwrseq.md): This framework is designed to abstract complex power-up sequences that are shared between multiple logical devices in the Linux kernel.
- [Voltage and current regulator API](/kernel/hardware/driver-api/services/regulator.md): This framework is designed to provide a standard kernel interface to control voltage and current regulators.
- [Reset controller API](/kernel/hardware/driver-api/services/reset.md): Reset controllers are central units that control the reset signals to multiple peripherals. The reset controller API is split into two parts: the consumer driver interface (API reference), which allows peripheral drivers to request control…
- [rfkill - RF kill switch support](/kernel/hardware/driver-api/services/rfkill.md): Introduction
- [TEE (Trusted Execution Environment) driver API](/kernel/hardware/driver-api/services/tee.md): Kernel provides a TEE bus infrastructure where a Trusted Application is represented as a device identified via Universally Unique Identifier (UUID) and client drivers register a table of supported device UUIDs.
- [WBRF - Wifi Band RFI Mitigations](/kernel/hardware/driver-api/services/wbrf.md): Due to electrical and mechanical constraints in certain platform designs there may be likely interference of relatively high-powered harmonics of the GPU memory clocks with local radio module frequency bands used by certain Wifi bands.
- [WMI Driver API](/kernel/hardware/driver-api/services/wmi.md): The WMI driver core supports a more modern bus-based interface for interacting with WMI devices, and an older GUID-based interface. The latter interface is considered to be deprecated, so new WMI drivers should generally avoid it since it…

## DMA engines

- [DMAEngine documentation](/kernel/hardware/driver-api/dmaengine/index.md): DMAEngine documentation provides documents for various aspects of DMAEngine framework.
- [DMA Engine API Guide](/kernel/hardware/driver-api/dmaengine/client.md): Vinod Koul <vinod dot koul at intel.com>
- [DMA Test Guide](/kernel/hardware/driver-api/dmaengine/dmatest.md): Andy Shevchenko <andriy.shevchenko@linux.intel.com>
- [DMAengine controller documentation](/kernel/hardware/driver-api/dmaengine/provider.md): Most of the Slave DMA controllers have the same general principles of operations.
- [PXA/MMP - DMA Slave controller](/kernel/hardware/driver-api/dmaengine/pxa-dma.md): a) Transfers hot queuing A driver submitting a transfer and issuing it should be granted the transfer is queued even on a running DMA channel. This implies that the queuing doesn't wait for the previous transfer end, and that the…

## Device and driver model

- [Driver Model](/kernel/hardware/driver-api/driver-model/index.md): Reference for Driver Model.
- [Driver Binding](/kernel/hardware/driver-api/driver-model/binding.md): Driver binding is the process of associating a device with a device driver that can control it. Bus drivers have typically handled this because there have been bus-specific structures to represent the devices and the drivers. With generic…
- [Bus Types](/kernel/hardware/driver-api/driver-model/bus.md): See the kerneldoc for the struct bus_type.
- [Device Driver Design Patterns](/kernel/hardware/driver-api/driver-model/design-patterns.md): This document describes a few common design patterns found in device drivers. It is likely that subsystem maintainers will ask driver developers to conform to these design patterns.
- [The Basic Device Structure](/kernel/hardware/driver-api/driver-model/device.md): See the kerneldoc for the struct device.
- [Devres - Managed Device Resource](/kernel/hardware/driver-api/driver-model/devres.md): Tejun Heo <teheo@suse.de>
- [Device Drivers](/kernel/hardware/driver-api/driver-model/driver.md): See the kerneldoc for the struct device_driver.
- [The Linux Kernel Device Model](/kernel/hardware/driver-api/driver-model/overview.md): Patrick Mochel <mochel@digitalimplant.org>
- [Platform Devices and Drivers](/kernel/hardware/driver-api/driver-model/platform.md): See <linux/platform_device.h> for the driver model interface to the platform bus: platform_device, and platform_driver. This pseudo-bus is used to connect devices on buses with minimal infrastructure, like those used to integrate…
- [Porting Drivers to the New Driver Model](/kernel/hardware/driver-api/driver-model/porting.md): Patrick Mochel

## early-userspace

- [Early Userspace](/kernel/hardware/driver-api/early-userspace/index.md): Reference for Early Userspace.
- [initramfs buffer format](/kernel/hardware/driver-api/early-userspace/buffer-format.md): Al Viro, H. Peter Anvin
- [Early userspace support](/kernel/hardware/driver-api/early-userspace/early-userspace-support.md): Last update: 2004-12-20 tlh

## Compute Express Link (CXL)

- [Compute Express Link](/kernel/hardware/driver-api/cxl/index.md): CXL device configuration has a complex handoff between platform (Hardware, BIOS, EFI), OS (early boot, core kernel, driver), and user policy decisions that have impacts on each other. The docs here break up configurations steps.
- [Compute Express Link: Linux Conventions](/kernel/hardware/driver-api/cxl/conventions.md): There exists shipping platforms that bend or break CXL specification expectations. Record the details and the rationale for those deviations. Borrow the ACPI Code First template format to capture the assumptions and tradeoffs such that…
- [Compute Express Link Subsystem Maturity Map](/kernel/hardware/driver-api/cxl/maturity-map.md): The Linux CXL subsystem tracks the dynamic CXL specification that continues to respond to new use cases with new features, capability updates and fixes. At any given point some aspects of the subsystem are more mature than others. While…
- [Compute Express Link Driver Theory of Operation](/kernel/hardware/driver-api/cxl/theory-of-operation.md): A Compute Express Link Memory Device is a CXL component that implements the CXL.mem protocol. It contains some amount of volatile memory, persistent memory, or both. It is enumerated as a PCI device for configuration and passing messages…

## cxl: allocation

- [DAX Devices](/kernel/hardware/driver-api/cxl-allocation/dax.md): CXL capacity exposed as a DAX device can be accessed directly via mmap. Users may wish to use this interface mechanism to write their own userland CXL allocator, or to managed shared or persistent memory regions across multiple hosts.
- [Huge Pages](/kernel/hardware/driver-api/cxl-allocation/hugepages.md): CXL Memory onlined as SystemRAM during early boot is eligible for use by CMA, as the NUMA node hosting that capacity will be Online at the time CMA carves out contiguous capacity.
- [The Page Allocator](/kernel/hardware/driver-api/cxl-allocation/page-allocator.md): The kernel page allocator services all general page allocation requests, such as kmalloc. CXL configuration steps affect the behavior of the page allocator based on the selected Memory Zone and NUMA node the capacity is placed in.
- [Reclaim](/kernel/hardware/driver-api/cxl-allocation/reclaim.md): Another way CXL memory can be utilized indirectly is via the reclaim system in mm/vmscan.c. Reclaim is engaged when memory capacity on the system becomes pressured based on global and cgroup-local watermark settings.

## cxl: conventions

- [ACPI PRM CXL Address Translation](/kernel/hardware/driver-api/cxl-conventions/cxl-atl.md): CXL Revision 3.2, Version 1.0
- [Resolve conflict between CFMWS, Platform Memory Holes, and Endpoint Decoders](/kernel/hardware/driver-api/cxl-conventions/cxl-lmh.md): CXL Revision 3.2, Version 1.0
- [Template File](/kernel/hardware/driver-api/cxl-conventions/template.md): CXL Revision <rev>, Version <ver>

## cxl: devices

- [Devices and Protocols](/kernel/hardware/driver-api/cxl-devices/device-types.md): The type of CXL device (Memory, Accelerator, etc) dictates many configuration steps. This section covers some basic background on device types and on-device resources used by the platform and OS which impact configuration.

## cxl: linux

- [CXL Access Coordinates Computation](/kernel/hardware/driver-api/cxl-linux/access-coordinates.md): A memory region performance coordinates (latency and bandwidth) are typically provided via ACPI tables SRAT <../platform/acpi/srat> and HMAT <../platform/acpi/hmat>. However, the platform firmware (BIOS) is not able to annotate those for…
- [CXL Driver Operation](/kernel/hardware/driver-api/cxl-linux/cxl-driver.md): The devices described in this section are present in
- [DAX Driver Operation](/kernel/hardware/driver-api/cxl-linux/dax-driver.md): The Direct Access Device driver was originally designed to provide a memory-like access mechanism to memory-like block-devices. It was extended to support CXL Memory Devices, which provide user-configured memory devices.
- [Linux Init (Early Boot)](/kernel/hardware/driver-api/cxl-linux/early-boot.md): Linux configuration is split into two major steps: Early-Boot and everything else.
- [Memory Hotplug](/kernel/hardware/driver-api/cxl-linux/memory-hotplug.md): The final phase of surfacing CXL memory to the kernel page allocator is for the DAX driver to surface a Driver Managed memory region via the memory-hotplug component.
- [Overview](/kernel/hardware/driver-api/cxl-linux/overview.md): This section presents the configuration process of a CXL Type-3 memory device, and how it is ultimately exposed to users as either a DAX device or normal memory pages via the kernel's page allocator.

## cxl: linux: example-configurations

- [Inter-Host-Bridge Interleave](/kernel/hardware/driver-api/cxl-linux-example-configurations/hb-interleave.md): This cxl-cli configuration dump shows the following host configuration:
- [Intra-Host-Bridge Interleave](/kernel/hardware/driver-api/cxl-linux-example-configurations/intra-hb-interleave.md): This cxl-cli configuration dump shows the following host configuration:
- [Multi-Level Interleave](/kernel/hardware/driver-api/cxl-linux-example-configurations/multi-interleave.md): This cxl-cli configuration dump shows the following host configuration:
- [Single Device](/kernel/hardware/driver-api/cxl-linux-example-configurations/single-device.md): This cxl-cli configuration dump shows the following host configuration:

## cxl: platform

- [ACPI Tables](/kernel/hardware/driver-api/cxl-platform/acpi.md): ACPI is the "Advanced Configuration and Power Interface", which is a standard that defines how platforms and OS manage power and configure computer hardware. For the purpose of this theory of operation, when referring to "ACPI" we will…
- [BIOS/EFI Configuration](/kernel/hardware/driver-api/cxl-platform/bios-and-efi.md): BIOS and EFI are largely responsible for configuring static information about devices (or potential future devices) such that Linux can build the appropriate logical representations of these devices.
- [Coherent Device Attribute Table (CDAT)](/kernel/hardware/driver-api/cxl-platform/cdat.md): The CDAT provides functional and performance attributes of devices such as CXL accelerators, switches, or endpoints. The table formatting is similar to ACPI tables. CDAT data may be parsed by BIOS at boot or may be enumerated at runtime…
- [CXL Device Hotplug](/kernel/hardware/driver-api/cxl-platform/device-hotplug.md): Device hotplug refers to physical hotplug of a device (addition or removal of a physical device from the machine).
- [Example Platform Configurations](/kernel/hardware/driver-api/cxl-platform/example-configs.md): Reference for Example Platform Configurations.

## cxl: platform: acpi

- [CEDT - CXL Early Discovery Table](/kernel/hardware/driver-api/cxl-platform-acpi/cedt.md): The CXL Early Discovery Table is generated by BIOS to describe the CXL memory regions configured at boot by the BIOS.
- [DSDT - Differentiated system Description Table](/kernel/hardware/driver-api/cxl-platform-acpi/dsdt.md): This table describes what peripherals a machine has.
- [HMAT - Heterogeneous Memory Attribute Table](/kernel/hardware/driver-api/cxl-platform-acpi/hmat.md): The Heterogeneous Memory Attributes Table contains information such as cache attributes and bandwidth and latency details for memory proximity domains. For the purpose of this document, we will only discuss the SSLIB entry.
- [SLIT - System Locality Information Table](/kernel/hardware/driver-api/cxl-platform-acpi/slit.md): The system locality information table provides "abstract distances" between accessor and memory nodes. Node without initiators (cpus) are infinitely (FF) distance away from all other nodes.
- [SRAT - Static Resource Affinity Table](/kernel/hardware/driver-api/cxl-platform-acpi/srat.md): The System/Static Resource Affinity Table describes resource (CPU, Memory) affinity to "Proximity Domains". This table is technically optional, but for performance information (see "HMAT") to be enumerated by linux it must be present.

## cxl: platform: example-configurations

- [Flexible Presentation](/kernel/hardware/driver-api/cxl-platform-example-configurations/flexible.md): This system has a single socket with two CXL host bridges. Each host bridge has two CXL memory expanders with a 4GB of memory (32GB total).
- [Cross-Host-Bridge Interleave](/kernel/hardware/driver-api/cxl-platform-example-configurations/hb-interleave.md): This system has a single socket with two CXL host bridges. Each host bridge has a single CXL memory expander with a 4GB of memory.
- [Multiple Devices per Host Bridge](/kernel/hardware/driver-api/cxl-platform-example-configurations/multi-dev-per-hb.md): In this example system we will have a single socket and one CXL host bridge. There are two CXL memory expanders with 4GB attached to the host bridge.
- [One Device per Host Bridge](/kernel/hardware/driver-api/cxl-platform-example-configurations/one-dev-per-hb.md): This system has a single socket with two CXL host bridges. Each host bridge has a single CXL memory expander with a 4GB of memory.

## backlight

- [Kernel driver lp855x](/kernel/hardware/driver-api/backlight/lp855x-driver.md): Backlight driver for LP855x ICs

## Media devices

- [Media subsystem kernel internal API](/kernel/hardware/driver-api/media/index.md): This section contains usage information about media subsystem and its supported drivers.
- [Writing camera sensor drivers](/kernel/hardware/driver-api/media/camera-sensor.md): This document covers the in-kernel APIs only. For the best practices on userspace API implementation in camera sensor drivers, please see media_using_camera_sensor_drivers.
- [CEC Kernel Support](/kernel/hardware/driver-api/media/cec-core.md): The CEC framework provides a unified kernel interface for use with HDMI CEC hardware. It is designed to handle a multiple types of hardware (receivers, transmitters, USB dongles). The framework also gives the option to decide what to do in…
- [Digital TV Conditional Access kABI](/kernel/hardware/driver-api/media/dtv-ca.md): Reference for Digital TV Conditional Access kABI.
- [Digital TV Common functions](/kernel/hardware/driver-api/media/dtv-common.md): Those functions are responsible for handling the DVB device nodes.
- [Digital TV (DVB) devices](/kernel/hardware/driver-api/media/dtv-core.md): Digital TV devices are implemented by several different drivers:
- [Digital TV Demux kABI](/kernel/hardware/driver-api/media/dtv-demux.md): The Kernel Digital TV Demux kABI defines a driver-internal interface for registering low-level, hardware specific driver to a hardware independent demux layer. It is only of interest for Digital TV device driver writers. The header file…
- [Digital TV Frontend kABI](/kernel/hardware/driver-api/media/dtv-frontend.md): The Digital TV Frontend kABI defines a driver-internal interface for registering low-level, hardware specific driver to a hardware independent frontend layer. It is only of interest for Digital TV device driver writers. The header file for…
- [Digital TV Network kABI](/kernel/hardware/driver-api/media/dtv-net.md): Reference for Digital TV Network kABI.
- [Media Subsystem Profile](/kernel/hardware/driver-api/media/maintainer-entry-profile.md): The media subsystem covers support for a variety of devices: stream capture, analog and digital TV streams, cameras, remote controllers, HDMI CEC and media pipeline control.
- [Media Controller devices](/kernel/hardware/driver-api/media/mc-core.md): The media controller userspace API is documented in the Media Controller uAPI book <media_controller>. This document focus on the kernel-side implementation of the media framework.
- [Remote Controller devices](/kernel/hardware/driver-api/media/rc-core.md): The remote controller core implements infrastructure to receive and send remote controller keyboard keystrokes and mouse events.
- [Pixel data transmitter and receiver drivers](/kernel/hardware/driver-api/media/tx-rx.md): V4L2 supports various devices that transmit and receive pixel data. Examples of these devices include a camera sensor, a TV tuner and a parallel, a BT.656 or a CSI-2 receiver in an SoC.
- [V4L2 async kAPI](/kernel/hardware/driver-api/media/v4l2-async.md): Reference for V4L2 async kAPI.
- [V4L2 CCI kAPI](/kernel/hardware/driver-api/media/v4l2-cci.md): Reference for V4L2 CCI kAPI.
- [V4L2 common functions and data structures](/kernel/hardware/driver-api/media/v4l2-common.md): Reference for V4L2 common functions and data structures.
- [V4L2 Controls](/kernel/hardware/driver-api/media/v4l2-controls.md): The V4L2 control API seems simple enough, but quickly becomes very hard to implement correctly in drivers. But much of the code needed to handle controls is actually not driver specific and can be moved to the V4L core framework.
- [Video4Linux devices](/kernel/hardware/driver-api/media/v4l2-core.md): Reference for Video4Linux devices.
- [Video device' s internal representation](/kernel/hardware/driver-api/media/v4l2-dev.md): The actual device nodes in the /dev directory are created using the video_device struct (v4l2-dev.h). This struct can either be allocated dynamically or embedded in a larger struct.
- [V4L2 device instance](/kernel/hardware/driver-api/media/v4l2-device.md): Each device instance is represented by a struct v4l2_device. Very simple devices can just allocate this struct, but most of the time you would embed this struct inside a larger struct.
- [V4L2 DV Timings functions](/kernel/hardware/driver-api/media/v4l2-dv-timings.md): Reference for V4L2 DV Timings functions.
- [V4L2 events](/kernel/hardware/driver-api/media/v4l2-event.md): The V4L2 events provide a generic way to pass events to user space. The driver must use v4l2_fh to be able to support V4L2 events.
- [V4L2 File handles](/kernel/hardware/driver-api/media/v4l2-fh.md): struct v4l2_fh provides a way to easily keep file handle specific data that is used by the V4L2 framework. Its usage is mandatory in all drivers.
- [V4L2 flash functions and data structures](/kernel/hardware/driver-api/media/v4l2-flash-led-class.md): Reference for V4L2 flash functions and data structures.
- [V4L2 fwnode kAPI](/kernel/hardware/driver-api/media/v4l2-fwnode.md): Reference for V4L2 fwnode kAPI.
- [Introduction](/kernel/hardware/driver-api/media/v4l2-intro.md): The V4L2 drivers tend to be very complex due to the complexity of the hardware: most devices have multiple ICs, export multiple device nodes in /dev, and create also non-V4L2 devices such as DVB, ALSA, FB, I2C and input (IR) devices.
- [V4L2 generic ISP parameters and statistics support](/kernel/hardware/driver-api/media/v4l2-isp.md): ISP configuration parameters and statistics are processed and collected by drivers and exchanged with userspace through data types that usually reflect the ISP peripheral registers layout.
- [V4L2 JPEG header related functions and data structures](/kernel/hardware/driver-api/media/v4l2-jpeg.md): Reference for V4L2 JPEG header related functions and data structures.
- [V4L2 Media Controller functions and data structures](/kernel/hardware/driver-api/media/v4l2-mc.md): Reference for V4L2 Media Controller functions and data structures.
- [V4L2 Media Bus functions and data structures](/kernel/hardware/driver-api/media/v4l2-mediabus.md): Reference for V4L2 Media Bus functions and data structures.
- [V4L2 Memory to Memory functions and data structures](/kernel/hardware/driver-api/media/v4l2-mem2mem.md): Reference for V4L2 Memory to Memory functions and data structures.
- [V4L2 rect helper functions](/kernel/hardware/driver-api/media/v4l2-rect.md): Reference for V4L2 rect helper functions.
- [V4L2 sub-devices](/kernel/hardware/driver-api/media/v4l2-subdev.md): Many drivers need to communicate with sub-devices. These devices can do all sort of tasks, but most commonly they handle audio and/or video muxing, encoding or decoding. For webcams common sub-devices are sensors and camera controllers.
- [Tuner functions and data structures](/kernel/hardware/driver-api/media/v4l2-tuner.md): Reference for Tuner functions and data structures.
- [Hauppauge TV EEPROM functions and data structures](/kernel/hardware/driver-api/media/v4l2-tveeprom.md): Reference for Hauppauge TV EEPROM functions and data structures.
- [V4L2 videobuf2 functions and data structures](/kernel/hardware/driver-api/media/v4l2-videobuf2.md): Reference for V4L2 videobuf2 functions and data structures.

## Media driver interfaces

- [Media driver-specific documentation](/kernel/hardware/driver-api/media-drivers/index.md): Reference for Media driver-specific documentation.
- [The bttv driver](/kernel/hardware/driver-api/media-drivers/bttv-devel.md): There are a lot of different bt848/849/878/879 based boards available. Making video work often is not a big deal, because this is handled completely by the bt8xx chip, which is common on all boards. But sound is handled in slightly…
- [Contributors](/kernel/hardware/driver-api/media-drivers/contributors.md): Thanks go to the following people for patches and contributions:
- [The cx2341x driver](/kernel/hardware/driver-api/media-drivers/cx2341x-devel.md): This section describes the cx2341x memory map and documents some of the register space.
- [The cx88 driver](/kernel/hardware/driver-api/media-drivers/cx88-devel.md): Author: Gerd Hoffmann
- [Idea behind the dvb-usb-framework](/kernel/hardware/driver-api/media-drivers/dvb-usb.md): In March 2005 I got the new Twinhan USB2.0 DVB-T device. They provided specs and a firmware.
- [The Samsung S5P/EXYNOS4 FIMC driver](/kernel/hardware/driver-api/media-drivers/fimc-devel.md): Copyright © 2012 - 2013 Samsung Electronics Co., Ltd.
- [Frontend drivers](/kernel/hardware/driver-api/media-drivers/frontends.md): Reference for Frontend drivers.
- [Intel IPU6 Driver](/kernel/hardware/driver-api/media-drivers/ipu6.md): Author: Bingbu Cao <bingbu.cao@intel.com>
- [The pvrusb2 driver](/kernel/hardware/driver-api/media-drivers/pvrusb2.md): Author: Mike Isely <isely@pobox.com>
- [PXA-Camera Host Driver](/kernel/hardware/driver-api/media-drivers/pxa-camera.md): Author: Robert Jarzmik <robert.jarzmik@free.fr>
- [The Radiotrack radio driver](/kernel/hardware/driver-api/media-drivers/radiotrack.md): Author: Stephen M. Benoit <benoits@servicepro.com>
- [The Rockchip Image Signal Processor Driver (rkisp1)](/kernel/hardware/driver-api/media-drivers/rkisp1.md): The rkisp1 block underwent some changes between SoC implementations. The vendor designates them as:
- [The saa7134 driver](/kernel/hardware/driver-api/media-drivers/saa7134-devel.md): Author Gerd Hoffmann
- [Cropping and Scaling algorithm, used in the sh_mobile_ceu_camera driver](/kernel/hardware/driver-api/media-drivers/sh-mobile-ceu-camera.md): Author: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
- [Tuner drivers](/kernel/hardware/driver-api/media-drivers/tuners.md): There are some flavors of Tuner programming APIs. These differ mainly by the bandswitch byte.
- [vidtv: Virtual Digital TV driver](/kernel/hardware/driver-api/media-drivers/vidtv.md): Author: Daniel W. S. Almeida <dwlsalmeida@gmail.com>, June 2020.
- [The Virtual Media Controller Driver (vimc)](/kernel/hardware/driver-api/media-drivers/vimc-devel.md): Reference for The Virtual Media Controller Driver (vimc).
- [The Zoran driver](/kernel/hardware/driver-api/media-drivers/zoran.md): unified zoran driver (zr360x7, zoran, buz, dc10(+), dc30(+), lml33)

## media: drivers: ccs

- [MIPI CCS camera sensor driver](/kernel/hardware/driver-api/media-drivers-ccs/ccs.md): The MIPI CCS camera sensor driver is a generic driver for MIPI CCS compliant camera sensors.
- [MIPI CCS register definitions](/kernel/hardware/driver-api/media-drivers-ccs/ccs-regs-asc.md): Register, field and enumeration definitions consumed by the CCS register generator.
- [MIPI CCS register generator](/kernel/hardware/driver-api/media-drivers-ccs/mk-ccs-regs.md): Source of the generator that reads CCS register definitions and emits register and limit tables.

## SoundWire

- [SoundWire Documentation](/kernel/hardware/driver-api/soundwire/index.md): Reference for SoundWire Documentation.
- [Bulk Register Access (BRA)](/kernel/hardware/driver-api/soundwire/bra.md): Capitalized words used in this documentation are intentional and refer to concepts of the SoundWire 1.x specification.
- [Cadence IP BRA support](/kernel/hardware/driver-api/soundwire/bra-cadence.md): The Cadence IP relies on PDI0 for TX and PDI1 for RX. The data needs to be formatted with the following conventions:
- [SoundWire Error Handling](/kernel/hardware/driver-api/soundwire/error-handling.md): The SoundWire PHY was designed with care and errors on the bus are going to be very unlikely, and if they happen it should be limited to single bit errors. Examples of this design can be found in the synchronization mechanism (sync loss…
- [SoundWire Locking](/kernel/hardware/driver-api/soundwire/locking.md): This document explains locking mechanism of the SoundWire Bus. Bus uses following locks in order to avoid race conditions in Bus operations on shared resources.
- [Audio Stream in SoundWire](/kernel/hardware/driver-api/soundwire/stream.md): An audio stream is a logical or virtual connection created between
- [SoundWire Subsystem Summary](/kernel/hardware/driver-api/soundwire/summary.md): SoundWire is a new interface ratified in 2015 by the MIPI Alliance. SoundWire is used for transporting data typically related to audio functions. SoundWire interface is optimized to integrate audio devices in mobile or mobile inspired…

## ACPI

- [ACPI Support](/kernel/hardware/driver-api/acpi/index.md): Reference for ACPI Support.
- [Why using ACPI drivers is not a good idea](/kernel/hardware/driver-api/acpi/acpi-drivers.md): Even though binding drivers directly to struct acpi_device objects, also referred to as "ACPI device nodes", allows basic functionality to be provided at least in some cases, there are problems with it, related to general consistency,…
- [Linuxized ACPICA - Introduction to ACPICA Release Automation](/kernel/hardware/driver-api/acpi/linuxized-acpica.md): This document describes the ACPICA project and the relationship between ACPICA and Linux. It also describes how ACPICA code in drivers/acpi/acpica, include/acpi and tools/power/acpi is automatically updated to follow the upstream.
- [ACPI Scan Handlers](/kernel/hardware/driver-api/acpi/scan-handlers.md): During system initialization and ACPI-based device hot-add, the ACPI namespace is scanned in search of device objects that generally represent various pieces of hardware. This causes a struct acpi_device object to be created and registered…

## Confidential computing

- [Confidential Computing](/kernel/hardware/driver-api/coco/index.md): Reference for Confidential Computing.
- [Measurement Registers](/kernel/hardware/driver-api/coco/measurement-registers.md): Reference for Measurement Registers.

## Firmware loading

- [Linux Firmware API](/kernel/hardware/driver-api/firmware/index.md): Reference for Linux Firmware API.
- [Built-in firmware](/kernel/hardware/driver-api/firmware/built-in-fw.md): Firmware can be built-in to the kernel, this means building the firmware into vmlinux directly, to enable avoiding having to look for firmware from the filesystem. Instead, firmware can be looked for inside the kernel directly. You can…
- [Firmware API core features](/kernel/hardware/driver-api/firmware/core.md): The firmware API has a rich set of core features available. This section documents these features.
- [Direct filesystem lookup](/kernel/hardware/driver-api/firmware/direct-fs-lookup.md): Direct filesystem lookup is the most common form of firmware lookup performed by the kernel. The kernel looks for the firmware directly on the root filesystem in the paths documented in the section 'Firmware search paths'. The filesystem…
- [Fallback mechanisms](/kernel/hardware/driver-api/firmware/fallback-mechanisms.md): Optional upstream firmware-request fallback mechanisms, disabled in the configured Peios build.
- [Firmware Guidelines](/kernel/hardware/driver-api/firmware/firmware-usage-guidelines.md): Users switching to a newer kernel should not have to install newer firmware files to keep their hardware working. At the same time updated firmware files must not cause any regressions for users of older kernel releases.
- [Firmware cache](/kernel/hardware/driver-api/firmware/firmware-cache.md): When Linux resumes from suspend some device drivers require firmware lookups to re-initialize devices. During resume there may be a period of time during which firmware lookups are not possible, during this short period of time firmware…
- [Firmware search paths](/kernel/hardware/driver-api/firmware/fw-search-path.md): The following search paths are used to look for firmware on your root filesystem.
- [Firmware Upload API](/kernel/hardware/driver-api/firmware/fw-upload.md): A device driver that registers with the firmware loader will expose persistent sysfs nodes to enable users to initiate firmware updates for that device. It is the responsibility of the device driver and/or the device itself to perform any…
- [Introduction](/kernel/hardware/driver-api/firmware/introduction.md): The firmware API enables kernel code to request files required for functionality from userspace, the uses vary:
- [Firmware lookup order](/kernel/hardware/driver-api/firmware/lookup-order.md): Different functionality is available to enable firmware to be found. Below is chronological order of how firmware will be looked for once a driver issues a firmware API call.
- [Other Firmware Interfaces](/kernel/hardware/driver-api/firmware/other-interfaces.md): Some features of the Intel Stratix10 SoC require a level of privilege higher than the kernel is granted. Such secure features include FPGA programming. In terms of the ARMv8 architecture, the kernel runs at Exception Level 1 (EL1), access…
- [request_firmware API](/kernel/hardware/driver-api/firmware/request-firmware.md): You would typically load firmware and then load it into your device somehow. The typical firmware work flow is reflected below:

## firmware: efi

- [Unified Extensible Firmware Interface (UEFI) Support](/kernel/hardware/driver-api/firmware-efi/index.md): Reference for Unified Extensible Firmware Interface (UEFI) Support.

## Hardware timestamps

- [The Linux Hardware Timestamping Engine (HTE)](/kernel/hardware/driver-api/hte/index.md): Reference for The Linux Hardware Timestamping Engine (HTE).
- [The Linux Hardware Timestamping Engine (HTE)](/kernel/hardware/driver-api/hte/hte.md): Certain devices have built in hardware timestamping engines which can monitor sets of system signals, lines, buses etc... in realtime for state change; upon detecting the change they can automatically store the timestamp at the moment of…
- [HTE Kernel provider driver](/kernel/hardware/driver-api/hte/tegra-hte.md): The Nvidia tegra HTE provider also known as GTE (Generic Timestamping Engine) driver implements two GTE instances: 1) GPIO GTE and 2) LIC (Legacy Interrupt Controller) IRQ GTE. Both GTE instances get the timestamp from the system counter…

## PLDM firmware updates

- [PLDM Firmware Flash Update Library](/kernel/hardware/driver-api/pldmfw/index.md): pldmfw implements functionality for updating the flash on a device using the PLDM for Firmware Update standard <https://www.dmtf.org/documents/pmci/pldm-firmware-update-specification-100>.
- [Driver-specific callbacks](/kernel/hardware/driver-api/pldmfw/driver-ops.md): The pldmfw module relies on the device driver for implementing device specific behavior using the following operations.
- [PLDM Firmware file format overview](/kernel/hardware/driver-api/pldmfw/file-format.md): A PLDM firmware package is a binary file which contains a header that describes the contents of the firmware package. This includes an initial package header, one or more firmware records, and one or more components describing the actual…

## Power management

- [CPU and Device Power Management](/kernel/hardware/driver-api/pm/index.md): Reference for CPU and Device Power Management.
- [CPU Idle Time Management](/kernel/hardware/driver-api/pm/cpuidle.md): Every time one of the logical CPUs in the system (the entities that appear to fetch and execute instructions: hardware threads, if present, or processor cores) is idle after an interrupt or equivalent wakeup event, which means that there…
- [Device Power Management Basics](/kernel/hardware/driver-api/pm/devices.md): Most of the code in Linux is device drivers, so most of the Linux power management (PM) code is also driver-specific. Most drivers will do very little; others, especially for platforms with small batteries (like cell phones), will do a lot.
- [Suspend/Hibernation Notifiers](/kernel/hardware/driver-api/pm/notifiers.md): There are some operations that subsystems or drivers may want to carry out before hibernation/suspend or after restore/resume, but they require the system to be fully functional, so the drivers' and subsystems' ->suspend() and ->resume()…
- [Device Power Management Data Types](/kernel/hardware/driver-api/pm/types.md): Reference for Device Power Management Data Types.

## surface_aggregator

- [Surface System Aggregator Module (SSAM)](/kernel/hardware/driver-api/surface-aggregator/index.md): Reference for Surface System Aggregator Module (SSAM).
- [Client Driver API Documentation](/kernel/hardware/driver-api/surface-aggregator/client-api.md): Serial Hub Communication
- [Writing Client Drivers](/kernel/hardware/driver-api/surface-aggregator/client.md): For the API documentation, refer to:
- [Internal API Documentation](/kernel/hardware/driver-api/surface-aggregator/internal-api.md): Packet Transport Layer
- [Core Driver Internals](/kernel/hardware/driver-api/surface-aggregator/internal.md): Architectural overview of the Surface System Aggregator Module (SSAM) core and Surface Serial Hub (SSH) driver. For the API documentation, refer to:
- [Overview](/kernel/hardware/driver-api/surface-aggregator/overview.md): The Surface/System Aggregator Module (SAM, SSAM) is an (arguably the) embedded controller (EC) on Microsoft Surface devices. It has been originally introduced on 4th generation devices (Surface Pro 4, Surface Book 1), but its…
- [Surface Serial Hub Protocol](/kernel/hardware/driver-api/surface-aggregator/ssh.md): The Surface Serial Hub (SSH) is the central communication interface for the embedded Surface Aggregator Module controller (SAM or EC), found on newer Surface generations. We will refer to this protocol and interface as SAM-over-SSH, as…

## surface_aggregator: clients

- [Client Driver Documentation](/kernel/hardware/driver-api/surface-aggregator-clients/index.md): This is the documentation for client drivers themselves. Refer to Documentation/driver-api/surface_aggregator/client.rst for documentation on how to write client drivers.
- [User-Space EC Interface (cdev)](/kernel/hardware/driver-api/surface-aggregator-clients/cdev.md): The surface_aggregator_cdev module provides a misc-device for the SSAM controller to allow for a (more or less) direct connection from user-space to the SAM EC. It is intended to be used for development and debugging, and therefore should…
- [User-Space DTX (Clipboard Detachment System) Interface](/kernel/hardware/driver-api/surface-aggregator-clients/dtx.md): The surface_dtx driver is responsible for proper clipboard detachment and re-attachment handling. To this end, it provides the /dev/surface/dtx device file, through which it can interface with a user-space daemon. This daemon is then…
- [Surface ACPI Notify](/kernel/hardware/driver-api/surface-aggregator-clients/san.md): The Surface ACPI Notify (SAN) device provides the bridge between ACPI and SAM controller. Specifically, ACPI code can execute requests and handle battery and thermal events via this interface. In addition to this, events relating to the…

## Thermal management

- [Thermal](/kernel/hardware/driver-api/thermal/index.md): Reference for Thermal.
- [CPU cooling APIs How To](/kernel/hardware/driver-api/thermal/cpu-cooling-api.md): Written by Amit Daniel Kachhap <amit.kachhap@linaro.org>
- [CPU Idle Cooling](/kernel/hardware/driver-api/thermal/cpu-idle-cooling.md): Under certain circumstances a SoC can reach a critical temperature limit and is unable to stabilize the temperature around a temperature control. When the SoC has to stabilize the temperature, the kernel can act on a cooling device to…
- [Kernel driver exynos_tmu](/kernel/hardware/driver-api/thermal/exynos-thermal.md): Supported chips:
- [Exynos Emulation Mode](/kernel/hardware/driver-api/thermal/exynos-thermal-emulation.md): Copyright (C) 2012 Samsung Electronics
- [Intel(R) Dynamic Platform and Thermal Framework Sysfs Interface](/kernel/hardware/driver-api/thermal/intel-dptf.md): Intel(R) Dynamic Platform and Thermal Framework (DPTF) is a platform level hardware/software solution for power and thermal management.
- [Kernel driver nouveau](/kernel/hardware/driver-api/thermal/nouveau-thermal.md): Supported chips:
- [Power allocator governor tunables](/kernel/hardware/driver-api/thermal/power-allocator.md): The governor works optimally with the following two passive trip points:
- [Generic Thermal Sysfs driver How To](/kernel/hardware/driver-api/thermal/sysfs-api.md): Written by Sujith Thomas <sujith.thomas@intel.com>, Zhang Rui <rui.zhang@intel.com>
- [Kernel driver: x86_pkg_temp_thermal](/kernel/hardware/driver-api/thermal/x86-pkg-temperature-thermal.md): Supported chips:

## firmware_class

- [Firmware hotplug script example](/kernel/hardware/driver-api/firmware-class/hotplug-script.md): Original firmware-loading example using the DEVPATH and FIRMWARE environment variables and the sysfs loading interface.

## Wireless LAN (802.11)

- [Linux 802.11 Driver Developer's Guide](/kernel/hardware/driver-api/80211/index.md): Reference for Linux 802.11 Driver Developer's Guide.
- [cfg80211 subsystem](/kernel/hardware/driver-api/80211/cfg80211.md): Reference for cfg80211 subsystem.
- [Introduction](/kernel/hardware/driver-api/80211/introduction.md): Explaining wireless 802.11 networking in the Linux kernel
- [mac80211 subsystem (advanced)](/kernel/hardware/driver-api/80211/mac80211-advanced.md): Information contained within this part of the book is of interest only for advanced interaction of mac80211 with drivers to exploit more hardware capabilities and improve performance.
- [mac80211 subsystem (basics)](/kernel/hardware/driver-api/80211/mac80211.md): You should read and understand the information contained within this part of the book while implementing a mac80211 driver. In some chapters, advanced usage is noted, those may be skipped if this isn't needed.

## Cryptographic devices

- [Crypto Drivers](/kernel/hardware/driver-api/crypto/index.md): Documentation for crypto drivers that may need more involved setup and configuration.

## crypto: iaa

- [IAA (Intel Analytics Accelerator)](/kernel/hardware/driver-api/crypto-iaa/index.md): IAA provides hardware compression and decompression via the crypto API.
- [IAA Compression Accelerator Crypto Driver](/kernel/hardware/driver-api/crypto-iaa/iaa-crypto.md): Tom Zanussi <tom.zanussi@linux.intel.com>

## FPGAs

- [FPGA Subsystem](/kernel/hardware/driver-api/fpga/index.md): Reference for FPGA Subsystem.
- [FPGA Bridge](/kernel/hardware/driver-api/fpga/fpga-bridge.md): struct fpga_bridge - The FPGA Bridge structure
- [FPGA Manager](/kernel/hardware/driver-api/fpga/fpga-mgr.md): The FPGA manager core exports a set of functions for programming an FPGA with an image. The API is manufacturer agnostic. All manufacturer specifics are hidden away in a low level driver which registers a set of ops with the core. The FPGA…
- [In-kernel API for FPGA Programming](/kernel/hardware/driver-api/fpga/fpga-programming.md): The in-kernel API for FPGA programming is a combination of APIs from FPGA manager, bridge, and regions. The actual function used to trigger FPGA programming is fpga_region_program_fpga().
- [FPGA Region](/kernel/hardware/driver-api/fpga/fpga-region.md): This document is meant to be a brief overview of the FPGA region API usage. A more conceptual look at regions can be found in the Device Tree binding document 1.
- [Introduction](/kernel/hardware/driver-api/fpga/intro.md): The FPGA subsystem supports reprogramming FPGAs dynamically under Linux. Some of the core intentions of the FPGA subsystems are:

## GPIO

- [General Purpose Input/Output (GPIO)](/kernel/hardware/driver-api/gpio/index.md): Contents:
- [GPIO Mappings](/kernel/hardware/driver-api/gpio/board.md): This document explains how GPIOs can be assigned to given devices and functions.
- [A driver for a selfmade cheap BT8xx based PCI GPIO-card (bt8xxgpio)](/kernel/hardware/driver-api/gpio/bt8xxgpio.md): For advanced documentation, see https://bues.ch/cms/unmaintained/btgpio.html
- [GPIO Descriptor Consumer Interface](/kernel/hardware/driver-api/gpio/consumer.md): This document describes the consumer interface of the GPIO framework.
- [GPIO Driver Interface](/kernel/hardware/driver-api/gpio/driver.md): This document serves as a guide for writers of GPIO chip drivers.
- [Subsystem drivers using GPIO](/kernel/hardware/driver-api/gpio/drivers-on-gpio.md): Note that standard kernel drivers exist for common GPIO tasks and will provide the right in-kernel and userspace APIs/ABIs for the job, and that these drivers can quite easily interconnect with other kernel subsystems using hardware…
- [Introduction](/kernel/hardware/driver-api/gpio/intro.md): The documents in this directory give detailed instructions on how to access GPIOs in drivers, and how to write a driver for a device that provides GPIOs itself.
- [Supporting Legacy Boards](/kernel/hardware/driver-api/gpio/legacy-boards.md): Many drivers in the kernel, such as leds-gpio and gpio-keys, are migrating away from using board-specific platform_data to a unified device properties interface. This interface allows drivers to be simpler and more generic, as they can…
- [PCA953x I²C GPIO expander compatibility list](/kernel/hardware/driver-api/gpio/pca953x.md): I went through all the datasheets and created this note listing chip functions and register layouts.
- [Using GPIO Lines in Linux](/kernel/hardware/driver-api/gpio/using-gpio.md): The Linux kernel exists to abstract and present hardware to users. GPIO lines as such are normally not user facing abstractions. The most obvious, natural and preferred way to use GPIO lines is to let kernel hardware drivers deal with them.

## I3C

- [I3C subsystem](/kernel/hardware/driver-api/i3c/index.md): Reference for I3C subsystem.
- [I3C device driver API](/kernel/hardware/driver-api/i3c/device-driver-api.md): Reference for I3C device driver API.
- [I3C master controller driver API](/kernel/hardware/driver-api/i3c/master-driver-api.md): Reference for I3C master controller driver API.
- [I3C protocol](/kernel/hardware/driver-api/i3c/protocol.md): This chapter will focus on aspects that matter to software developers. For everything hardware related (like how things are transmitted on the bus, how collisions are prevented, ...) please have a look at the I3C specification.

## Industrial I/O

- [Industrial I/O](/kernel/hardware/driver-api/iio/index.md): Copyright © 2015 Intel Corporation
- [Buffers](/kernel/hardware/driver-api/iio/buffers.md): struct iio_buffer — general buffer structure
- [Core elements](/kernel/hardware/driver-api/iio/core.md): The Industrial I/O core offers both a unified framework for writing drivers for many different types of embedded sensors and a standard interface to user space applications manipulating sensors. The implementation can be found under…
- [HW consumer](/kernel/hardware/driver-api/iio/hw-consumer.md): An IIO device can be directly connected to another device in hardware. In this case the buffers between IIO provider and IIO consumer are handled by hardware. The Industrial I/O HW consumer offers a way to bond these IIO devices without…
- [Introduction](/kernel/hardware/driver-api/iio/intro.md): The main purpose of the Industrial I/O subsystem (IIO) is to provide support for devices that in some sense perform either analog-to-digital conversion (ADC) or digital-to-analog conversion (DAC) or both. The aim is to fill the gap between…
- [Triggered Buffers](/kernel/hardware/driver-api/iio/triggered-buffers.md): Now that we know what buffers and triggers are let's see how they work together.
- [Triggers](/kernel/hardware/driver-api/iio/triggers.md): struct iio_trigger — industrial I/O trigger device

## Multiple-device storage

- [RAID](/kernel/hardware/driver-api/md/index.md): Reference for RAID.
- [MD Cluster](/kernel/hardware/driver-api/md/md-cluster.md): The cluster MD is a shared-device RAID for a cluster, it supports two levels: raid1 and raid10 (limited support).
- [RAID 4/5/6 cache](/kernel/hardware/driver-api/md/raid5-cache.md): Raid 4/5/6 could include an extra disk for data cache besides normal RAID disks. The role of RAID disks isn't changed with the cache disk. The cache disk caches data to the RAID disks. The cache can be in write-through (supported since…
- [Partial Parity Log](/kernel/hardware/driver-api/md/raid5-ppl.md): Partial Parity Log (PPL) is a feature available for RAID5 arrays. The issue addressed by PPL is that after a dirty shutdown, parity of a particular stripe may become inconsistent with data on other member disks. If the array is also in…

## Management Engine Interface

- [Intel(R) Management Engine Interface (Intel(R) MEI)](/kernel/hardware/driver-api/mei/index.md): Copyright © 2019 Intel Corporation
- [HDCP:](/kernel/hardware/driver-api/mei/hdcp.md): ME FW as a security engine provides the capability for setting up HDCP2.2 protocol negotiation between the Intel graphics device and an HDC2.2 sink.
- [Intel(R) Active Management Technology (Intel AMT)](/kernel/hardware/driver-api/mei/iamt.md): Prominent usage of the Intel ME Interface is to communicate with Intel(R) Active Management Technology (Intel AMT) implemented in firmware running on the Intel ME.
- [Intel(R) Management Engine (ME) Client bus API](/kernel/hardware/driver-api/mei/mei-client-bus.md): The MEI character device is useful for dedicated applications to send and receive data to the many FW appliance found in Intel's ME from the user space. However, for some of the ME functionalities it makes sense to leverage existing…
- [Introduction](/kernel/hardware/driver-api/mei/mei.md): The Intel Management Engine (Intel ME) is an isolated and protected computing resource (Co-processor) residing inside certain Intel chipsets. The Intel ME provides support for computer/IT management and security features. The actual…
- [MEI NFC](/kernel/hardware/driver-api/mei/nfc.md): Some Intel 8 and 9 Series chipsets support NFC devices connected behind the Intel Management Engine controller. MEI client bus exposes the NFC chips as NFC phy devices and enables binding with Microread and NXP PN544 NFC device driver from…

## Memory devices

- [Memory Controller drivers](/kernel/hardware/driver-api/memory-devices/index.md): Reference for Memory Controller drivers.
- [TI EMIF SDRAM Controller Driver](/kernel/hardware/driver-api/memory-devices/ti-emif.md): Aneesh V <aneesh@ti.com>
- [GPMC (General Purpose Memory Controller)](/kernel/hardware/driver-api/memory-devices/ti-gpmc.md): GPMC is an unified memory controller dedicated to interfacing external memory devices like

## MMC and SD

- [MMC/SD/SDIO card support](/kernel/hardware/driver-api/mmc/index.md): Reference for MMC/SD/SDIO card support.
- [MMC Asynchronous Request](/kernel/hardware/driver-api/mmc/mmc-async-req.md): How significant is the cache maintenance overhead?
- [SD and MMC Block Device Attributes](/kernel/hardware/driver-api/mmc/mmc-dev-attrs.md): These attributes are defined for the block devices associated with the SD or MMC device.
- [SD and MMC Device Partitions](/kernel/hardware/driver-api/mmc/mmc-dev-parts.md): Device partitions are additional logical block devices present on the SD/MMC device.
- [MMC Test Framework](/kernel/hardware/driver-api/mmc/mmc-test.md): The mmc_test framework is designed to test the performance and reliability of host controller drivers and all devices handled by the MMC subsystem. This includes not only MMC devices but also SD cards and other devices supported by the…
- [MMC tools introduction](/kernel/hardware/driver-api/mmc/mmc-tools.md): There is one MMC test tools called mmc-utils, which is maintained by Ulf Hansson, you can find it at the below public git repository:

## Flash memory (MTD)

- [Memory Technology Device (MTD)](/kernel/hardware/driver-api/mtd/index.md): Reference for Memory Technology Device (MTD).
- [NAND Error-correction Code](/kernel/hardware/driver-api/mtd/nand-ecc.md): Having looked at the linux mtd/nand Hamming software ECC engine driver I felt there was room for optimisation. I bashed the code for a few hours performing tricks like table lookup removing superfluous code etc. After that the speed was…
- [Upgrading BIOS using spi-intel](/kernel/hardware/driver-api/mtd/spi-intel.md): Many Intel CPUs like Baytrail and Braswell include SPI serial flash host controller which is used to hold BIOS and other platform specific data. Since contents of the SPI serial flash is crucial for machine to function, it is typically…
- [SPI NOR framework](/kernel/hardware/driver-api/mtd/spi-nor.md): Most SPI NOR flashes comply with the JEDEC JESD216 Serial Flash Discoverable Parameter (SFDP) standard. SFDP describes the functional and feature capabilities of serial flash devices in a standard set of internal read-only parameter tables.

## NFC

- [Near Field Communication](/kernel/hardware/driver-api/nfc/index.md): Reference for Near Field Communication.
- [HCI backend for NFC Core](/kernel/hardware/driver-api/nfc/nfc-hci.md): Author: Eric Lapuyade, Samuel Ortiz
- [Kernel driver for the NXP Semiconductors PN544 Near Field Communication chip](/kernel/hardware/driver-api/nfc/nfc-pn544.md): The PN544 is an integrated transmission module for contactless communication. The driver goes under drives/nfc/ and is compiled as a module named "pn544".

## Persistent memory

- [Non-Volatile Memory Device (NVDIMM)](/kernel/hardware/driver-api/nvdimm/index.md): Reference for Non-Volatile Memory Device (NVDIMM).
- [BTT - Block Translation Table](/kernel/hardware/driver-api/nvdimm/btt.md): Persistent memory based storage is able to perform IO at byte (or more accurately, cache line) granularity. However, we often want to expose such storage as traditional block devices. The block drivers for persistent memory will do exactly…
- [NVDIMM Runtime Firmware Activation](/kernel/hardware/driver-api/nvdimm/firmware-activate.md): Some persistent memory devices run a firmware locally on the device / "DIMM" to perform tasks like media management, capacity provisioning, and health monitoring. The process of updating that firmware typically involves a reboot because it…
- [LIBNVDIMM: Non-Volatile Devices](/kernel/hardware/driver-api/nvdimm/nvdimm.md): libnvdimm - kernel / libndctl - userspace helper library
- [NVDIMM Security](/kernel/hardware/driver-api/nvdimm/security.md): With the introduction of Intel Device Specific Methods (DSM) v1.8 specification [1], security DSMs are introduced. The spec added the following security DSMs: "get security state", "set passphrase", "disable passphrase", "unlock unit",…

## PCI

- [The Linux PCI driver implementer's API guide](/kernel/hardware/driver-api/pci/index.md): Reference for The Linux PCI driver implementer's API guide.
- [PCI Peer-to-Peer DMA Support](/kernel/hardware/driver-api/pci/p2pdma.md): The PCI bus has pretty decent support for performing DMA transfers between two devices on the bus. This type of transaction is henceforth called Peer-to-Peer (or P2P). However, there are a number of issues that make P2P transactions tricky…
- [PCI Support Library](/kernel/hardware/driver-api/pci/pci.md): Reference for PCI Support Library.
- [PCI Trusted Execution Environment Security Manager (TSM)](/kernel/hardware/driver-api/pci/tsm.md): Reference for PCI Trusted Execution Environment Security Manager (TSM).

## Physical interfaces

- [Generic PHY Framework](/kernel/hardware/driver-api/phy/index.md): Reference for Generic PHY Framework.
- [PHY subsystem](/kernel/hardware/driver-api/phy/phy.md): This document explains the Generic PHY Framework along with the APIs provided, and how-to-use.
- [Samsung USB 2.0 PHY adaptation layer](/kernel/hardware/driver-api/phy/samsung-usb2.md): The architecture of the USB 2.0 PHY module in Samsung SoCs is similar among many SoCs. In spite of the similarities it proved difficult to create a one driver that would fit all these PHY controllers. Often the differences were minor and…

## RapidIO

- [The Linux RapidIO Subsystem](/kernel/hardware/driver-api/rapidio/index.md): Reference for The Linux RapidIO Subsystem.
- [RapidIO subsystem mport character device driver (rio_mport_cdev.c)](/kernel/hardware/driver-api/rapidio/mport-cdev.md): This device driver is the result of collaboration within the RapidIO.org Software Task Group (STG) between Texas Instruments, Freescale, Prodrive Technologies, Nokia Networks, BAE and IDT. Additional input was received from other members…
- [Introduction](/kernel/hardware/driver-api/rapidio/rapidio.md): The RapidIO standard is a packet-based fabric interconnect standard designed for use in embedded systems. Development of the RapidIO standard is directed by the RapidIO Trade Association (RTA). The current version of the RapidIO…
- [RapidIO subsystem Channelized Messaging character device driver (rio_cm.c)](/kernel/hardware/driver-api/rapidio/rio-cm.md): This device driver is the result of collaboration within the RapidIO.org Software Task Group (STG) between Texas Instruments, Prodrive Technologies, Nokia Networks, BAE and IDT. Additional input was received from other members of…
- [Sysfs entries](/kernel/hardware/driver-api/rapidio/sysfs.md): The RapidIO sysfs files have moved to: Documentation/ABI/testing/sysfs-bus-rapidio and Documentation/ABI/testing/sysfs-class-rapidio
- [RapidIO subsystem mport driver for IDT Tsi721 PCI Express-to-SRIO bridge.](/kernel/hardware/driver-api/rapidio/tsi721.md): This driver implements all currently defined RapidIO mport callback functions. It supports maintenance read and write operations, inbound and outbound RapidIO doorbells, inbound maintenance port-writes and RapidIO messaging.

## Serial ports

- [Support for Serial devices](/kernel/hardware/driver-api/serial/index.md): Reference for Support for Serial devices.
- [Low Level Serial API](/kernel/hardware/driver-api/serial/driver.md): This document is meant as a brief overview of some aspects of the new serial driver. It is not complete, any questions you have should be directed to <rmk@arm.linux.org.uk>
- [ISO7816 Serial Communications](/kernel/hardware/driver-api/serial/serial-iso7816.md): ISO/IEC7816 is a series of standards specifying integrated circuit cards (ICC) also known as smart cards.
- [RS485 Serial Communications](/kernel/hardware/driver-api/serial/serial-rs485.md): EIA-485, also known as TIA/EIA-485 or RS-485, is a standard defining the electrical characteristics of drivers and receivers for use in balanced digital multipoint systems. This standard is widely used for communications in industrial…

## TTY

- [TTY](/kernel/hardware/driver-api/tty/index.md): Teletypewriter (TTY) layer takes care of all those serial devices. Including the virtual ones like pseudoterminal (PTY).
- [Console](/kernel/hardware/driver-api/tty/console.md): Struct Console
- [MOXA Smartio/Industio Family Device Driver Installation Guide](/kernel/hardware/driver-api/tty/moxa-smartio.md): Copyright (C) 2008, Moxa Inc. Copyright (C) 2021, Jiri Slaby
- [GSM 0710 tty multiplexor HOWTO](/kernel/hardware/driver-api/tty/n-gsm.md): How to use it
- [N_TTY](/kernel/hardware/driver-api/tty/n-tty.md): External Functions
- [TTY Buffer](/kernel/hardware/driver-api/tty/tty-buffer.md): Flip Buffer Management
- [TTY Driver and TTY Operations](/kernel/hardware/driver-api/tty/tty-driver.md): Allocation
- [TTY Internals](/kernel/hardware/driver-api/tty/tty-internals.md): Kopen
- [TTY IOCTL Helpers](/kernel/hardware/driver-api/tty/tty-ioctl.md): Reference for TTY IOCTL Helpers.
- [TTY Line Discipline](/kernel/hardware/driver-api/tty/tty-ldisc.md): Registration
- [TTY Port](/kernel/hardware/driver-api/tty/tty-port.md): TTY Port Functions
- [TTY Struct](/kernel/hardware/driver-api/tty/tty-struct.md): Initialization

## USB

- [Linux USB API](/kernel/hardware/driver-api/usb/index.md): Reference for Linux USB API.
- [USB Request Block (URB)](/kernel/hardware/driver-api/usb/urb.md): The basic idea of the new driver is message passing, the message itself is called USB Request Block, or URB for short.
- [USB Anchors](/kernel/hardware/driver-api/usb/anchors.md): A USB driver needs to support some callbacks requiring a driver to cease all IO to an interface. To do so, a driver has to keep track of the URBs it has submitted to know they've all completed or to call usb_kill_urb for them. The anchor…
- [USB bulk streams](/kernel/hardware/driver-api/usb/bulk-streams.md): Bulk endpoint streams were added in the USB 3.0 specification. Streams allow a device driver to overload a bulk endpoint so that multiple transfers can be queued at once.
- [USB core callbacks](/kernel/hardware/driver-api/usb/callbacks.md): Usbcore will call into a driver through callbacks defined in the driver structure and through the completion handler of URBs a driver submits. Only the former are in the scope of this document. These two kinds of callbacks are completely…
- [USB DMA](/kernel/hardware/driver-api/usb/dma.md): In Linux 2.5 kernels (and later), USB device drivers have additional control over how DMA may be used to perform I/O operations. The APIs are detailed in the kernel usb programming guide (kerneldoc, from the source code).
- [Synopsys DesignWare Core SuperSpeed USB 3.0 Controller](/kernel/hardware/driver-api/usb/dwc3.md): The Synopsys DesignWare Core SuperSpeed USB 3.0 Controller (hereinafter referred to as DWC3) is a USB SuperSpeed compliant controller which can be configured in one of 4 ways:
- [USB Error codes](/kernel/hardware/driver-api/usb/error-codes.md): This is the documentation of (hopefully) all possible error codes (and their interpretation) that can be returned from usbcore.
- [USB Gadget API for Linux](/kernel/hardware/driver-api/usb/gadget.md): This document presents a Linux-USB "Gadget" kernel mode API, for use within peripherals and other USB devices that embed Linux. It provides an overview of the API structure, and shows how that fits into a system development project. This…
- [USB hotplugging](/kernel/hardware/driver-api/usb/hotplug.md): In hotpluggable buses like USB (and Cardbus PCI), end-users plug devices into the bus with power on. In most cases, users expect the devices to become immediately usable. That means the system must do many things, including:
- [USB device persistence during system suspend](/kernel/hardware/driver-api/usb/persist.md): According to the USB specification, when a USB bus is suspended the bus must continue to supply suspend current (around 1-5 mA). This is so that devices can maintain their internal state and hubs can detect connect-change events (devices…
- [Power Management for USB](/kernel/hardware/driver-api/usb/power-management.md): Power Management (PM) is the practice of saving energy by suspending parts of a computer system when they aren't being used. While a component is suspended it is in a nonfunctional low-power state; it might even be turned off completely. A…
- [USB Type-C connector class](/kernel/hardware/driver-api/usb/typec.md): The typec class is meant for describing the USB Type-C ports in a system to the user space in unified fashion. The class is designed to provide nothing else except the user space interface implementation in hope that it can be utilized on…
- [API for USB Type-C Alternate Mode drivers](/kernel/hardware/driver-api/usb/typec-bus.md): Alternate modes require communication with the partner using Vendor Defined Messages (VDM) as defined in USB Type-C and USB Power Delivery Specifications. The communication is SVID (Standard or Vendor ID) specific, i.e. specific for every…
- [The Linux-USB Host Side API](/kernel/hardware/driver-api/usb/usb.md): A Universal Serial Bus (USB) is used to connect a host, such as a PC or workstation, to a number of peripheral devices. USB uses a tree structure, with the host as the root (the system's master), hubs as interior nodes, and peripherals as…
- [USB3 debug port](/kernel/hardware/driver-api/usb/usb3-debug-port.md): This is a HOWTO for using the USB3 debug port on x86 systems.
- [Writing a MUSB Glue Layer](/kernel/hardware/driver-api/usb/writing-musb-glue-layer.md): The Linux MUSB subsystem is part of the larger Linux USB subsystem. It provides support for embedded USB Device Controllers (UDC) that do not use Universal Host Controller Interface (UHCI) or Open Host Controller Interface (OHCI).
- [Writing USB Device Drivers](/kernel/hardware/driver-api/usb/writing-usb-driver.md): The Linux USB subsystem has grown from supporting only two different types of devices in the 2.2.7 kernel (mice and keyboards), to over 20 different types of devices in the 2.4 kernel. Linux currently supports almost all USB class devices…

## Virtio

- [Virtio](/kernel/hardware/driver-api/virtio/index.md): Reference for Virtio.
- [Virtio on Linux](/kernel/hardware/driver-api/virtio/virtio.md): Virtio is an open standard that defines a protocol for communication between drivers and devices of different types, see Chapter 5 ("Device Types") of the virtio spec ([1]). Originally developed as a standard for paravirtualized devices…
- [Writing Virtio Drivers](/kernel/hardware/driver-api/virtio/writing-virtio-drivers.md): This document serves as a basic guideline for driver programmers that need to hack a new virtio driver or understand the essentials of the existing ones. See Virtio on Linux <virtio> for a general overview of virtio.

## xilinx

- [Xilinx FPGA](/kernel/hardware/driver-api/xilinx/index.md): Reference for Xilinx FPGA.
- [Xilinx Zynq MPSoC EEMI Documentation](/kernel/hardware/driver-api/xilinx/eemi.md): The zynqmp-firmware node describes the interface to platform firmware. ZynqMP has an interface to communicate with secure firmware. Firmware driver provides an interface to firmware APIs. Interface APIs can be used by any driver to…
