1 /* SPDX-License-Identifier: GPL-2.0-only */ 1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* 2 /* 3 * AD5791 SPI DAC driver 3 * AD5791 SPI DAC driver 4 * 4 * 5 * Copyright 2011 Analog Devices Inc. 5 * Copyright 2011 Analog Devices Inc. 6 */ 6 */ 7 7 8 #ifndef SPI_AD5791_H_ 8 #ifndef SPI_AD5791_H_ 9 #define SPI_AD5791_H_ 9 #define SPI_AD5791_H_ 10 10 11 /** 11 /** 12 * struct ad5791_platform_data - platform spec 12 * struct ad5791_platform_data - platform specific information 13 * @vref_pos_mv: Vdd Positive Analog Su 13 * @vref_pos_mv: Vdd Positive Analog Supply Volatge (mV) 14 * @vref_neg_mv: Vdd Negative Analog Su 14 * @vref_neg_mv: Vdd Negative Analog Supply Volatge (mV) 15 * @use_rbuf_gain2: ext. amplifier connect 15 * @use_rbuf_gain2: ext. amplifier connected in gain of two configuration 16 */ 16 */ 17 17 18 struct ad5791_platform_data { 18 struct ad5791_platform_data { 19 u16 vref_p 19 u16 vref_pos_mv; 20 u16 vref_n 20 u16 vref_neg_mv; 21 bool use_rb 21 bool use_rbuf_gain2; 22 }; 22 }; 23 23 24 #endif /* SPI_AD5791_H_ */ 24 #endif /* SPI_AD5791_H_ */ 25 25
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.