lkml.org 
[lkml]   [2023]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Date
Subject[PATCH 3/3] dt-bindings: iio: adc: add lltc,ltc2309 bindings
Add devicetree bindings for the Linear Technology LTC2309 ADC driver.

Signed-off-by: Liam Beguin <liambeguin@gmail.com>
---
.../devicetree/bindings/iio/adc/lltc,ltc2309.yaml | 52 ++++++++++++++++++++++
1 file changed, 52 insertions(+)

diff --git a/Documentation/devicetree/bindings/iio/adc/lltc,ltc2309.yaml b/Documentation/devicetree/bindings/iio/adc/lltc,ltc2309.yaml
new file mode 100644
index 000000000000..7874290dad75
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/adc/lltc,ltc2309.yaml
@@ -0,0 +1,52 @@
+# SPDX-License-Identifier: GPL-2.0
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/iio/adc/lltc,ltc2309.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Linear Technology / Analog Devices LTC2309 ADC
+
+maintainers:
+ - Liam Beguin <liambeguin@gmail.com>
+
+properties:
+ compatible:
+ enum:
+ - lltc,ltc2309
+
+ refcomp-supply:
+ description: Power supply for the reference voltage
+
+ reg:
+ enum:
+ - 0x08
+ - 0x09
+ - 0x0a
+ - 0x0b
+ - 0x18
+ - 0x19
+ - 0x1a
+ - 0x1b
+ - 0x28
+
+ "#io-channel-cells":
+ const: 1
+
+required:
+ - compatible
+ - reg
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ adc@28 {
+ #io-channel-cells = <1>;
+ compatible = "lltc,ltc2309";
+ reg = <0x28>;
+ };
+ };
--
2.39.0

\
 
 \ /
  Last update: 2023-08-24 18:58    [W:0.107 / U:0.452 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site