max664x: New driver for Maxim
PATCH 2/2 max664x: New driver for Maxim
The MAX6647 hardware monitor is used on the Solarflare 10GBASE-T reference design. The 6646 and 6649 are nearly identical to it.
This new-style driver is configurable using platform_data and provides functions to poll sensor values, similarly to the modified lm87 driver.
Signed-off-by Ben Hutchings <[email protected]>
--- drivers/hwmon/Kconfig | 10 ++ drivers/hwmon/Makefile | 1 + drivers/hwmon/max664x.c | 353 +++++++++++++++++++++++++++++++++++++++++++++++ include/linux/max664x.h | 97 +++++++++++++ 4 files changed, 461 insertions(+), 0 deletions(-) create mode 100644 drivers/hwmon/max664x.c create mode 100644 include/linux/max664x.h
drivers/hwmon/Kconfig +10 -0
@@ -512,6 +512,16 @@ config SENSORS_MAX1619 This driver can also be built as a module. If so, the module will be called max1619. +config SENSORS_MAX664X + tristate "Maxim MAX6646/6647/6649 sensor chips" + depends on I2C + help + If you say yes here you get support for MAX6646/6647/6649 + sensor chips. + + This driver can also be built as a module. If so, the module + will be called max664x. + config SENSORS_MAX6650 tristate "Maxim MAX6650 sensor chip" depends on I2C && EXPERIMENTAL
drivers/hwmon/Makefile +1 -0
@@ -58,6 +58,7 @@ obj-$(CONFIG_SENSORS_LM90) += lm90.o obj-$(CONFIG_SENSORS_LM92) += lm92.o obj-$(CONFIG_SENSORS_LM93) += lm93.o obj-$(CONFIG_SENSORS_MAX1619) += max1619.o +obj-$(CONFIG_SENSORS_MAX664X) += max664x.o obj-$(CONFIG_SENSORS_MAX6650) += max6650.o obj-$(CONFIG_SENSORS_PC87360) += pc87360.o obj-$(CONFIG_SENSORS_PC87427) += pc87427.o
drivers/hwmon/max664x.c new file +342 -0
342 lines not on this page · raw message
include/linux/max664x.h new file +97 -0
97 lines not on this page · raw message
Signature · 7 lines
Ben Hutchings, Senior Software Engineer, Solarflare Communications Not speaking for my employer; that's the marketing department's job. _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors