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

dt-bindings: iio: adc: add max14001

Add device-tree documentation for MAX14001/MAX14002 ADCs.
The MAX14001/MAX14002 are isolated, single-channel analog-to-digital
converters with programmable voltage comparators and inrush current
control optimized for configurable binary input applications.

They share the same features, but in the MAX14001 the inrush trigger
threshold, current magnitude, and current duration are all programmable,
whereas in the MAX14002 these parameters are fixed.

Co-developed-by: Kim Seer Paller <kimseer.paller@analog.com>
Signed-off-by: Kim Seer Paller <kimseer.paller@analog.com>
Signed-off-by: Marilene Andrade Garcia <marilene.agarcia@gmail.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Marcelo Schmitt <marcelo.schmitt1@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Marilene Andrade Garcia and committed by
Jonathan Cameron
192e5bbf 6b648a36

+97
+89
Documentation/devicetree/bindings/iio/adc/adi,max14001.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 + # Copyright 2023-2025 Analog Devices Inc. 3 + # Copyright 2023 Kim Seer Paller 4 + # Copyright 2025 Marilene Andrade Garcia 5 + %YAML 1.2 6 + --- 7 + $id: http://devicetree.org/schemas/iio/adc/adi,max14001.yaml# 8 + $schema: http://devicetree.org/meta-schemas/core.yaml# 9 + 10 + title: Analog Devices MAX14001-MAX14002 ADC 11 + 12 + maintainers: 13 + - Kim Seer Paller <kimseer.paller@analog.com> 14 + - Marilene Andrade Garcia <marilene.agarcia@gmail.com> 15 + 16 + description: | 17 + Single channel 10 bit ADC with SPI interface. 18 + Datasheet can be found here 19 + https://www.analog.com/media/en/technical-documentation/data-sheets/MAX14001-MAX14002.pdf 20 + 21 + $ref: /schemas/spi/spi-peripheral-props.yaml# 22 + 23 + properties: 24 + compatible: 25 + oneOf: 26 + - const: adi,max14002 27 + - items: 28 + - const: adi,max14001 29 + - const: adi,max14002 30 + 31 + reg: 32 + maxItems: 1 33 + 34 + spi-max-frequency: 35 + maximum: 5000000 36 + 37 + vdd-supply: 38 + description: 39 + Isolated DC-DC power supply input voltage. 40 + 41 + vddl-supply: 42 + description: 43 + Logic power supply. 44 + 45 + refin-supply: 46 + description: 47 + ADC voltage reference supply. 48 + 49 + interrupts: 50 + minItems: 1 51 + items: 52 + - description: | 53 + cout: comparator output signal that asserts high on the COUT pin 54 + when ADC readings exceed the upper threshold and low when readings 55 + fall below the lower threshold. 56 + - description: | 57 + fault: when fault reporting is enabled, the FAULT pin is asserted 58 + low whenever one of the monitored fault conditions occurs. 59 + 60 + interrupt-names: 61 + minItems: 1 62 + items: 63 + - const: cout 64 + - const: fault 65 + 66 + required: 67 + - compatible 68 + - reg 69 + - vdd-supply 70 + - vddl-supply 71 + 72 + unevaluatedProperties: false 73 + 74 + examples: 75 + - | 76 + spi { 77 + #address-cells = <1>; 78 + #size-cells = <0>; 79 + 80 + adc@0 { 81 + compatible = "adi,max14001", "adi,max14002"; 82 + reg = <0>; 83 + spi-max-frequency = <5000000>; 84 + spi-lsb-first; 85 + vdd-supply = <&vdd>; 86 + vddl-supply = <&vddl>; 87 + }; 88 + }; 89 + ...
+8
MAINTAINERS
··· 15174 15174 F: drivers/video/fbdev/matrox/matroxfb_* 15175 15175 F: include/uapi/linux/matroxfb.h 15176 15176 15177 + MAX14001/MAX14002 IIO ADC DRIVER 15178 + M: Kim Seer Paller <kimseer.paller@analog.com> 15179 + M: Marilene Andrade Garcia <marilene.agarcia@gmail.com> 15180 + L: linux-iio@vger.kernel.org 15181 + S: Maintained 15182 + W: https://ez.analog.com/linux-software-drivers 15183 + F: Documentation/devicetree/bindings/iio/adc/adi,max14001.yaml 15184 + 15177 15185 MAX15301 DRIVER 15178 15186 M: Daniel Nilsson <daniel.nilsson@flex.com> 15179 15187 L: linux-hwmon@vger.kernel.org