brintos

brintos / linux-shallow public Read only

0
0
Text · 951 B · 56a3f17 Raw
54 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/adc/ti,ads124s08.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Texas Instruments' ads124s08 and ads124s06 ADC chip8 9maintainers:10  - Andrew Davis <afd@ti.com>11 12properties:13  compatible:14    enum:15      - ti,ads124s0616      - ti,ads124s0817 18  reg:19    maxItems: 120 21  spi-cpha: true22 23  reset-gpios:24    maxItems: 125 26  "#io-channel-cells":27    const: 128 29required:30  - compatible31  - reg32 33allOf:34  - $ref: /schemas/spi/spi-peripheral-props.yaml#35 36unevaluatedProperties: false37 38examples:39  - |40    #include <dt-bindings/gpio/gpio.h>41    spi {42        #address-cells = <1>;43        #size-cells = <0>;44 45        adc@0 {46            compatible = "ti,ads124s08";47            reg = <0>;48            spi-max-frequency = <1000000>;49            spi-cpha;50            reset-gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;51        };52    };53...54