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