Path: blob/main/sys/contrib/device-tree/Bindings/iio/adc/adi,ad7768-1.txt
48406 views
Analog Devices AD7768-1 ADC device driver12Required properties for the AD7768-1:34- compatible: Must be "adi,ad7768-1"5- reg: SPI chip select number for the device6- spi-max-frequency: Max SPI frequency to use7see: Documentation/devicetree/bindings/spi/spi-bus.txt8- clocks: phandle to the master clock (mclk)9see: Documentation/devicetree/bindings/clock/clock-bindings.txt10- clock-names: Must be "mclk".11- interrupts: IRQ line for the ADC12see: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt13- vref-supply: vref supply can be used as reference for conversion14- adi,sync-in-gpios: must be the device tree identifier of the SYNC-IN pin. Enables15synchronization of multiple devices that require simultaneous sampling.16A pulse is always required if the configuration is changed in any way, for example17if the filter decimation rate changes. As the line is active low, it should18be marked GPIO_ACTIVE_LOW.1920Optional properties:2122- reset-gpios : GPIO spec for the RESET pin. If specified, it will be asserted during23driver probe. As the line is active low, it should be marked GPIO_ACTIVE_LOW.2425Example:2627adc@0 {28compatible = "adi,ad7768-1";29reg = <0>;30spi-max-frequency = <2000000>;31spi-cpol;32spi-cpha;33vref-supply = <&adc_vref>;34interrupts = <25 IRQ_TYPE_EDGE_RISING>;35interrupt-parent = <&gpio>;36adi,sync-in-gpios = <&gpio 22 GPIO_ACTIVE_LOW>;37reset-gpios = <&gpio 27 GPIO_ACTIVE_LOW>;38clocks = <&ad7768_mclk>;39clock-names = "mclk";40};414243