include/dt-bindings/iio/adc/adi,ad4695.h
raw| 1 | /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ |
| 2 | |
| 3 | #ifndef _DT_BINDINGS_ADI_AD4695_H |
| 4 | #define _DT_BINDINGS_ADI_AD4695_H |
| 5 | |
| 6 | #define AD4695_COMMON_MODE_REFGND 0xFF |
| 7 | #define AD4695_COMMON_MODE_COM 0xFE |
| 8 | |
| 9 | #define AD4695_TRIGGER_EVENT_BUSY 0 |
| 10 | #define AD4695_TRIGGER_EVENT_ALERT 1 |
| 11 | |
| 12 | #define AD4695_TRIGGER_PIN_GP0 0 |
| 13 | #define AD4695_TRIGGER_PIN_GP2 2 |
| 14 | #define AD4695_TRIGGER_PIN_GP3 3 |
| 15 | |
| 16 | #endif /* _DT_BINDINGS_ADI_AD4695_H */ |