60 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/iio/adc/ti,adc084s021.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Texas Instruments ADC084S021 ADC8 9maintainers:10 - Mårten Lindahl <martenli@axis.com>11 12description: |13 8 bit ADC with 4 channels14 15properties:16 compatible:17 const: ti,adc084s02118 19 reg:20 maxItems: 121 22 vref-supply:23 description: External reference, needed to establish input scaling24 25 spi-cpol: true26 spi-cpha: true27 28 "#io-channel-cells":29 const: 130 31required:32 - compatible33 - reg34 - vref-supply35 - spi-cpol36 - spi-cpha37 38allOf:39 - $ref: /schemas/spi/spi-peripheral-props.yaml#40 41unevaluatedProperties: false42 43examples:44 - |45 spi {46 #address-cells = <1>;47 #size-cells = <0>;48 49 adc@0 {50 compatible = "ti,adc084s021";51 reg = <0>;52 vref-supply = <&adc_vref>;53 spi-cpol;54 spi-cpha;55 spi-max-frequency = <16000000>;56 #io-channel-cells = <1>;57 };58 };59...60