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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Puranjay Mohan <puranjay12@xxxxxxxxx>
---
 .../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@xxxxxxxxx>
+
+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




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux