This version (19 Jan 2015 10:32) was approved by Paul Cercueil.

AD7091R5 ADC Linux Driver

Supported Devices

Evaluation Boards


The AD7091R-5 is a 12-bit, multichannel, ultralow power, successive approximation analog-to-digital converter (ADC).

Hardware configuration

Adding Linux driver support

Enabling the driver

Configure kernel with “make menuconfig” (alternatively use “make xconfig” or “make qconfig”)

The AD7091R5 Driver depends on CONFIG_I2C

Linux Kernel Configuration
    Device Drivers  --->
        <*>     Industrial I/O support --->
            --- Industrial I/O support
            Analog to digital converters  ---> 
                <*>   Analog Devices AD7091R5 ADC driver

Adding a device tree entry

Required properties

  • compatible: Must be “adi,ad7091r5”.
  • reg: I2C address for the device.

Optional properties

  • vref-supply: phandle + specifier to a regulator for the external VREF supply. If no external VREF is supplied this attribute should be omitted.
    see: Documentation/devicetree/bindings/regulator/regulator.txt

Device tree example

adc@0 {
	compatible: "adi,ad7091r5";
	reg = <0x2F>;
resources/tools-software/linux-drivers/iio-adc/ad7091r5.txt · Last modified: 19 Jan 2015 10:32 by Paul Cercueil