Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Matt Ranostay and committed by
Jonathan Cameron
535fba29 6c76ed31

+1
+1
drivers/iio/temperature/maxim_thermocouple.c
··· 267 267 static const struct spi_device_id maxim_thermocouple_id[] = { 268 268 {"max6675", MAX6675}, 269 269 {"max31855", MAX31855}, 270 + {"max31856", MAX31855}, 270 271 {}, 271 272 }; 272 273 MODULE_DEVICE_TABLE(spi, maxim_thermocouple_id);