brintos

brintos / linux-shallow public Read only

0
0
Text · 1.1 KiB · 6867211 Raw
58 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,adc0832.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Texas Instruments ADC0832 and similar ADCs8 9maintainers:10  - Akinobu Mita <akinobu.mita@gmail.com>11 12description: |13  8 bit ADCs with 1, 2, 4 or 8 inputs for single ended or differential14  conversion.15 16properties:17  compatible:18    enum:19      - ti,adc083120      - ti,adc083221      - ti,adc083422      - ti,adc083823 24  reg:25    maxItems: 126 27  vref-supply:28    description: External reference, needed to establish input scaling29 30  "#io-channel-cells":31    const: 132 33required:34  - compatible35  - reg36  - vref-supply37 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,adc0832";51            reg = <0>;52            vref-supply = <&vdd_supply>;53            spi-max-frequency = <200000>;54            #io-channel-cells = <1>;55        };56    };57...58