Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * AD5791 SPI DAC driver
0004  *
0005  * Copyright 2011 Analog Devices Inc.
0006  */
0007 
0008 #ifndef SPI_AD5791_H_
0009 #define SPI_AD5791_H_
0010 
0011 /**
0012  * struct ad5791_platform_data - platform specific information
0013  * @vref_pos_mv:    Vdd Positive Analog Supply Volatge (mV)
0014  * @vref_neg_mv:    Vdd Negative Analog Supply Volatge (mV)
0015  * @use_rbuf_gain2: ext. amplifier connected in gain of two configuration
0016  */
0017 
0018 struct ad5791_platform_data {
0019     u16             vref_pos_mv;
0020     u16             vref_neg_mv;
0021     bool                use_rbuf_gain2;
0022 };
0023 
0024 #endif /* SPI_AD5791_H_ */