accel/qaic: Add AIC200 support
[drm/drm-misc.git] / include / linux / iio / dac / ad5791.h
blob02966553f71e8438eedd8e33d1622d793abdbf2a
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * AD5791 SPI DAC driver
5 * Copyright 2011 Analog Devices Inc.
6 */
8 #ifndef SPI_AD5791_H_
9 #define SPI_AD5791_H_
11 /**
12 * struct ad5791_platform_data - platform specific information
13 * @vref_pos_mv: Vdd Positive Analog Supply Volatge (mV)
14 * @vref_neg_mv: Vdd Negative Analog Supply Volatge (mV)
15 * @use_rbuf_gain2: ext. amplifier connected in gain of two configuration
18 struct ad5791_platform_data {
19 u16 vref_pos_mv;
20 u16 vref_neg_mv;
21 bool use_rbuf_gain2;
24 #endif /* SPI_AD5791_H_ */