Linux IIO development
 help / color / mirror / Atom feed
* [PATCH v9 1/2] dt-bindings: iio: adc: add max14001
@ 2023-07-10  4:27 Kim Seer Paller
  2023-07-10  4:27 ` [PATCH v9 2/2] iio: adc: max14001: New driver Kim Seer Paller
  0 siblings, 1 reply; 12+ messages in thread
From: Kim Seer Paller @ 2023-07-10  4:27 UTC (permalink / raw)
  Cc: jic23, lars, lgirdwood, broonie, Michael.Hennerich,
	andy.shevchenko, robh, krzysztof.kozlowski, conor+dt,
	kimseer.paller, linux-iio, linux-kernel, devicetree

The MAX14001 is a configurable, isolated 10-bit ADC for multi-range
binary inputs.

Signed-off-by: Kim Seer Paller <kimseer.paller@analog.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 .../bindings/iio/adc/adi,max14001.yaml        | 54 +++++++++++++++++++
 MAINTAINERS                                   |  7 +++
 2 files changed, 61 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/adc/adi,max14001.yaml

diff --git a/Documentation/devicetree/bindings/iio/adc/adi,max14001.yaml b/Documentation/devicetree/bindings/iio/adc/adi,max14001.yaml
new file mode 100644
index 000000000000..9d03c611fca3
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/adc/adi,max14001.yaml
@@ -0,0 +1,54 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+# Copyright 2023 Analog Devices Inc.
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/iio/adc/adi,max14001.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Analog Devices MAX14001 ADC
+
+maintainers:
+  - Kim Seer Paller <kimseer.paller@analog.com>
+
+description: |
+    Single channel 10 bit ADC with SPI interface. Datasheet
+    can be found here:
+      https://www.analog.com/media/en/technical-documentation/data-sheets/MAX14001-MAX14002.pdf
+
+properties:
+  compatible:
+    enum:
+      - adi,max14001
+
+  reg:
+    maxItems: 1
+
+  spi-max-frequency:
+    maximum: 5000000
+
+  vref-supply:
+    description: Voltage reference to establish input scaling.
+
+required:
+  - compatible
+  - reg
+
+allOf:
+  - $ref: /schemas/spi/spi-peripheral-props.yaml#
+
+unevaluatedProperties: false
+
+examples:
+  - |
+    spi {
+        #address-cells = <1>;
+        #size-cells = <0>;
+
+        adc@0 {
+            compatible = "adi,max14001";
+            reg = <0>;
+            spi-max-frequency = <5000000>;
+            vref-supply = <&vref_reg>;
+        };
+    };
+...
diff --git a/MAINTAINERS b/MAINTAINERS
index e7d4ae01cdcc..0253058c345b 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -12791,6 +12791,13 @@ S:	Maintained
 F:	Documentation/devicetree/bindings/sound/max9860.txt
 F:	sound/soc/codecs/max9860.*
 
+MAX14001 IIO ADC DRIVER
+M:	Kim Seer Paller <kimseer.paller@analog.com>
+L:	linux-iio@vger.kernel.org
+S:	Supported
+W:	https://ez.analog.com/linux-software-drivers
+F:	Documentation/devicetree/bindings/iio/adc/adi,max14001.yaml
+
 MAXBOTIX ULTRASONIC RANGER IIO DRIVER
 M:	Andreas Klinger <ak@it-klinger.de>
 L:	linux-iio@vger.kernel.org

base-commit: 62fd3fb591d9faf06e74454f4d3dce0711c59a49
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2025-08-26 11:32 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-10  4:27 [PATCH v9 1/2] dt-bindings: iio: adc: add max14001 Kim Seer Paller
2023-07-10  4:27 ` [PATCH v9 2/2] iio: adc: max14001: New driver Kim Seer Paller
2023-07-10  7:36   ` Andy Shevchenko
2023-07-10  7:38     ` Andy Shevchenko
     [not found]     ` <11c30a02df784ca78be271fdf9190dad@analog.com>
2023-07-10 10:49       ` Andy Shevchenko
2023-07-11  6:55         ` Paller, Kim Seer
2023-07-11  9:08           ` Andy Shevchenko
2023-07-16 13:42             ` Jonathan Cameron
2023-07-20 18:24               ` Jonathan Cameron
2025-08-23  1:50                 ` Marcelo Schmitt
2025-08-23 15:15                 ` Marcelo Schmitt
2025-08-26  9:24                 ` Paller, Kim Seer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox