[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1438635410-3757-2-git-send-email-mporter@konsulko.com>
Date: Mon, 3 Aug 2015 16:56:48 -0400
From: Matt Porter <mporter@...sulko.com>
To: Linux IIO List <linux-iio@...r.kernel.org>,
Devicetree List <devicetree@...r.kernel.org>
Cc: Jonathan Cameron <jic23@...nel.org>,
Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: [PATCH 1/3] iio: temperature: add max6675 dt binding
Add a DT binding for the MAX6675 SPI thermocouple converter.
The datasheet for this device may be found at
http://datasheets.maximintegrated.com/en/ds/MAX6675.pdf
Signed-off-by: Matt Porter <mporter@...sulko.com>
---
.../devicetree/bindings/iio/temperature/max6675.txt | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iio/temperature/max6675.txt
diff --git a/Documentation/devicetree/bindings/iio/temperature/max6675.txt b/Documentation/devicetree/bindings/iio/temperature/max6675.txt
new file mode 100644
index 0000000..4e643e9
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/temperature/max6675.txt
@@ -0,0 +1,19 @@
+Maxim MAX6675 thermocouple converter
+
+Required properties:
+
+ - compatible: must be "maxim,max6675"
+ - reg: SPI chip select number for the device
+ - spi-max-frequency: must be 4300000
+ - spi-cpha: SPI Mode 1.
+
+ Refer to spi/spi-bus.txt for generic SPI slave bindings
+
+Example:
+
+ max6675@0 {
+ compatible = "maxim,max6675";
+ reg = <0>;
+ spi-max-frequency = <4300000>;
+ spi-cpha;
+ };
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists