Pull hwmon updates from Guenter Roeck: "New drivers: - driver for Sophgo SG2042 external hardware monitor - thermal sensor driver for Surface Aggregator Module Added support to existing drivers: - oxp-sensors: Support for multiple new devices. - nct6775: Added G15CF to ASUS WMI monitoring list Modernizations: - driver cleanup and update to use with_info API: ina2xx, lm92, lm95234, max1619, max1668, and max6697. API updates: - removed unused devm_hwmon_device_unregister() API function Other notable changes - implement and use generic bus access delay for pmbus drivers - use with scoped for each OF child loop in several drivers - module unloading fixes for gsc-hwmon and ntc_thermistor drivers - converted various drivers to use multi-byte regmap operations - adt7475: Improved devicetree based configuration - ltc2947: Move to firmware agnostic API - ltc2978: Converted devicetree description to yaml - max16065: Addressed overflows when writing limit attributes Various other minor cleanups, fixes and improvements" * tag 'hwmon-for-v6.12' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging: (96 commits) hwmon: Remove devm_hwmon_device_unregister() API function hwmon: (sch5636) Print unknown ID in error string via %*pE hwmon: (sht21) Use %*ph to print small buffer hwmon: (pmbus/mpq7932) Constify struct regulator_desc hwmon: pmbus: pli12096bc: Add write delay hwmon: pmbus: zl6100: Use generic code hwmon: pmbus: ucd9000: Use generic code hwmon: pmbus: max15301: Use generic code hwmon: pmbus: Implement generic bus access delay hwmon: (ina2xx) Use shunt voltage to calculate current hwmon: (ina2xx) Add support for current limits hwmon: (ina2xx) Pass register to alert limit write functions hwmon: (ina2xx) Convert to use with_info hwmon API hwmon: (ina2xx) Move ina2xx_get_value() hwmon: (ina2xx) Set alert latch hwmon: (ina2xx) Consolidate chip initialization code hwmon: (ina2xx) Fix various overflow issues hwmon: (ina2xx) Re-initialize chip using regmap functions hwmon: (ina2xx) Use local regmap pointer if used more than once hwmon: (ina2xx) Mark regmap_config as const ...
Showing the changes to include/linux/platform_data (1 of 65 files). Show all
Unified · Split
| @@ -1,33 +0,0 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
| 2 | /* | ||
| 3 | * max6697.h | ||
| 4 | * Copyright (c) 2012 Guenter Roeck <linux@roeck-us.net> | ||
| 5 | */ | ||
| 6 | |||
| 7 | #ifndef MAX6697_H | ||
| 8 | #define MAX6697_H | ||
| 9 | |||
| 10 | #include <linux/types.h> | ||
| 11 | |||
| 12 | /* | ||
| 13 | * For all bit masks: | ||
| 14 | * bit 0: local temperature | ||
| 15 | * bit 1..7: remote temperatures | ||
| 16 | */ | ||
| 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 | ||
| 26 | */ | ||
| 27 | u8 ideality_mask; /* set bit to 0 to disable */ | ||
| 28 | u8 ideality_value; /* transistor ideality as per | ||
| 29 | * MAX6581 datasheet | ||
| 30 | */ | ||
| 31 | }; | ||
| 32 | |||
| 33 | #endif /* MAX6697_H */ | ||