1 /* SPDX-License-Identifier: GPL-2.0-only */
10 #include <linux/types.h>
14 * bit 0: local temperature
15 * bit 1..7: remote temperatures
17 struct max6697_platform_data {
18 bool smbus_timeout_disable; /* set to disable SMBus timeouts */
19 bool extended_range_enable; /* set to enable extended temp range */
20 bool beta_compensation; /* set to enable beta compensation */
21 u8 alert_mask; /* set bit to 1 to disable alert */
22 u8 over_temperature_mask; /* set bit to 1 to disable */
23 u8 resistance_cancellation; /* set bit to 0 to disable
24 * bit mask for MAX6581,
25 * boolean for other chips
27 u8 ideality_mask; /* set bit to 0 to disable */
28 u8 ideality_value; /* transistor ideality as per
33 #endif /* MAX6697_H */