]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: mcp9600: Add support for thermocouple-type
authorBen Collins <bcollins@watter.com>
Fri, 22 Aug 2025 13:23:54 +0000 (09:23 -0400)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 25 Aug 2025 09:36:16 +0000 (10:36 +0100)
commit46809b9f43b406b7a13c091275e56e611d4e5de4
treecc6425f00a7cae35ee02cac6415258b885f4c04b
parent5efd60c974a2c2647a2ce87fb2e396011274cfed
iio: mcp9600: Add support for thermocouple-type

dt-bindings documentation for this driver claims to support
thermocouple-type, but the driver does not actually make use of
the property.

Implement usage of the property to configure the chip for the
selected thermocouple-type.

Signed-off-by: Ben Collins <bcollins@watter.com>
Reviewed-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/20250822-upstream-changes-v8-5-40bb1739e3e2@watter.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/temperature/mcp9600.c