brintos

brintos / linux-shallow public Read only

0
0
Text · 953 B · 314d1d9 Raw
54 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,tlc4541.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Texas Instruments TLC4541 and similar ADCs8 9maintainers:10  - Phil Reid <preid@electromag.com.au>11 12description: |13  14/16bit single channel ADC with SPI interface.14 15properties:16  compatible:17    enum:18      - ti,tlc354119      - ti,tlc454120 21  reg:22    maxItems: 123 24  vref-supply: true25 26  "#io-channel-cells":27    const: 128 29required:30  - compatible31  - reg32  - vref-supply33 34allOf:35  - $ref: /schemas/spi/spi-peripheral-props.yaml#36 37unevaluatedProperties: false38 39examples:40  - |41    spi {42        #address-cells = <1>;43        #size-cells = <0>;44 45        adc@0 {46            compatible = "ti,tlc4541";47            reg = <0>;48            vref-supply = <&vdd_supply>;49            spi-max-frequency = <200000>;50            #io-channel-cells = <1>;51        };52    };53...54