0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/iio/adc/ti,adc161s626.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Texas Instruments ADC141S626 and ADC161S626 ADCs
0008
0009 maintainers:
0010 - Matt Ranostay <matt.ranostay@konsulko.com>
0011
0012 description: |
0013 Single channel 14/16bit differential ADCs
0014
0015 properties:
0016 compatible:
0017 enum:
0018 - ti,adc141s626
0019 - ti,adc161s626
0020
0021 reg:
0022 maxItems: 1
0023
0024 spi-max-frequency: true
0025
0026 vdda-supply: true
0027
0028 "#io-channel-cells":
0029 const: 1
0030
0031 required:
0032 - compatible
0033 - reg
0034
0035 additionalProperties: false
0036
0037 examples:
0038 - |
0039 spi {
0040 #address-cells = <1>;
0041 #size-cells = <0>;
0042
0043 adc@0 {
0044 compatible = "ti,adc161s626";
0045 vdda-supply = <&vdda_fixed>;
0046 reg = <0>;
0047 spi-max-frequency = <4300000>;
0048 #io-channel-cells = <1>;
0049 };
0050 };
0051 ...