public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: iio: amplifiers: add ADA4255
@ 2025-01-20 10:54 Cosmin Tanislav
  2025-01-20 10:54 ` [PATCH 2/2] iio: amplifiers: add ADA4255 driver Cosmin Tanislav
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Cosmin Tanislav @ 2025-01-20 10:54 UTC (permalink / raw)
  Cc: Lars-Peter Clausen, Michael Hennerich, Cosmin Tanislav,
	Jonathan Cameron, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Linus Walleij, Bartosz Golaszewski, Javier Carrasco, linux-iio,
	devicetree, linux-kernel, linux-gpio, Cosmin Tanislav

The ADA4255 is a  precision programmable gain instrumentation amplifier
(PGIA) with integrated bipolar charge pumps.

With its integrated charge pumps, the ADA4255 internally produces the
high voltage bipolar supplies needed to achieve a wide input voltage
range (38V typical with VDDCP = 5V) without lowering input impedance.

The charge pump topology of the ADA4255 allows channels to be isolated
with only low voltage components, reducing complexity, size, and
implementation time in industrial and process control systems.

Signed-off-by: Cosmin Tanislav <demonsingur@gmail.com>
---
 .../bindings/iio/amplifiers/adi,ada4255.yaml  | 83 +++++++++++++++++++
 MAINTAINERS                                   |  7 ++
 2 files changed, 90 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/amplifiers/adi,ada4255.yaml

diff --git a/Documentation/devicetree/bindings/iio/amplifiers/adi,ada4255.yaml b/Documentation/devicetree/bindings/iio/amplifiers/adi,ada4255.yaml
new file mode 100644
index 0000000000000..7ae752a63b111
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/amplifiers/adi,ada4255.yaml
@@ -0,0 +1,83 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/iio/amplifiers/adi,ada4255.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: ADA4255 Programmable Gain Instrumentation Amplifier
+
+maintainers:
+  - Cosmin Tanislav <cosmin.tanislav@analog.com>
+
+description: |
+  Zero Drift, High Voltage, Programmable Gain Instrumentation Amplifiers.
+
+  ADA4254
+    https://www.analog.com/media/en/technical-documentation/data-sheets/ada4254.pdf
+
+  ADA4255
+    https://www.analog.com/media/en/technical-documentation/data-sheets/ada4255.pdf
+
+properties:
+  compatible:
+    enum:
+      - adi,ada4254
+      - adi,ada4255
+
+  reg:
+    maxItems: 1
+
+  clocks:
+    maxItems: 1
+
+  clock-names:
+    const: mclk
+
+  clock-output-names:
+    maxItems: 1
+
+  '#clock-cells':
+    const: 1
+
+  avdd-supply: true
+  dvdd-supply: true
+  vddcp-supply: true
+  vocm-supply: true
+
+  adi,excitation-current-microamp:
+    description: Excitation current to apply to IOUT.
+    enum: [0, 100, 200, 300, 400, 500, 600, 700, 800,
+           900, 1000, 1100, 1200, 1300, 1400, 1500]
+    default: 0
+
+allOf:
+  - $ref: /schemas/spi/spi-peripheral-props.yaml#
+  - if:
+      properties:
+        compatible:
+          contains:
+            const: adi,ada4255
+    then:
+      properties:
+        adi,charge-pump-freq-hz:
+          description: Frequency at which to run the charge pumps.
+          enum: [8000000, 16000000]
+          default: 16000000
+
+required:
+  - compatible
+  - reg
+
+unevaluatedProperties: false
+
+examples:
+  - |
+    spi {
+      #address-cells = <1>;
+      #size-cells = <0>;
+      amplifier@0{
+        compatible = "adi,ada4255";
+        reg = <0>;
+      };
+    };
+...
diff --git a/MAINTAINERS b/MAINTAINERS
index e8e67cd31961e..be46db0866011 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1405,6 +1405,13 @@ W:	https://ez.analog.com/linux-software-drivers
 F:	Documentation/devicetree/bindings/iio/amplifiers/adi,ada4250.yaml
 F:	drivers/iio/amplifiers/ada4250.c
 
+ANALOG DEVICES INC ADA4255 DRIVER
+M:	Cosmin Tanislav <cosmin.tanislav@analog.com>
+L:	linux-iio@vger.kernel.org
+S:	Supported
+W:	https://ez.analog.com/linux-software-drivers
+F:	Documentation/devicetree/bindings/iio/amplifiers/adi,ada4255.yaml
+
 ANALOG DEVICES INC ADF4377 DRIVER
 M:	Antoniu Miclaus <antoniu.miclaus@analog.com>
 L:	linux-iio@vger.kernel.org
-- 
2.48.1


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

end of thread, other threads:[~2025-01-25 13:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-20 10:54 [PATCH 1/2] dt-bindings: iio: amplifiers: add ADA4255 Cosmin Tanislav
2025-01-20 10:54 ` [PATCH 2/2] iio: amplifiers: add ADA4255 driver Cosmin Tanislav
2025-01-25 13:24   ` Jonathan Cameron
2025-01-21 17:37 ` [PATCH 1/2] dt-bindings: iio: amplifiers: add ADA4255 Conor Dooley
2025-01-25 12:59 ` Jonathan Cameron

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