瀏覽代碼

iio: temperature: maxim_thermocouple: add MAX31856 part

MAX31856 is register equivalent to the MAX31855 but suppports J, N, R,
S, T, E and B type thermocouples in addition to K-type.

Data conversion for the various types happens transparently to the driver
via probe type detection, and a LUT on the sensor.

Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Matt Ranostay 8 年之前
父節點
當前提交
535fba29b3
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/iio/temperature/maxim_thermocouple.c

+ 1 - 0
drivers/iio/temperature/maxim_thermocouple.c

@@ -267,6 +267,7 @@ static int maxim_thermocouple_remove(struct spi_device *spi)
 static const struct spi_device_id maxim_thermocouple_id[] = {
 	{"max6675", MAX6675},
 	{"max31855", MAX31855},
+	{"max31856", MAX31855},
 	{},
 };
 MODULE_DEVICE_TABLE(spi, maxim_thermocouple_id);