Lines Matching +full:common +full:- +full:mode +full:- +full:channel
1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: IIO Common Properties for ADC Channels
10 - Jonathan Cameron <[email protected]>
13 A few properties are defined in a common way ADC channels.
17 pattern: "^channel(@[0-9a-f]+)?$"
19 A channel index should match reg.
25 description: Unique name to identify which channel this is.
29 description: If provided, the channel is to be used in bipolar mode.
31 diff-channels:
32 $ref: /schemas/types.yaml#/definitions/uint32-array
40 There are also some ADCs, where the differential channel has dedicated
43 the 'reg' property for both inputs (i.e. diff-channels = <reg reg>).
45 single-channel:
48 When devices combine single-ended and differential channels, allow the
49 channel for a single element to be specified, independent of reg (as for
50 differential channels). If this and diff-channels are not present reg
53 common-mode-channel:
57 single-ended or pseudo-differential inputs. This property can be used
58 in addition to single-channel to signal software that this channel is
61 The input pair is specified by setting single-channel to the positive
62 input pin and common-mode-channel to the negative pin.
64 settling-time-us:
66 Time between enabling the channel and first stable readings.
68 oversampling-ratio:
71 Oversampling is used as replacement of or addition to the low-pass filter.
77 - oneOf:
78 - required:
79 - reg
80 - diff-channels
81 - required:
82 - reg
83 - single-channel
84 - required:
85 - reg