[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210319203007.287802-2-puranjay12@gmail.com>
Date: Sat, 20 Mar 2021 02:00:06 +0530
From: Puranjay Mohan <puranjay12@...il.com>
To: alexandru.ardelean@...log.com, jic23@...nel.org,
devicetree@...r.kernel.org, knaack.h@....de,
linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: Puranjay Mohan <puranjay12@...il.com>
Subject: [PATCH 1/2] dt-bindings: iio: temperature: Add DT bindings for TMP117
Add devicetree binding document for TMP117, a digital temperature sensor.
Signed-off-by: Puranjay Mohan <puranjay12@...il.com>
---
.../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@...il.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
Powered by blists - more mailing lists