hwmon: (max1111) Add support for MAX1110, MAX1112, and MAX1113
Guenter Roeck
maintainerPATCH v3 1/1 hwmon: (max1111) Add support for MAX1110, MAX1112, and MAX1113
MAX1110 is similar to MAX1111, with 8 instead of 4 channels. MAX1112 and MAX1113 are similar to MAX1110 and MAX1111, with 4.096V reference voltage instead of 2.048V.
---
v3: Use to_spi_device(dev)->modalias to get device name in show_name function
v2: Review feedback
Kconfig: MAX1112 -> MAX1110
mmax1110 -> max1110
Remove unused variables
Use unique error messages
Remove unnecessary label
drivers/hwmon/Kconfig | 5 ++-- drivers/hwmon/max1111.c | 74 ++++++++++++++++++++++++++++++++++++++++++----- 2 files changed, 70 insertions(+), 9 deletions(-)
drivers/hwmon/Kconfig +3 -2
@@ -770,10 +770,11 @@ config SENSORS_LM95245 will be called lm95245. config SENSORS_MAX1111 - tristate "Maxim MAX1111 Multichannel, Serial 8-bit ADC chip" + tristate "Maxim MAX1111 Serial 8-bit ADC chip and compatibles" depends on SPI_MASTER help - Say y here to support Maxim's MAX1111 ADC chips. + Say y here to support Maxim's MAX1110, MAX1111, MAX1112, and MAX1113 + ADC chips. This driver can also be built as a module. If so, the module will be called max1111.
drivers/hwmon/max1111.c +67 -7
172 lines not on this page · raw message
Signature · 7 lines
1.7.9.7 _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 15 lines · Guenter Roeck
MAX1110 is similar to MAX1111, with 8 instead of 4 channels. MAX1112 and MAX1113 are similar to MAX1110 and MAX1111, with 4.096V reference voltage instead of 2.048V.
Signed-off-by Guenter Roeck <[email protected]>---
v3: Use to_spi_device(dev)->modalias to get device name inshow_namefunctionv2: Review feedback
Kconfig: MAX1112 -> MAX1110
mmax1110 -> max1110
Remove unused variables
Use unique error messages
Remove unnecessary label
Quoted 4 lines
drivers/hwmon/Kconfig | 5 ++-- drivers/hwmon/max1111.c | 74 ++++++++++++++++++++++++++++++++++++++++++----- 2 files changed, 70 insertions(+), 9 deletions(-)(...)
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors