lkml.org 
[lkml]   [2020]   [Jul]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v2 3/3] ltc2471 driver yaml
Date
Add dt binding documentation for ltc2471 driver. This covers all supported
devices.

Signed-off-by: Darius Berghe <darius.berghe@analog.com>
---
.../bindings/iio/adc/adi,ltc2471.yaml | 49 +++++++++++++++++++
1 file changed, 49 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iio/adc/adi,ltc2471.yaml

diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ltc2471.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ltc2471.yaml
new file mode 100644
index 000000000000..d5b35a1fa651
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/adc/adi,ltc2471.yaml
@@ -0,0 +1,49 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+# Copyright 2020 Analog Devices Inc.
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/bindings/iio/adc/adi,ltc2471.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Analog Devices LTC2471 16-bit I2C Sigma-Delta ADC
+
+maintainers:
+ - Mike Looijmans <mike.looijmans@topic.nl>
+
+description: |
+ Analog Devices LTC2461 (single-ended) and LTC2463 (differential) 16-bit
+ I2C Sigma-Delta ADC with 60sps output rate.
+ https://www.analog.com/media/en/technical-documentation/data-sheets/24613fa.pdf
+
+ Analog Devices LTC2471 (single-ended) and LTC2473 (differential) 16-bit
+ I2C Sigma-Delta ADC with selectable 208/833sps output rate.
+ https://www.analog.com/media/en/technical-documentation/data-sheets/24713fb.pdf
+
+properties:
+ compatible:
+ enum:
+ - adi,ltc2461
+ - adi,ltc2463
+ - adi,ltc2471
+ - adi,ltc2473
+
+ reg:
+ maxItems: 1
+
+ avcc-supply:
+ description:
+ Phandle to the Avcc power supply (2.7V - 5.5V)
+
+required:
+ - compatible
+ - reg
+
+examples:
+ - |
+ i2c0 {
+ adc@14 {
+ compatible = "adi,ltc2461";
+ reg = <0x14>;
+ };
+ };
+
--
2.27.0
\
 
 \ /
  Last update: 2020-07-16 11:44    [W:0.064 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site