.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * AD7266/65 SPI ADC driver |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright 2012 Analog Devices Inc. |
---|
5 | | - * |
---|
6 | | - * Licensed under the GPL-2. |
---|
7 | 6 | */ |
---|
8 | 7 | |
---|
9 | 8 | #ifndef __IIO_ADC_AD7266_H__ |
---|
.. | .. |
---|
41 | 40 | * @range: Reference voltage range the device is configured for |
---|
42 | 41 | * @mode: Sample mode the device is configured for |
---|
43 | 42 | * @fixed_addr: Whether the address pins are hard-wired |
---|
44 | | - * @addr_gpios: GPIOs used for controlling the address pins, only used if |
---|
45 | | - * fixed_addr is set to false. |
---|
46 | 43 | */ |
---|
47 | 44 | struct ad7266_platform_data { |
---|
48 | 45 | enum ad7266_range range; |
---|
49 | 46 | enum ad7266_mode mode; |
---|
50 | 47 | bool fixed_addr; |
---|
51 | | - unsigned int addr_gpios[3]; |
---|
52 | 48 | }; |
---|
53 | 49 | |
---|
54 | 50 | #endif |
---|