1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/iio/dac/dac 4 $id: http://devicetree.org/schemas/iio/dac/dac.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: IIO Common Properties for DAC Channels 7 title: IIO Common Properties for DAC Channels 8 8 9 maintainers: 9 maintainers: 10 - Jonathan Cameron <jic23@kernel.org> 10 - Jonathan Cameron <jic23@kernel.org> 11 11 12 description: 12 description: 13 A few properties are defined in a common way 13 A few properties are defined in a common way for DAC channels. 14 14 15 properties: 15 properties: 16 $nodename: 16 $nodename: 17 pattern: "^channel(@[0-9a-f]+)?$" 17 pattern: "^channel(@[0-9a-f]+)?$" 18 description: 18 description: 19 A channel index should match reg. 19 A channel index should match reg. 20 20 21 reg: 21 reg: 22 maxItems: 1 22 maxItems: 1 23 23 24 label: 24 label: 25 description: Unique name to identify which 25 description: Unique name to identify which channel this is. 26 26 27 output-range-microamp: 27 output-range-microamp: 28 maxItems: 2 28 maxItems: 2 29 minItems: 2 29 minItems: 2 30 description: 30 description: 31 Specify the channel output full scale ra 31 Specify the channel output full scale range in microamperes. 32 32 33 output-range-microvolt: 33 output-range-microvolt: 34 maxItems: 2 34 maxItems: 2 35 minItems: 2 35 minItems: 2 36 description: 36 description: 37 Specify the channel output full scale ra 37 Specify the channel output full scale range in microvolts. 38 38 39 anyOf: 39 anyOf: 40 - oneOf: 40 - oneOf: 41 - required: 41 - required: 42 - reg 42 - reg 43 - output-range-microamp 43 - output-range-microamp 44 - required: 44 - required: 45 - reg 45 - reg 46 - output-range-microvolt 46 - output-range-microvolt 47 - required: 47 - required: 48 - reg 48 - reg 49 49 50 additionalProperties: true 50 additionalProperties: true
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.