1*59c3662bSUwe Kleine-König# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2*59c3662bSUwe Kleine-König%YAML 1.2 3*59c3662bSUwe Kleine-König--- 4*59c3662bSUwe Kleine-König$id: http://devicetree.org/schemas/iio/adc/lltc,ltc2496.yaml# 5*59c3662bSUwe Kleine-König$schema: http://devicetree.org/meta-schemas/core.yaml# 6*59c3662bSUwe Kleine-König 7*59c3662bSUwe Kleine-Königtitle: Linear Technology / Analog Devices LTC2496 ADC 8*59c3662bSUwe Kleine-König 9*59c3662bSUwe Kleine-Königmaintainers: 10*59c3662bSUwe Kleine-König - Lars-Peter Clausen <lars@metafoo.de> 11*59c3662bSUwe Kleine-König - Michael Hennerich <Michael.Hennerich@analog.com> 12*59c3662bSUwe Kleine-König - Stefan Popa <stefan.popa@analog.com> 13*59c3662bSUwe Kleine-König 14*59c3662bSUwe Kleine-Königproperties: 15*59c3662bSUwe Kleine-König compatible: 16*59c3662bSUwe Kleine-König enum: 17*59c3662bSUwe Kleine-König - lltc,ltc2496 18*59c3662bSUwe Kleine-König 19*59c3662bSUwe Kleine-König vref-supply: 20*59c3662bSUwe Kleine-König description: phandle to an external regulator providing the reference voltage 21*59c3662bSUwe Kleine-König allOf: 22*59c3662bSUwe Kleine-König - $ref: /schemas/types.yaml#/definitions/phandle 23*59c3662bSUwe Kleine-König 24*59c3662bSUwe Kleine-König reg: 25*59c3662bSUwe Kleine-König description: spi chipselect number according to the usual spi bindings 26*59c3662bSUwe Kleine-König 27*59c3662bSUwe Kleine-König spi-max-frequency: 28*59c3662bSUwe Kleine-König description: maximal spi bus frequency supported 29*59c3662bSUwe Kleine-König 30*59c3662bSUwe Kleine-Königrequired: 31*59c3662bSUwe Kleine-König - compatible 32*59c3662bSUwe Kleine-König - vref-supply 33*59c3662bSUwe Kleine-König - reg 34*59c3662bSUwe Kleine-König 35*59c3662bSUwe Kleine-Königexamples: 36*59c3662bSUwe Kleine-König - | 37*59c3662bSUwe Kleine-König spi { 38*59c3662bSUwe Kleine-König #address-cells = <1>; 39*59c3662bSUwe Kleine-König #size-cells = <0>; 40*59c3662bSUwe Kleine-König 41*59c3662bSUwe Kleine-König adc@0 { 42*59c3662bSUwe Kleine-König compatible = "lltc,ltc2496"; 43*59c3662bSUwe Kleine-König reg = <0>; 44*59c3662bSUwe Kleine-König vref-supply = <<c2496_reg>; 45*59c3662bSUwe Kleine-König spi-max-frequency = <2000000>; 46*59c3662bSUwe Kleine-König }; 47*59c3662bSUwe Kleine-König }; 48