Skip to content

Commit

Permalink
hwmon: Driver for MAX31730
Browse files Browse the repository at this point in the history
MAX31730 is a 3-Channel Remote Temperature Sensor.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
  • Loading branch information
Guenter Roeck committed Jan 23, 2020
1 parent 002c6b5 commit d21ed22
Show file tree
Hide file tree
Showing 5 changed files with 497 additions and 1 deletion.
1 change: 1 addition & 0 deletions Documentation/hwmon/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ Hardware Monitoring Kernel Drivers
max197
max20751
max31722
max31730
max31785
max31790
max34440
Expand Down
44 changes: 44 additions & 0 deletions Documentation/hwmon/max31730.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
Kernel driver max31790
======================

Supported chips:

* Maxim MAX31730

Prefix: 'max31730'

Addresses scanned: 0x1c, 0x1d, 0x1e, 0x1f, 0x4c, 0x4d, 0x4e, 0x4f

Datasheet: https://datasheets.maximintegrated.com/en/ds/MAX31730.pdf

Author: Guenter Roeck <linux@roeck-us.net>


Description
-----------

This driver implements support for Maxim MAX31730.

The MAX31730 temperature sensor monitors its own temperature and the
temperatures of three external diode-connected transistors. The operating
supply voltage is from 3.0V to 3.6V. Resistance cancellation compensates
for high series resistance in circuit-board traces and the external thermal
diode, while beta compensation corrects for temperature-measurement
errors due to low-beta sensing transistors.


Sysfs entries
-------------

=================== == =======================================================
temp[1-4]_enable RW Temperature enable/disable
Set to 0 to enable channel, 0 to disable
temp[1-4]_input RO Temperature input
temp[2-4]_fault RO Fault indicator for remote channels
temp[1-4]_max RW Maximum temperature
temp[1-4]_max_alarm RW Maximum temperature alarm
temp[1-4]_min RW Minimum temperature. Common for all channels.
Only temp1_min is writeable.
temp[1-4]_min_alarm RO Minimum temperature alarm
temp[2-4]_offset RW Temperature offset for remote channels
=================== == =======================================================
12 changes: 11 additions & 1 deletion drivers/hwmon/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -889,7 +889,7 @@ config SENSORS_MAX197
will be called max197.

config SENSORS_MAX31722
tristate "MAX31722 temperature sensor"
tristate "MAX31722 temperature sensor"
depends on SPI
help
Support for the Maxim Integrated MAX31722/MAX31723 digital
Expand All @@ -898,6 +898,16 @@ tristate "MAX31722 temperature sensor"
This driver can also be built as a module. If so, the module
will be called max31722.

config SENSORS_MAX31730
tristate "MAX31730 temperature sensor"
depends on I2C
help
Support for the Maxim Integrated MAX31730 3-Channel Remote
Temperature Sensor.

This driver can also be built as a module. If so, the module
will be called max31730.

config SENSORS_MAX6621
tristate "Maxim MAX6621 sensor chip"
depends on I2C
Expand Down
1 change: 1 addition & 0 deletions drivers/hwmon/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ obj-$(CONFIG_SENSORS_MAX1619) += max1619.o
obj-$(CONFIG_SENSORS_MAX1668) += max1668.o
obj-$(CONFIG_SENSORS_MAX197) += max197.o
obj-$(CONFIG_SENSORS_MAX31722) += max31722.o
obj-$(CONFIG_SENSORS_MAX31730) += max31730.o
obj-$(CONFIG_SENSORS_MAX6621) += max6621.o
obj-$(CONFIG_SENSORS_MAX6639) += max6639.o
obj-$(CONFIG_SENSORS_MAX6642) += max6642.o
Expand Down
Loading

0 comments on commit d21ed22

Please sign in to comment.