Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: Add 1027/1029/1031 SPI ADCs as trivial devices

In the same time, remove the dedicated bindings file which is now
useless.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Miquel Raynal and committed by
Jonathan Cameron
1a910d3a 16893874

+6 -22
-22
Documentation/devicetree/bindings/iio/adc/max1027-adc.txt
··· 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 - 7 - Optional properties: 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 - };
+6
Documentation/devicetree/bindings/trivial-devices.yaml
··· 114 114 - isil,isl68137 115 115 # 5 Bit Programmable, Pulse-Width Modulator 116 116 - maxim,ds1050 117 + # 10-bit 8 channels 300ks/s SPI ADC with temperature sensor 118 + - maxim,max1027 119 + # 10-bit 12 channels 300ks/s SPI ADC with temperature sensor 120 + - maxim,max1029 121 + # 10-bit 16 channels 300ks/s SPI ADC with temperature sensor 122 + - maxim,max1031 117 123 # Low-Power, 4-/12-Channel, 2-Wire Serial, 12-Bit ADCs 118 124 - maxim,max1237 119 125 # PECI-to-I2C translator for PECI-to-SMBus/I2C protocol conversion