diff options
author | Matt Ranostay <mranostay@gmail.com> | 2016-07-05 03:54:04 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-07-10 15:44:03 +0200 |
commit | 1f25ca11d84a3aa01b2b12a419a1385c2f5513bc (patch) | |
tree | ddbe91373f5aa5f96e799851d3e79d307a1039b4 /Documentation/devicetree/bindings/iio/temperature/maxim_thermocouple.txt | |
parent | drivers:iio:accel:mma8452: removed unwanted return statements (diff) | |
download | linux-1f25ca11d84a3aa01b2b12a419a1385c2f5513bc.tar.xz linux-1f25ca11d84a3aa01b2b12a419a1385c2f5513bc.zip |
iio: temperature: add support for Maxim thermocouple chips
Add initial driver support for MAX6675, and MAX31855 thermocouple chips.
Cc: Marek Vasut <marex@denx.de>
Cc: Matt Porter <mporter@konsulko.com>
Signed-off-by: Matt Ranostay <mranostay@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/iio/temperature/maxim_thermocouple.txt')
-rw-r--r-- | Documentation/devicetree/bindings/iio/temperature/maxim_thermocouple.txt | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/temperature/maxim_thermocouple.txt b/Documentation/devicetree/bindings/iio/temperature/maxim_thermocouple.txt new file mode 100644 index 000000000000..28bc5c4d965b --- /dev/null +++ b/Documentation/devicetree/bindings/iio/temperature/maxim_thermocouple.txt @@ -0,0 +1,21 @@ +Maxim thermocouple support + +* https://datasheets.maximintegrated.com/en/ds/MAX6675.pdf +* https://datasheets.maximintegrated.com/en/ds/MAX31855.pdf + +Required properties: + + - compatible: must be "maxim,max31855" or "maxim,max6675" + - reg: SPI chip select number for the device + - spi-max-frequency: must be 4300000 + - spi-cpha: must be defined for max6675 to enable SPI mode 1 + + Refer to spi/spi-bus.txt for generic SPI slave bindings. + +Example: + + max31855@0 { + compatible = "maxim,max31855"; + reg = <0>; + spi-max-frequency = <4300000>; + }; |