Add PEC support for MAX31827 by inspiring from lm90.c driver, hence creating "pec" file and attaching it to the i2c device. Add debugfs support for MAX31827 by creating max31827 directory in /sys/kernel/debug/ folder that includes debugfs files specific for configuration bits in the configuration register that one may want to use in order to configure the chip in a specific way. Radu Sabau (2): drivers: hwmon: max31827: Add PEC support drivers: hwmon: max31827: Add debugfs support Documentation/hwmon/max31827.rst | 38 +++- drivers/hwmon/max31827.c | 297 +++++++++++++++++++++++++++++-- 2 files changed, 317 insertions(+), 18 deletions(-) -- 2.34.1