51 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/iio/dac/dac.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: IIO Common Properties for DAC Channels8 9maintainers:10 - Jonathan Cameron <jic23@kernel.org>11 12description:13 A few properties are defined in a common way for DAC channels.14 15properties:16 $nodename:17 pattern: "^channel(@[0-9a-f]+)?$"18 description:19 A channel index should match reg.20 21 reg:22 maxItems: 123 24 label:25 description: Unique name to identify which channel this is.26 27 output-range-microamp:28 maxItems: 229 minItems: 230 description:31 Specify the channel output full scale range in microamperes.32 33 output-range-microvolt:34 maxItems: 235 minItems: 236 description:37 Specify the channel output full scale range in microvolts.38 39anyOf:40 - oneOf:41 - required:42 - reg43 - output-range-microamp44 - required:45 - reg46 - output-range-microvolt47 - required:48 - reg49 50additionalProperties: true51