66 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,ads7950.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Texas Instruments ADS7950 and similar ADCs8 9maintainers:10 - David Lechner <david@lechnology.com>11 12description: |13 Family of 4-16 channel, 8-12 bit ADCs with SPI interface.14 15properties:16 compatible:17 enum:18 - ti,ads795019 - ti,ads795120 - ti,ads795221 - ti,ads795322 - ti,ads795423 - ti,ads795524 - ti,ads795625 - ti,ads795726 - ti,ads795827 - ti,ads795928 - ti,ads796029 - ti,ads796130 31 reg:32 maxItems: 133 34 spi-max-frequency:35 maximum: 2000000036 37 vref-supply:38 description: Supplies the 2.5V or 5V reference voltage39 40 "#io-channel-cells":41 const: 142 43required:44 - compatible45 - reg46 - vref-supply47 - "#io-channel-cells"48 49additionalProperties: false50 51examples:52 - |53 spi {54 #address-cells = <1>;55 #size-cells = <0>;56 57 adc@0 {58 compatible = "ti,ads7957";59 reg = <0>;60 vref-supply = <&refin_supply>;61 spi-max-frequency = <10000000>;62 #io-channel-cells = <1>;63 };64 };65...66