1 /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 3 * AD5721, AD5721R, AD5761, AD5761R, Voltage O 4 * 5 * Copyright 2016 Qtechnology A/S 6 * 2016 Ricardo Ribalda <ribalda@kernel.org> 7 */ 8 #ifndef __LINUX_PLATFORM_DATA_AD5761_H__ 9 #define __LINUX_PLATFORM_DATA_AD5761_H__ 10 11 /** 12 * enum ad5761_voltage_range - Voltage range t 13 * @AD5761_VOLTAGE_RANGE_M10V_10V: -10V to 1 14 * @AD5761_VOLTAGE_RANGE_0V_10V: 0V to 1 15 * @AD5761_VOLTAGE_RANGE_M5V_5V: -5V to 16 * @AD5761_VOLTAGE_RANGE_0V_5V: 0V to 17 * @AD5761_VOLTAGE_RANGE_M2V5_7V5: -2.5V to 7. 18 * @AD5761_VOLTAGE_RANGE_M3V_3V: -3V to 19 * @AD5761_VOLTAGE_RANGE_0V_16V: 0V to 1 20 * @AD5761_VOLTAGE_RANGE_0V_20V: 0V to 2 21 */ 22 23 enum ad5761_voltage_range { 24 AD5761_VOLTAGE_RANGE_M10V_10V, 25 AD5761_VOLTAGE_RANGE_0V_10V, 26 AD5761_VOLTAGE_RANGE_M5V_5V, 27 AD5761_VOLTAGE_RANGE_0V_5V, 28 AD5761_VOLTAGE_RANGE_M2V5_7V5, 29 AD5761_VOLTAGE_RANGE_M3V_3V, 30 AD5761_VOLTAGE_RANGE_0V_16V, 31 AD5761_VOLTAGE_RANGE_0V_20V, 32 }; 33 34 /** 35 * struct ad5761_platform_data - AD5761 DAC dr 36 * @voltage_range: Voltage range the AD5761 is 37 */ 38 39 struct ad5761_platform_data { 40 enum ad5761_voltage_range voltage_rang 41 }; 42 43 #endif 44
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.