Thread (5 messages) 5 messages, 3 authors, 2021-03-19
STALE1920d
Revisions (5)
  1. v1 current
  2. v1 [diff vs current]
  3. v2 [diff vs current]
  4. v3 [diff vs current]
  5. v4 [diff vs current]

[PATCH 1/2] dt-bindings: iio: temperature: Add DT bindings for TMP117

From: Puranjay Mohan <hidden>
Date: 2021-03-19 20:31:20
Also in: linux-iio, lkml
Subsystem: iio subsystem and drivers, open firmware and flattened device tree bindings, texas instruments' tmp117 temperature sensor driver, the rest · Maintainers: Jonathan Cameron, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Puranjay Mohan, Linus Torvalds

Add devicetree binding document for TMP117, a digital temperature sensor.

Signed-off-by: Puranjay Mohan <redacted>
---
 .../bindings/iio/temperature/ti,tmp117.yaml   | 40 +++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml
diff --git a/Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml b/Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml
new file mode 100644
index 000000000..c9ea5db12
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/temperature/ti,tmp117.yaml
@@ -0,0 +1,40 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+# Copyright 2021 Puranjay Mohan.
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/bindings/iio/temperature/ti,tmp117.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: TI TMP117 - Digital temperature sensor with integrated NV memory
+
+maintainers: Puranjay Mohan <puranjay12@gmail.com>
+
+description: |
+  datasheet- https://www.ti.com/lit/gpn/tmp1
+		-----------------------------
+		|   ADD0    | Device Address|
+		-----------------------------
+		|   Ground  |      0x48     |
+		|     V+    |	   0x49     |
+		|    SDA    | 	   0x4A     |
+		|    SCL    |	   0x4B     |
+		-----------------------------
+properties:
+  compatible:
+    enum:
+      - ti,tmp117
+
+  reg:
+    maxItems: 1
+
+required:
+  - compatible
+  - reg
+
+examples:
+    |
+    tmp117@48 {
+        compatible = "ti,tmp117";
+        reg = <0x48>;
+    };
+
-- 
2.30.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help