Based on kernel version 4.16.1. Page generated on 2018-04-09 11:52 EST.
1 * Maxim 1027/1029/1031 Analog to Digital Converter (ADC) 2 3 Required properties: 4 - compatible: Should be "maxim,max1027" or "maxim,max1029" or "maxim,max1031" 5 - reg: SPI chip select number for the device 6 - interrupt-parent: phandle to the parent interrupt controller 7 see: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt 8 - interrupts: IRQ line for the ADC 9 see: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt 10 11 Recommended properties: 12 - spi-max-frequency: Definition as per 13 Documentation/devicetree/bindings/spi/spi-bus.txt 14 15 Example: 16 adc@0 { 17 compatible = "maxim,max1027"; 18 reg = <0>; 19 interrupt-parent = <&gpio5>; 20 interrupts = <15 IRQ_TYPE_EDGE_RISING>; 21 spi-max-frequency = <1000000>; 22 };