[PATCH v4] hwmon: Driver for Maxim MAX6697 and compatibles

Jean Delvare khali at linux-fr.org
Wed Jan 16 19:53:31 EST 2013


On Tue, 15 Jan 2013 14:36:27 -0800, Guenter Roeck wrote:
> Add support for MAX6581, MAX6602, MAX6622, MAX6636, MAX6689, MAX6693,
> MAX6694, MAX6697, MAX6698, and MAX6699 temperature sensors
> 
> Signed-off-by: Guenter Roeck <linux at roeck-us.net>
> ---
> (...)
> v4:
> - s/beta/Beta at beginning of sentence in device tree description file
> - Optimize temperature calculation in show_temp_input
> - Accept temperatures up to 255 degrees C (191 degrees C in extended
>   temperature mode) for MAX6581
> - Define reg as int in max6697_init_chip to be able to catch error cases
> - Optimize assignment to data->temp_offset in max6697_init_chip
> - smbus->SMBus in platform_data/max6697.h
> 
>  Documentation/devicetree/bindings/i2c/max6697.txt |   64 ++
>  Documentation/hwmon/max6697                       |   58 ++
>  drivers/hwmon/Kconfig                             |   11 +
>  drivers/hwmon/Makefile                            |    1 +
>  drivers/hwmon/max6697.c                           |  726 +++++++++++++++++++++
>  include/linux/platform_data/max6697.h             |   36 +
>  6 files changed, 896 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/i2c/max6697.txt
>  create mode 100644 Documentation/hwmon/max6697
>  create mode 100644 drivers/hwmon/max6697.c
>  create mode 100644 include/linux/platform_data/max6697.h

Reviewed-by: Jean Delvare <khali at linux-fr.org>

Please update lm-sensors' wiki to mention this driver.

-- 
Jean Delvare


More information about the devicetree-discuss mailing list