| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * ADF4350/ADF4351 SPI PLL driver |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright 2012-2013 Analog Devices Inc. |
|---|
| 5 | | - * |
|---|
| 6 | | - * Licensed under the GPL-2. |
|---|
| 7 | 6 | */ |
|---|
| 8 | 7 | |
|---|
| 9 | 8 | #ifndef IIO_PLL_ADF4350_H_ |
|---|
| .. | .. |
|---|
| 104 | 103 | * @r2_user_settings: User defined settings for ADF4350/1 REGISTER_2. |
|---|
| 105 | 104 | * @r3_user_settings: User defined settings for ADF4350/1 REGISTER_3. |
|---|
| 106 | 105 | * @r4_user_settings: User defined settings for ADF4350/1 REGISTER_4. |
|---|
| 107 | | - * @gpio_lock_detect: Optional, if set with a valid GPIO number, |
|---|
| 108 | | - * pll lock state is tested upon read. |
|---|
| 109 | | - * If not used - set to -1. |
|---|
| 110 | 106 | */ |
|---|
| 111 | 107 | |
|---|
| 112 | 108 | struct adf4350_platform_data { |
|---|
| .. | .. |
|---|
| 122 | 118 | unsigned r2_user_settings; |
|---|
| 123 | 119 | unsigned r3_user_settings; |
|---|
| 124 | 120 | unsigned r4_user_settings; |
|---|
| 125 | | - int gpio_lock_detect; |
|---|
| 126 | 121 | }; |
|---|
| 127 | 122 | |
|---|
| 128 | 123 | #endif /* IIO_PLL_ADF4350_H_ */ |
|---|