This version (29 Jun 2021 10:25) was approved by Antoniu Miclaus.

ADMV1014 24 GHz to 44 GHz, Wideband, Microwave Downconverter

Supported Devices

Evaluation Boards


This is a Linux industrial I/O (IIO) subsystem driver, targeting serial interface Microwave converters. The industrial I/O subsystem provides a unified framework for drivers for many different types of converters and sensors using a number of different physical interfaces (i2c, spi, etc). See IIO for more information.

Source Code


Source Mainlined?
git WIP


Declaring SPI slave devices

Unlike PCI or USB devices, SPI devices are not enumerated at the hardware level. Instead, the software must know which devices are connected on each SPI bus segment, and what slave selects these devices are using. For this reason, the kernel code must instantiate SPI devices explicitly. The most common method is to declare the SPI devices by bus number.

This method is appropriate when the SPI bus is a system bus, as in many embedded systems, wherein each SPI bus has a number which is known in advance. It is thus possible to pre-declare the SPI devices that inhabit this bus. This is done with an array of struct spi_board_info, which is registered by calling spi_register_board_info().

For more information see: Documentation/spi/spi-summary.rst

21 Oct 2010 16:10



  • enum:
    • adi,admv1014


  • maxItems: 1


  • minimum: 1000000


  • description: Definition of the external clock (see clock/clock-bindings.txt)
  • minItems: 1


  • description: Must be “lo_in”
  • maxItems: 1


  • maxItems: 1


  • description: The Common Clock Framework max rate is limited by MAX of unsigned long. For ADMV1014 device this is a deficiency. If specified, this property allows arbitrary scales. The first element in the array should be the multiplier and the second element should be the divider.
  • $ref: /schemas/types.yaml#/definitions/uint32-array
  • minimum: 1


  • description: analog voltage regulator (see regulator/regulator.txt)


  • description: Enable Parity for Write execution.
  • type: boolean


  • description: Power Down the Rx IBIAS.
  • type: boolean


  • description: Power Down the IF Amp.
  • type: boolean


  • description: Power Down the Quadrupler Band Gap.
  • type: boolean


  • description: Power Down the Baseband Amp.
  • type: boolean


  • description: Power Down the Quadrupler Bias Current.
  • type: boolean


  • description: Digital Rx Detector Enable.
  • type: boolean


  • description: Power Down the Rx BG.
  • type: boolean


  • description: Turn on bits to optimize P1dB.
  • $ref: /schemas/types.yaml#/definitions/uint32
  • enum: [0, 3]


  • description: Switch Differential/SE Modes.
  • $ref: /schemas/types.yaml#/definitions/uint32
  • enum: [6, 9, 12]


  • description: Digital Rx Detector Program.
  • $ref: /schemas/types.yaml#/definitions/uint32
  • enum: [1, 2, 4, 8, 16, 32, 64]


  • description: Baseband Amp Gain control.
  • $ref: /schemas/types.yaml#/definitions/uint32
  • enum: [0, 1, 2, 3]


  • const: 1


  • const: 0


  • const: 0


  • compatible
  • reg
  • clocks
  • clock-names
  • vcm-supply


spi {
      #address-cells = <1>;
      #size-cells = <0>;
        compatible = "adi,admv1014";
        reg = <0>;
        spi-max-frequency = <1000000>;
        clocks = <&admv1014_lo>;
        clock-names = "lo_in";
        clock-scales = <1 5>;
        vcm-supply = <&vcm>;
        adi,quad-se-mode = <12>;
        adi,p1db-comp = <3>;
        adi,det-prog = <0>;
        adi,bb-amp-gain-ctrl = <0>;

Adding Linux driver support

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

The ADMV1014 Driver depends on CONFIG_SPI

Linux Kernel Configuration
	Device Drivers  --->
		<*>     Industrial I/O support --->
		    --- Industrial I/O support
				Frequency  --->
					<*> Analog Devices ADMV1014 Microwave Downconverter

Hardware configuration

Each and every IIO device, typically a hardware chip, has a device folder under /sys/bus/iio/devices/iio:deviceX. Where X is the IIO index of the device. Under every of these directory folders reside a set of files, depending on the characteristics and features of the hardware device in question. These files are consistently generalized and documented in the IIO ABI documentation. In order to determine which IIO deviceX corresponds to which hardware device, the user can read the name file /sys/bus/iio/devices/iio:deviceX/name. In case the sequence in which the iio device drivers are loaded/registered is constant, the numbering is constant and may be known in advance.

02 Mar 2011 15:16

This specifies any shell prompt running on the target

root:/> cd /sys/bus/iio/devices/
root:/sys/bus/iio/devices> ls
root:/sys/bus/iio/devices> iio:device0

root:/> ls -l
-r--r--r-- 1 root root 4096 May  6 12:20 dev
-r--r--r-- 1 root root 4096 May  6 12:20 name
-rw-r--r-- 1 root root 4096 May  6 13:00 out_altvoltage0_i_hardwaregain
-rw-r--r-- 1 root root 4096 May  6 13:00 out_altvoltage0_q_hardwaregain
-rw-r--r-- 1 root root 4096 May  6 13:01 out_altvoltage0_i_offset
-rw-r--r-- 1 root root 4096 May  6 13:01 out_altvoltage0_q_offset
-rw-r--r-- 1 root root 4096 May  6 13:01 out_altvoltage0_i_phase
-rw-r--r-- 1 root root 4096 May  6 13:01 out_altvoltage0_q_phase
lrwxrwxrwx 1 root root    0 May  6 12:20 subsystem -> ../../../../../../../../bus/iio
-rw-r--r-- 1 root root 4096 May  6 12:20 uevent

Show device name

This specifies any shell prompt running on the target

root:/> cd /sys/bus/iio/devices/iio\:device0/
root:/> cat name

Set ChannelY Gain


Gain factor. If shared across all channels, <type>_hardwaregain is used.

This specifies any shell prompt running on the target

root:/> cat out_altvoltage0_i_hardwaregain
0 0

root:/> echo 1.1 > out_altvoltage0_i_hardwaregain
root:/> cat out_altvoltage0_hardwaregain
1 1

Set ChannelY Offset value


Offset value. If shared across all channels, <type>_offset is used.

This specifies any shell prompt running on the target

root:/> cat out_altvoltage0_i_offset

root:/> echo 1 > out_altvoltage0_i_offset
root:/> cat out_altvoltage0_offset

Set ChannelY Phase value


Phase value. If shared across all channels, <type>_phase is used.

This specifies any shell prompt running on the target

root:/> cat out_altvoltage0_i_phase

root:/> echo 1 > out_altvoltage0_i_phase
root:/> cat out_altvoltage0_phase

More Information

resources/tools-software/linux-drivers/iio-pll/admv1014.txt · Last modified: 27 Jun 2021 14:00 by Antoniu Miclaus