[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190307103409.24174-2-patrick.havelange@essensium.com>
Date: Thu, 7 Mar 2019 11:34:07 +0100
From: Patrick Havelange <patrick.havelange@...ensium.com>
To: Jonathan Cameron <jic23@...nel.org>,
Hartmut Knaack <knaack.h@....de>,
Lars-Peter Clausen <lars@...afoo.de>,
Peter Meerwald-Stadler <pmeerw@...erw.net>,
Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Matt Weber <matthew.weber@...kwellcollins.com>,
Paresh Chaudhary <paresh.chaudhary@...kwellcollins.com>,
linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org
Cc: Patrick Havelange <patrick.havelange@...ensium.com>
Subject: [PATCH v6 2/4] dt-bindings: iio/temperature: Add doc for thermocouple-type
This explains the new generic property "thermocouple-type" that
can be used with temperature sensors.
Signed-off-by: Patrick Havelange <patrick.havelange@...ensium.com>
---
Changes v6
- Add this file
---
.../bindings/iio/temperature/temperature-bindings.txt | 11 +++++++++++
1 file changed, 11 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iio/temperature/temperature-bindings.txt
diff --git a/Documentation/devicetree/bindings/iio/temperature/temperature-bindings.txt b/Documentation/devicetree/bindings/iio/temperature/temperature-bindings.txt
new file mode 100644
index 000000000000..69a6441d8083
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/temperature/temperature-bindings.txt
@@ -0,0 +1,11 @@
+If the temperature sensor device can be configured to use some specific
+thermocouple type, you can use the defined types provided in the file
+"include/dt-bindings/iio/temperature/thermocouple.h".
+
+Optional property:
+thermocouple-type: The type of the thermocouple used by the device.
+
+For example:
+ device {
+ thermocouple-type = <THERMOCOUPLE_TYPE_K> ;
+ };
--
2.19.1
Powered by blists - more mailing lists