* max6697.h
* Copyright (c) 2012 Guenter Roeck <linux@roeck-us.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#ifndef MAX6697_H
#define MAX6697_H
#include <linux/types.h>
* For all bit masks:
* bit 0: local temperature
* bit 1..7: remote temperatures
*/
struct max6697_platform_data {
bool smbus_timeout_disable;
bool extended_range_enable;
bool beta_compensation;
u8 alert_mask;
u8 over_temperature_mask;
u8 resistance_cancellation;
* bit mask for MAX6581,
* boolean for other chips
*/
u8 ideality_mask;
u8 ideality_value;
* MAX6581 datasheet
*/
};
#endif