1# Common fields for Analog Devices MAX1125x
2
3include: [adc-controller.yaml, spi-device.yaml]
4
5properties:
6  "#io-channel-cells":
7    const: 1
8  gpio0-enable:
9    type: boolean
10    description: this option for gpio0 enable or disable
11  gpio1-enable:
12    type: boolean
13    description: this option for gpio1 enable or disable
14  gpio0-direction:
15    type: boolean
16    description: this option for gpio0 direction enable for input, disable for output
17  gpio1-direction:
18    type: boolean
19    description: this option for gpio0 direction enable for input, disable for output
20  gpo0-enable:
21    type: boolean
22    description: this option for gpo0 enable or disable
23  gpo1-enable:
24    type: boolean
25    description: this option for gpo1 enable or disable
26  drdy-gpios:
27    type: phandle-array
28    required: true
29    description: |
30      gpio for data ready, becomes active when a conversion result is ready
31  self-calibration:
32    type: boolean
33    description: start self calibration during channel setup
34
35io-channel-cells:
36  - input
37