Table of Contents

Google Summer of Code 2019: IIO Driver

Main GSoC Linux Foundation page: How to apply, deadlines, other workgroups, ...

Industrial I/O subsystem (IIO)

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 the somewhat similar hwmon and input subsystems. Hwmon is directed at low sample rate sensors used to monitor and control the system itself, like fan speed control or temperature measurement. Input is, as its name suggests, focused on human interaction input devices (keyboard, mouse, touchscreen). In some cases there is considerable overlap between these and IIO.

Devices that fall into this category include: analog to digital converters (ADCs), accelerometers, capacitance to digital converters (CDCs), digital to analog converters (DACs), gyroscopes, inertial measurement units (IMUs), color and light sensors, magnetometers, pressure sensors, proximity sensors, temperature sensors, etc.

Usually these sensors are connected via SPI or I2C. A common use case of the sensors devices is to have combined functionality (e.g. light plus proximity sensor).

Project Proposal

Create a Linux IIO driver for Analog Devices, Inc. AD7292 10-Bit Monitor & Control System with ADC, DACs, Temperature Sensor and GPIOs using the IIO interface.

The driver should be tested on the real hardware. The proposed setup is Raspberry Pi 3 Model B + EVAL-AD7292SDZ.

The end goal of the project is to submit the code upstream.

Desired Knowledge:

License:

Contact

Mentor: Dragos Bogdan dragos.bogdan@analog.com