Lines Matching +full:spi +full:- +full:cpol
1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/adi,ad7768-1.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Analog Devices AD7768-1 ADC device driver
10 - Michael Hennerich <michael.hennerich@analog.com>
14 https://www.analog.com/media/en/technical-documentation/data-sheets/ad7768-1.pdf
18 const: adi,ad7768-1
26 clock-names:
32 vref-supply:
36 adi,sync-in-gpios:
43 reset-gpios:
46 spi-max-frequency: true
48 spi-cpol: true
50 spi-cpha: true
52 "#io-channel-cells":
56 - compatible
57 - reg
58 - clocks
59 - clock-names
60 - vref-supply
61 - spi-cpol
62 - spi-cpha
63 - adi,sync-in-gpios
68 - |
69 #include <dt-bindings/interrupt-controller/irq.h>
70 #include <dt-bindings/gpio/gpio.h>
71 spi {
72 #address-cells = <1>;
73 #size-cells = <0>;
76 compatible = "adi,ad7768-1";
78 spi-max-frequency = <2000000>;
79 spi-cpol;
80 spi-cpha;
81 vref-supply = <&adc_vref>;
83 interrupt-parent = <&gpio>;
84 adi,sync-in-gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
85 reset-gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
87 clock-names = "mclk";