initial commit with v3.6.7
[linux-3.6.7-moxart.git] / include / linux / iio / dac / ad5791.h
blob45ee281c6660b7235875625af2a0fe3f826c5358
1 /*
2 * AD5791 SPI DAC driver
4 * Copyright 2011 Analog Devices Inc.
6 * Licensed under the GPL-2.
7 */
9 #ifndef SPI_AD5791_H_
10 #define SPI_AD5791_H_
12 /**
13 * struct ad5791_platform_data - platform specific information
14 * @vref_pos_mv: Vdd Positive Analog Supply Volatge (mV)
15 * @vref_neg_mv: Vdd Negative Analog Supply Volatge (mV)
16 * @use_rbuf_gain2: ext. amplifier connected in gain of two configuration
19 struct ad5791_platform_data {
20 u16 vref_pos_mv;
21 u16 vref_neg_mv;
22 bool use_rbuf_gain2;
25 #endif /* SPI_AD5791_H_ */