mbox series

[0/2] Update MAX31827 driver

Message ID 20240522123923.22320-1-radu.sabau@analog.com (mailing list archive)
Headers show
Series Update MAX31827 driver | expand

Message

Radu Sabau May 22, 2024, 12:39 p.m. UTC
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(-)