diff mbox series

[1/2] dt-bindings: iio: amplifiers: add ADA4255

Message ID 20250120105429.183004-1-demonsingur@gmail.com (mailing list archive)
State New
Headers show
Series [1/2] dt-bindings: iio: amplifiers: add ADA4255 | expand

Commit Message

Cosmin Tanislav Jan. 20, 2025, 10:54 a.m. UTC
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 mbox series

Patch

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