GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • The Linux Kernel
  • Development process
  • Submitting patches
  • Code of conduct
  • Maintainer handbook
  • All development-process docs
  • Core API
  • Driver APIs
  • Subsystems
  • Accounting
  • EDAC Subsystem
  • FPGA
  • I2C/SMBus Subsystem
  • Industrial I/O

This view

  • Original page
  • New address

GeezerVison is showing docs.kernel.org — AD3552R driver — The Linux Kernel documentation

AD3552R driver¶

Device driver for Analog Devices Inc. AD35XXR series of DACs. The module name is ad3552r. With the same module name, two different driver variants are available, the generic spi variant, to be used with any classic SPI controllers, and the hs (high speed) variant, for an ADI axi-dac (IP core) based controller that allows to reach the maximum sample rate supported from the DACs, using the DMA transfer and all the SPI lines available (D/QDSPI).. The high speed driver variant is intended to be used with the adi-axi-dac backend support enabled, that is enabled by default when the driver is selected.

Supported devices¶

  • AD3541R

  • AD3542R

  • AD3551R

  • AD3552R

Wiring connections¶

Generic SPI¶

Use the classic SPI S_CLK/CS/SDO/SDI connection.

High speed (using axi-dac backend)¶

.-----------------.                .-------.
|                 |--- D/QSPI -----|       |
|   DAC IP CORE   |--- SPI S_CLK --|  DAC  |
|                 |--- SPI CS -----|       |
|                 |--- LDAC -------|       |
|                 |--- RESET ------|       |
|_________________|                |_______|

High speed features¶

Device attributes¶

The following table shows the ad35xxr related device debug files, found in the specific debugfs path /sys/kernel/debug/iio/iio:deviceX.

Debugfs device files

Description

data_source

The used data source, as normal, ramp-16bit, etc.

data_source_available

The available data sources.

Usage examples¶

root:/sys/bus/iio/devices/iio:device0# cat data_source
normal
root:/sys/bus/iio/devices/iio:device0# echo -n ramp-16bit > data_source
root:/sys/bus/iio/devices/iio:device0# cat data_source
ramp-16bit
©The kernel development community. | Powered by Sphinx 5.3.0 & Alabaster 0.7.16 | Page source
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.