From: Michael Shych <michaelsh@xxxxxxxxxx> Introduce EMC2305 RPM-based PWM Fan Speed Controller The EMC2305 is an SMBus compliant fan controller with up to five controlled PWM fan drivers. All fan drivers are controlled by a programmable frequency PWM driver and Fan Speed Control algorithm that operates as a directly PWM-controlled device. The closed-loop Fan Speed Control algorithm (FSC) has the capability to detect aging fans and alert the system. It will likewise detect stalled or locked fans and trigger an interrupt. EMC2305 offers a clock output so that multiple devices may be chained and slaved to the same clock source for optimal performance in large distributed systems. Patch set includes: Patch#1 - define platform data for EMC2305 driver. Patch#2 - add support for EMC2301/2/3/5 RPM-based PWM Fan Speed Controller. Patch#3 - add emc2305.rst into docs. Michael Shych (3): platform_data/emc2305: define platform data for EMC2305 driver hwmon: (emc2305) add support for EMC2301/2/3/5 RPM-based PWM Fan Speed Controller. docs: hwmon: add emc2305.rst to docs --- v4->v5 - Remove former patch#2 from the series. This patch provided a basic description of emc2305 driver device tree binding. - Add patch#1 to the patchset. This patch introduces a platform data structure for EM2305 driver to allow configuration device PWMs and thermal zones by passing required platform data to the driver. - Renumber: current patch#2 was patch#1 in the previous patchset version. Documentation/hwmon/emc2305.rst | 40 +++ Documentation/hwmon/index.rst | 1 + drivers/hwmon/Kconfig | 13 + drivers/hwmon/Makefile | 1 + drivers/hwmon/emc2305.c | 624 ++++++++++++++++++++++++++++++++++ include/linux/platform_data/emc2305.h | 22 ++ 6 files changed, 701 insertions(+) create mode 100644 Documentation/hwmon/emc2305.rst create mode 100644 drivers/hwmon/emc2305.c create mode 100644 include/linux/platform_data/emc2305.h -- 2.14.1