hwmon: (nct7802) Make temperature/voltage sensors configurable
authorOskar Senft <osk@google.com>
Wed, 20 Oct 2021 16:42:13 +0000 (12:42 -0400)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 27 Oct 2021 17:42:49 +0000 (10:42 -0700)
commit0e346a86a51debe23755dae3b89957c1ba8ffbfd
treea66694eb18ea83f7bc578bed08cef6e4a140be0c
parent1bfaa49abf077864f11a8f3ae03d1a02550b95b7
hwmon: (nct7802) Make temperature/voltage sensors configurable

This change allows LTD and RTD inputs to be configured via
device tree bindings. If the DT bindings are not present or
invalid, the input configuration is not modified and left at
HW defaults.

Signed-off-by: Oskar Senft <osk@google.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20211020164213.174597-2-osk@google.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/nct7802.c