Merge tag 'omap-for-v5.6/fixes-rc7-signed' of git://git.kernel.org/pub/scm/linux...
[linux-2.6-microblaze.git] / include / linux / iio / dac / ad5791.h
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * AD5791 SPI DAC driver
4  *
5  * Copyright 2011 Analog Devices Inc.
6  */
7
8 #ifndef SPI_AD5791_H_
9 #define SPI_AD5791_H_
10
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
16  */
17
18 struct ad5791_platform_data {
19         u16                             vref_pos_mv;
20         u16                             vref_neg_mv;
21         bool                            use_rbuf_gain2;
22 };
23
24 #endif /* SPI_AD5791_H_ */